From 92c088b3f260cf2dc3888e92049259c17d6f6950 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 11 Aug 2024 23:58:54 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- src/libs/GitHub/Generated/AnyOf.5.g.cs | 288 + ...sClient.ActionsCreateWorkflowDispatch.g.cs | 10 +- ...Client.ActionsDeleteActionsCacheByKey.g.cs | 6 +- ....ActionsClient.ActionsDisableWorkflow.g.cs | 6 +- ...b.ActionsClient.ActionsEnableWorkflow.g.cs | 6 +- ...ionsClient.ActionsGetActionsCacheList.g.cs | 24 +- ...tHub.ActionsClient.ActionsGetWorkflow.g.cs | 6 +- ...ActionsClient.ActionsGetWorkflowUsage.g.cs | 6 +- ...onsClient.ActionsListArtifactsForRepo.g.cs | 6 +- ...sClient.ActionsListJobsForWorkflowRun.g.cs | 6 +- ...nt.ActionsListSelfHostedRunnersForOrg.g.cs | 6 +- ...t.ActionsListSelfHostedRunnersForRepo.g.cs | 6 +- ...lient.ActionsListWorkflowRunArtifacts.g.cs | 6 +- ...ActionsClient.ActionsListWorkflowRuns.g.cs | 36 +- ...Client.ActionsListWorkflowRunsForRepo.g.cs | 30 +- ...Client.ActionsReviewCustomGatesForRun.g.cs | 10 +- ....ActionsSetAllowedActionsOrganization.g.cs | 2 +- ...nt.ActionsSetAllowedActionsRepository.g.cs | 2 +- ...t.ActionsSetCustomOidcSubClaimForRepo.g.cs | 2 +- ...ient.ActionsUpdateEnvironmentVariable.g.cs | 2 +- ...ctionsClient.ActionsUpdateOrgVariable.g.cs | 2 +- ...tionsClient.ActionsUpdateRepoVariable.g.cs | 2 +- ...tyListReposStarredByAuthenticatedUser.g.cs | 12 +- ...Client.ActivityListReposStarredByUser.g.cs | 14 +- ...yClient.ActivityListStargazersForRepo.g.cs | 2 +- ...tivityClient.ActivityMarkThreadAsRead.g.cs | 2 +- ...Hub.AppsClient.AppsCreateFromManifest.g.cs | 4 +- ...ent.AppsCreateInstallationAccessToken.g.cs | 2 +- ...itHub.AppsClient.AppsGetAuthenticated.g.cs | 2 +- .../GitHub.AppsClient.AppsGetBySlug.g.cs | 2 +- ...ub.AppsClient.AppsListAccountsForPlan.g.cs | 12 +- ...Client.AppsListAccountsForPlanStubbed.g.cs | 12 +- ...tHub.AppsClient.AppsListInstallations.g.cs | 6 +- ....AppsClient.AppsListWebhookDeliveries.g.cs | 6 +- ...psClient.AppsRedeliverWebhookDelivery.g.cs | 4 +- .../GitHub.AppsClient.AppsResetToken.g.cs | 2 +- .../GitHub.AppsClient.AppsScopeToken.g.cs | 2 +- ...sClient.AppsUpdateWebhookConfigForApp.g.cs | 4 +- .../GitHub.ChecksClient.ChecksCreate.g.cs | 54 +- .../GitHub.ChecksClient.ChecksListForRef.g.cs | 18 +- ...itHub.ChecksClient.ChecksListForSuite.g.cs | 18 +- ...b.ChecksClient.ChecksListSuitesForRef.g.cs | 6 +- ...ecksClient.ChecksSetSuitesPreferences.g.cs | 4 +- .../GitHub.ChecksClient.ChecksUpdate.g.cs | 50 +- ...ent.CodeScanningCreateVariantAnalysis.g.cs | 27 +- ...Client.CodeScanningListAlertInstances.g.cs | 6 +- ...ngClient.CodeScanningListAlertsForOrg.g.cs | 42 +- ...gClient.CodeScanningListAlertsForRepo.g.cs | 36 +- ...Client.CodeScanningListRecentAnalyses.g.cs | 30 +- ...canningClient.CodeScanningUpdateAlert.g.cs | 2 +- ...Client.CodeScanningUpdateDefaultSetup.g.cs | 4 +- ...lient.CodeSecurityAttachConfiguration.g.cs | 6 +- ...t.CodeSecurityGetConfigurationsForOrg.g.cs | 18 +- ....CodeSecurityGetDefaultConfigurations.g.cs | 4 +- ...curityGetRepositoriesForConfiguration.g.cs | 18 +- ...lient.CodeSecurityUpdateConfiguration.g.cs | 2 +- ....CodespacesCreateForAuthenticatedUser.g.cs | 72 +- ...ateOrUpdateSecretForAuthenticatedUser.g.cs | 2 +- ....CodespacesDeleteForAuthenticatedUser.g.cs | 4 +- ...ient.CodespacesDeleteFromOrganization.g.cs | 4 +- ...PreFlightWithRepoForAuthenticatedUser.g.cs | 12 +- ...pacesRepoMachinesForAuthenticatedUser.g.cs | 18 +- ...sClient.CodespacesSetCodespacesAccess.g.cs | 2 +- ....CodespacesUpdateForAuthenticatedUser.g.cs | 4 +- ...ient.CopilotUsageMetricsForEnterprise.g.cs | 12 +- ....CopilotUsageMetricsForEnterpriseTeam.g.cs | 12 +- ...pilotClient.CopilotUsageMetricsForOrg.g.cs | 12 +- ...ent.DependabotCreateOrUpdateOrgSecret.g.cs | 2 +- ...ent.DependabotListAlertsForEnterprise.g.cs | 54 +- ...abotClient.DependabotListAlertsForOrg.g.cs | 54 +- ...botClient.DependabotListAlertsForRepo.g.cs | 60 +- ...ependabotClient.DependabotUpdateAlert.g.cs | 2 +- ...pendencyGraphCreateRepositorySnapshot.g.cs | 2 +- ...yGraphClient.DependencyGraphDiffRange.g.cs | 10 +- .../GitHub.EmojisClient.EmojisGet.g.cs | 4 +- ...itHub.GistsClient.GistsCheckIsStarred.g.cs | 4 +- .../GitHub.GistsClient.GistsCreate.g.cs | 2 +- .../GitHub.GistsClient.GistsUpdate.g.cs | 4 +- ...GitHub.GistsClient.GistsUpdateComment.g.cs | 2 +- .../GitHub.GitClient.GitCreateCommit.g.cs | 2 +- .../GitHub.GitClient.GitCreateTree.g.cs | 2 +- .../GitHub.GitClient.GitGetTree.g.cs | 6 +- .../GitHub.GitClient.GitUpdateRef.g.cs | 2 +- ...nsGetRestrictionsForAuthenticatedUser.g.cs | 4 +- ...ent.InteractionsGetRestrictionsForOrg.g.cs | 4 +- ...nt.InteractionsGetRestrictionsForRepo.g.cs | 4 +- ...itHub.IssuesClient.IssuesAddAssignees.g.cs | 2 +- .../GitHub.IssuesClient.IssuesAddLabels.g.cs | 17 +- .../GitHub.IssuesClient.IssuesCreate.g.cs | 6 +- .../GitHub.IssuesClient.IssuesList.g.cs | 30 +- ...ssuesClient.IssuesListCommentsForRepo.g.cs | 12 +- ...Client.IssuesListForAuthenticatedUser.g.cs | 30 +- .../GitHub.IssuesClient.IssuesListForOrg.g.cs | 30 +- ...GitHub.IssuesClient.IssuesListForRepo.g.cs | 48 +- ...Hub.IssuesClient.IssuesListMilestones.g.cs | 18 +- ...ub.IssuesClient.IssuesRemoveAssignees.g.cs | 2 +- .../GitHub.IssuesClient.IssuesSetLabels.g.cs | 17 +- .../GitHub.IssuesClient.IssuesUpdate.g.cs | 6 +- ...tHub.IssuesClient.IssuesUpdateComment.g.cs | 2 +- ...GitHub.IssuesClient.IssuesUpdateLabel.g.cs | 2 +- ...ub.IssuesClient.IssuesUpdateMilestone.g.cs | 2 +- ...Hub.LicensesClient.LicensesGetForRepo.g.cs | 6 +- ...tHub.MarkdownClient.MarkdownRenderRaw.g.cs | 18 - .../GitHub.MetaClient.MetaGetOctocat.g.cs | 6 +- ...grationsGetStatusForAuthenticatedUser.g.cs | 8 +- ...tionsClient.MigrationsGetStatusForOrg.g.cs | 8 +- ...MigrationsClient.MigrationsListForOrg.g.cs | 8 +- ...tionsClient.MigrationsMapCommitAuthor.g.cs | 2 +- ...ionsClient.MigrationsSetLfsPreference.g.cs | 2 +- ...t.MigrationsStartForAuthenticatedUser.g.cs | 2 +- ...igrationsClient.MigrationsStartForOrg.g.cs | 2 +- ...grationsClient.MigrationsUpdateImport.g.cs | 2 +- .../GitHub.Models.ActionsCacheList.g.cs | 2 +- ...b.Models.ActionsCacheListActionsCache.g.cs | 59 + ....Models.ActionsCacheListActionsCaches.g.cs | 59 - ....ActionsCreateWorkflowDispatchRequest.g.cs | 2 +- ...nsCreateWorkflowDispatchRequestInputs.g.cs | 18 + ...nsSetCustomOidcSubClaimForRepoRequest.g.cs | 2 +- .../Generated/GitHub.Models.ApiOverview.g.cs | 26 +- .../GitHub.Models.ApiOverviewDomains.g.cs | 10 +- ...odels.AppsCreateFromManifestResponse2.g.cs | 45 + ...ppsCreateFromManifestResponseVariant2.g.cs | 45 - ...sCreateInstallationAccessTokenRequest.g.cs | 2 +- .../GitHub.Models.AppsScopeTokenRequest.g.cs | 2 +- ....AppsUpdateWebhookConfigForAppRequest.g.cs | 6 +- .../GitHub.Models.AuthenticationToken.g.cs | 2 +- ...Models.AuthenticationTokenPermissions.g.cs | 18 + .../Generated/GitHub.Models.BaseGist.g.cs | 6 +- .../GitHub.Models.BaseGistFiles.g.cs | 18 + .../Generated/GitHub.Models.BaseGistFork.g.cs | 18 + .../GitHub.Models.BaseGistHistoryItem.g.cs | 18 + ...GitHub.Models.BranchRestrictionPolicy.g.cs | 6 +- ...Hub.Models.BranchRestrictionPolicyApp.g.cs | 89 + ...odels.BranchRestrictionPolicyAppOwner.g.cs | 155 + ...BranchRestrictionPolicyAppPermissions.g.cs | 41 + ...ub.Models.BranchRestrictionPolicyApps.g.cs | 89 - ...dels.BranchRestrictionPolicyAppsOwner.g.cs | 155 - ...ranchRestrictionPolicyAppsPermissions.g.cs | 41 - ...ub.Models.BranchRestrictionPolicyTeam.g.cs | 95 + ...b.Models.BranchRestrictionPolicyTeams.g.cs | 95 - ...ub.Models.BranchRestrictionPolicyUser.g.cs | 125 + ...b.Models.BranchRestrictionPolicyUsers.g.cs | 125 - ...odels.CheckSuitePreferencePreferences.g.cs | 2 +- ...PreferencePreferencesAutoTriggerCheck.g.cs | 31 + ...referencePreferencesAutoTriggerChecks.g.cs | 31 - .../GitHub.Models.ChecksCreateRequest.g.cs | 83 + ...tHub.Models.ChecksCreateRequestAction.g.cs | 38 + ....Models.ChecksCreateRequestConclusion.g.cs | 88 + ...tHub.Models.ChecksCreateRequestOutput.g.cs | 49 + ...s.ChecksCreateRequestOutputAnnotation.g.cs | 77 + ...equestOutputAnnotationAnnotationLevel.g.cs | 57 + ...Models.ChecksCreateRequestOutputImage.g.cs | 37 + ...tHub.Models.ChecksCreateRequestStatus.g.cs | 76 + ...ub.Models.ChecksCreateRequestVariant1.g.cs | 24 + ...els.ChecksCreateRequestVariant1Status.g.cs | 18 + ...ub.Models.ChecksCreateRequestVariant2.g.cs | 23 + ...els.ChecksCreateRequestVariant2Status.g.cs | 18 + ...els.ChecksSetSuitesPreferencesRequest.g.cs | 2 +- ...tesPreferencesRequestAutoTriggerCheck.g.cs | 32 + ...esPreferencesRequestAutoTriggerChecks.g.cs | 32 - .../GitHub.Models.ChecksUpdateRequest.g.cs | 74 + ...tHub.Models.ChecksUpdateRequestAction.g.cs | 38 + ....Models.ChecksUpdateRequestConclusion.g.cs | 88 + ...tHub.Models.ChecksUpdateRequestOutput.g.cs | 48 + ...s.ChecksUpdateRequestOutputAnnotation.g.cs | 77 + ...equestOutputAnnotationAnnotationLevel.g.cs | 57 + ...Models.ChecksUpdateRequestOutputImage.g.cs | 37 + ...tHub.Models.ChecksUpdateRequestStatus.g.cs | 75 + ...ub.Models.ChecksUpdateRequestVariant1.g.cs | 23 + ...els.ChecksUpdateRequestVariant1Status.g.cs | 18 + ...ub.Models.ChecksUpdateRequestVariant2.g.cs | 23 + ...els.ChecksUpdateRequestVariant2Status.g.cs | 18 + ...eScanningAlertInstanceClassifications.g.cs | 63 - .../GitHub.Models.CodeScanningAlertRule.g.cs | 2 +- ...b.Models.CodeScanningAlertRuleSummary.g.cs | 2 +- ...eScanningCreateVariantAnalysisRequest.g.cs | 50 + ...gCreateVariantAnalysisRequestVariant1.g.cs | 18 + ...gCreateVariantAnalysisRequestVariant2.g.cs | 18 + ...gCreateVariantAnalysisRequestVariant3.g.cs | 18 + ...itHub.Models.CodeScanningDefaultSetup.g.cs | 2 +- ...dels.CodeScanningDefaultSetupLanguage.g.cs | 99 + ...els.CodeScanningDefaultSetupLanguages.g.cs | 99 - ...Models.CodeScanningDefaultSetupUpdate.g.cs | 2 +- ...odeScanningDefaultSetupUpdateLanguage.g.cs | 87 + ...deScanningDefaultSetupUpdateLanguages.g.cs | 87 - ...dels.CodeScanningGetAnalysisResponse2.g.cs | 35 + ....CodeScanningListAlertsForOrgSeverity.g.cs | 81 - ...els.CodeScanningListAlertsForOrgState.g.cs | 63 - ...CodeScanningListAlertsForRepoSeverity.g.cs | 81 - ...ls.CodeScanningListAlertsForRepoState.g.cs | 63 - ...itHub.Models.CodeScanningSarifsStatus.g.cs | 2 +- ...ub.Models.CodeScanningVariantAnalysis.g.cs | 6 +- ...ningVariantAnalysisScannedRepositorie.g.cs | 50 + ...ingVariantAnalysisScannedRepositories.g.cs | 50 - ...ls.CodeScanningVariantAnalysisStatus2.g.cs | 63 + .../GitHub.Models.CodeSearchResultItem.g.cs | 4 +- ...odels.CodeSearchResultItemTextMatches.g.cs | 47 - ...odeSearchResultItemTextMatchesMatches.g.cs | 29 - ...dels.CodeSecurityDefaultConfiguration.g.cs | 29 + ...efaultConfigurationDefaultForNewRepos.g.cs | 18 + ...els.CodeSecurityDefaultConfigurations.g.cs | 29 - ...urityGetDefaultConfigurationsResponse.g.cs | 29 - .../GitHub.Models.CodeownersErrors.g.cs | 2 +- .../GitHub.Models.CodeownersErrorsError.g.cs | 73 + .../GitHub.Models.CodeownersErrorsErrors.g.cs | 73 - ...ub.Models.CodespaceRuntimeConstraints.g.cs | 2 +- ...eWithFullRepositoryRuntimeConstraints.g.cs | 2 +- ...dateSecretForAuthenticatedUserRequest.g.cs | 2 +- ...epositoryForAuthenticatedUserResponse.g.cs | 2 +- ...AuthenticatedUserResponseDevcontainer.g.cs | 36 + ...uthenticatedUserResponseDevcontainers.g.cs | 36 - ....CodespacesSetCodespacesAccessRequest.g.cs | 2 +- ...acesUpdateForAuthenticatedUserRequest.g.cs | 2 +- .../Generated/GitHub.Models.Commit.g.cs | 4 +- .../Generated/GitHub.Models.CommitCommit.g.cs | 65 - .../GitHub.Models.CommitCommit1.g.cs | 65 + .../GitHub.Models.CommitCommit1Tree.g.cs | 31 + .../GitHub.Models.CommitCommitTree.g.cs | 31 - .../Generated/GitHub.Models.CommitParent.g.cs | 37 + .../GitHub.Models.CommitParents.g.cs | 37 - .../GitHub.Models.CommitSearchResultItem.g.cs | 4 +- ...b.Models.CommitSearchResultItemParent.g.cs | 35 + ....Models.CommitSearchResultItemParents.g.cs | 35 - ...els.CommitSearchResultItemTextMatches.g.cs | 47 - ...mitSearchResultItemTextMatchesMatches.g.cs | 29 - .../GitHub.Models.ContentDirectory.g.cs | 94 - .../GitHub.Models.ContentDirectoryItem.g.cs | 94 + ...tHub.Models.ContentDirectoryItemLinks.g.cs | 38 + ...itHub.Models.ContentDirectoryItemType.g.cs | 63 + .../GitHub.Models.ContentDirectoryLinks.g.cs | 38 - .../GitHub.Models.ContentDirectoryType.g.cs | 63 - .../Generated/GitHub.Models.ContentTree.g.cs | 2 +- .../GitHub.Models.ContentTreeEntrie.g.cs | 93 + .../GitHub.Models.ContentTreeEntrieLinks.g.cs | 38 + .../GitHub.Models.ContentTreeEntries.g.cs | 93 - ...GitHub.Models.ContentTreeEntriesLinks.g.cs | 38 - .../GitHub.Models.ContributorActivity.g.cs | 2 +- ...GitHub.Models.ContributorActivityWeek.g.cs | 41 + ...itHub.Models.ContributorActivityWeeks.g.cs | 41 - .../GitHub.Models.CopilotSeatDetails.g.cs | 4 +- ...Hub.Models.CopilotSeatDetailsAssignee.g.cs | 18 - ...Models.CopilotSeatDetailsOrganization.g.cs | 18 - .../GitHub.Models.CopilotUsageMetrics.g.cs | 2 +- ...b.Models.CopilotUsageMetricsBreakdown.g.cs | 59 - ...dels.CopilotUsageMetricsBreakdownItem.g.cs | 59 + .../GitHub.Models.CustomPropertyValue.g.cs | 2 +- ...odels.DependabotAlertSecurityAdvisory.g.cs | 6 +- ...ls.DependabotAlertSecurityAdvisoryCwe.g.cs | 31 + ...s.DependabotAlertSecurityAdvisoryCwes.g.cs | 31 - ...ndabotAlertSecurityAdvisoryIdentifier.g.cs | 32 + ...otAlertSecurityAdvisoryIdentifierType.g.cs | 51 + ...dabotAlertSecurityAdvisoryIdentifiers.g.cs | 32 - ...tAlertSecurityAdvisoryIdentifiersType.g.cs | 51 - ...endabotAlertSecurityAdvisoryReference.g.cs | 24 + ...ndabotAlertSecurityAdvisoryReferences.g.cs | 24 - ...endabotCreateOrUpdateOrgSecretRequest.g.cs | 2 +- .../Generated/GitHub.Models.Dependency.g.cs | 2 +- .../GitHub.Models.DependencyGraphDiff.g.cs | 89 - ....Models.DependencyGraphDiffChangeType.g.cs | 51 - ...GitHub.Models.DependencyGraphDiffItem.g.cs | 89 + ...els.DependencyGraphDiffItemChangeType.g.cs | 51 + ...b.Models.DependencyGraphDiffItemScope.g.cs | 57 + ...DependencyGraphDiffItemVulnerabilitie.g.cs | 45 + ...dels.DependencyGraphDiffRangeResponse.g.cs | 89 - ...dencyGraphDiffRangeResponseChangeType.g.cs | 51 - ...DependencyGraphDiffRangeResponseScope.g.cs | 57 - ...GraphDiffRangeResponseVulnerabilities.g.cs | 45 - ...itHub.Models.DependencyGraphDiffScope.g.cs | 57 - ...ls.DependencyGraphDiffVulnerabilities.g.cs | 45 - ...ub.Models.DependencyGraphSpdxSbomSbom.g.cs | 2 +- ...ls.DependencyGraphSpdxSbomSbomPackage.g.cs | 90 + ...cyGraphSpdxSbomSbomPackageExternalRef.g.cs | 41 + ...s.DependencyGraphSpdxSbomSbomPackages.g.cs | 90 - ...GraphSpdxSbomSbomPackagesExternalRefs.g.cs | 41 - .../Generated/GitHub.Models.Deployment.g.cs | 2 +- .../GitHub.Models.DeploymentPayload.g.cs | 18 + .../Generated/GitHub.Models.Environment.g.cs | 2 +- .../GitHub.Models.EnvironmentApprovals.g.cs | 2 +- ...odels.EnvironmentApprovalsEnvironment.g.cs | 61 + ...dels.EnvironmentApprovalsEnvironments.g.cs | 61 - ...els.EnvironmentProtectionRuleVariant1.g.cs | 45 + ...els.EnvironmentProtectionRuleVariant2.g.cs | 51 + ...ronmentProtectionRuleVariant2Reviewer.g.cs | 34 + ...els.EnvironmentProtectionRuleVariant3.g.cs | 38 + .../Generated/GitHub.Models.EventPayload.g.cs | 2 +- .../GitHub.Models.EventPayloadPage.g.cs | 53 + .../GitHub.Models.EventPayloadPages.g.cs | 53 - .../GitHub/Generated/GitHub.Models.Feed.g.cs | 2 +- .../GitHub.Models.FileCommitCommit.g.cs | 2 +- .../GitHub.Models.FileCommitCommitParent.g.cs | 35 + ...GitHub.Models.FileCommitCommitParents.g.cs | 35 - .../GitHub.Models.FullRepository.g.cs | 4 +- ...Models.FullRepositoryCustomProperties.g.cs | 18 + .../Generated/GitHub.Models.GistSimple.g.cs | 4 +- .../GitHub.Models.GistSimpleFiles.g.cs | 18 + .../GitHub.Models.GistSimpleFork.g.cs | 47 + .../GitHub.Models.GistSimpleForkOf.g.cs | 6 +- .../GitHub.Models.GistSimpleForkOfFiles.g.cs | 18 + .../GitHub.Models.GistSimpleForkOfFork.g.cs | 18 + ...ub.Models.GistSimpleForkOfHistoryItem.g.cs | 18 + .../GitHub.Models.GistSimpleForks.g.cs | 47 - .../GitHub.Models.GistsCreateRequest.g.cs | 2 +- ...GitHub.Models.GistsCreateRequestFiles.g.cs | 18 + .../GitHub.Models.GistsUpdateRequest.g.cs | 2 +- ...GitHub.Models.GistsUpdateRequestFiles.g.cs | 21 + .../Generated/GitHub.Models.GitCommit.g.cs | 2 +- .../GitHub.Models.GitCommitParent.g.cs | 39 + .../GitHub.Models.GitCommitParents.g.cs | 39 - .../GitHub.Models.GitCreateCommitRequest.g.cs | 2 +- .../GitHub.Models.GitCreateTreeRequest.g.cs | 2 +- ...itHub.Models.GitCreateTreeRequestTree.g.cs | 53 - ...b.Models.GitCreateTreeRequestTreeItem.g.cs | 53 + ...dels.GitCreateTreeRequestTreeItemMode.g.cs | 69 + ...dels.GitCreateTreeRequestTreeItemType.g.cs | 57 + ...b.Models.GitCreateTreeRequestTreeMode.g.cs | 69 - ...b.Models.GitCreateTreeRequestTreeType.g.cs | 57 - .../Generated/GitHub.Models.GitTree.g.cs | 2 +- .../Generated/GitHub.Models.GitTreeTree.g.cs | 53 - .../GitHub.Models.GitTreeTreeItem.g.cs | 53 + .../GitHub.Models.GlobalAdvisory.g.cs | 6 +- .../GitHub.Models.GlobalAdvisoryCredit.g.cs | 32 + .../GitHub.Models.GlobalAdvisoryCredits.g.cs | 32 - .../GitHub.Models.GlobalAdvisoryCwe.g.cs | 31 + .../GitHub.Models.GlobalAdvisoryCwes.g.cs | 31 - ...itHub.Models.GlobalAdvisoryIdentifier.g.cs | 32 + ...b.Models.GlobalAdvisoryIdentifierType.g.cs | 51 + ...tHub.Models.GlobalAdvisoryIdentifiers.g.cs | 32 - ....Models.GlobalAdvisoryIdentifiersType.g.cs | 51 - .../Generated/GitHub.Models.GpgKey.g.cs | 4 +- .../Generated/GitHub.Models.GpgKeyEmail.g.cs | 29 + .../Generated/GitHub.Models.GpgKeyEmails.g.cs | 29 - .../Generated/GitHub.Models.GpgKeySubkey.g.cs | 101 + .../GitHub.Models.GpgKeySubkeyEmail.g.cs | 29 + .../GitHub.Models.GpgKeySubkeySubkey.g.cs | 18 + .../GitHub.Models.GpgKeySubkeys.g.cs | 101 - .../GitHub.Models.GpgKeySubkeysEmails.g.cs | 29 - .../GitHub.Models.HookDeliveryRequest.g.cs | 4 +- ...Hub.Models.HookDeliveryRequestHeaders.g.cs | 18 + ...Hub.Models.HookDeliveryRequestPayload.g.cs | 18 + .../GitHub.Models.HookDeliveryResponse.g.cs | 2 +- ...ub.Models.HookDeliveryResponseHeaders.g.cs | 18 + .../Generated/GitHub.Models.Hovercard.g.cs | 2 +- .../GitHub.Models.HovercardContext.g.cs | 31 + .../GitHub.Models.HovercardContexts.g.cs | 31 - .../Generated/GitHub.Models.Import.g.cs | 2 +- .../GitHub.Models.ImportProjectChoice.g.cs | 35 + .../GitHub.Models.ImportProjectChoices.g.cs | 35 - .../Generated/GitHub.Models.Installation.g.cs | 2 +- .../GitHub.Models.InstallationToken.g.cs | 2 +- ...rictionsForAuthenticatedUserResponse2.g.cs | 18 + ...actionsGetRestrictionsForOrgResponse2.g.cs | 18 + ...ctionsGetRestrictionsForRepoResponse2.g.cs | 18 + .../GitHub/Generated/GitHub.Models.Issue.g.cs | 2 +- .../Generated/GitHub.Models.IssueLabel.g.cs | 59 + .../GitHub.Models.IssueSearchResultItem.g.cs | 4 +- ...Hub.Models.IssueSearchResultItemLabel.g.cs | 59 + ...ub.Models.IssueSearchResultItemLabels.g.cs | 59 - ...dels.IssueSearchResultItemTextMatches.g.cs | 47 - ...sueSearchResultItemTextMatchesMatches.g.cs | 29 - ...tHub.Models.IssuesAddAssigneesRequest.g.cs | 2 +- ...Models.IssuesAddLabelsRequestVariant1.g.cs | 2 +- ...Models.IssuesAddLabelsRequestVariant3.g.cs | 2 +- ...s.IssuesAddLabelsRequestVariant3Label.g.cs | 24 + ....IssuesAddLabelsRequestVariant3Labels.g.cs | 24 - ...ls.IssuesAddLabelsRequestVariant4Item.g.cs | 24 + .../GitHub.Models.IssuesCreateRequest.g.cs | 6 +- ...itHub.Models.IssuesCreateRequestLabel.g.cs | 41 + ...b.Models.IssuesRemoveAssigneesRequest.g.cs | 2 +- ...Models.IssuesSetLabelsRequestVariant1.g.cs | 2 +- ...Models.IssuesSetLabelsRequestVariant3.g.cs | 2 +- ...s.IssuesSetLabelsRequestVariant3Label.g.cs | 24 + ....IssuesSetLabelsRequestVariant3Labels.g.cs | 24 - ...ls.IssuesSetLabelsRequestVariant4Item.g.cs | 24 + .../GitHub.Models.IssuesUpdateRequest.g.cs | 4 +- ...itHub.Models.IssuesUpdateRequestLabel.g.cs | 41 + .../GitHub/Generated/GitHub.Models.Job.g.cs | 2 +- .../Generated/GitHub.Models.JobStep.g.cs | 61 + .../GitHub.Models.JobStepStatus.g.cs | 58 + .../Generated/GitHub.Models.JobSteps.g.cs | 61 - .../GitHub.Models.JobStepsStatus.g.cs | 58 - .../GitHub.Models.LabelSearchResultItem.g.cs | 2 +- ...dels.LabelSearchResultItemTextMatches.g.cs | 47 - ...belSearchResultItemTextMatchesMatches.g.cs | 29 - .../Generated/GitHub.Models.Manifest.g.cs | 2 +- .../GitHub.Models.ManifestResolved.g.cs | 18 + .../GitHub.Models.MarketplacePurchase.g.cs | 2 +- ...arketplacePurchaseMarketplacePurchase.g.cs | 65 - ...rketplacePurchaseMarketplacePurchase1.g.cs | 65 + .../Generated/GitHub.Models.Migration.g.cs | 2 +- ...dels.MigrationsGetStatusForOrgExclude.g.cs | 45 - ....MigrationsGetStatusForOrgExcludeItem.g.cs | 46 + ...ub.Models.MigrationsListForOrgExclude.g.cs | 45 - ...odels.MigrationsListForOrgExcludeItem.g.cs | 46 + ...tionsStartForAuthenticatedUserRequest.g.cs | 2 +- ...artForAuthenticatedUserRequestExclude.g.cs | 46 - ...orAuthenticatedUserRequestExcludeItem.g.cs | 46 + ...b.Models.MigrationsStartForOrgRequest.g.cs | 2 +- ...s.MigrationsStartForOrgRequestExclude.g.cs | 45 - ...grationsStartForOrgRequestExcludeItem.g.cs | 45 + .../GitHub.Models.MinimalRepository.g.cs | 2 +- .../GitHub.Models.NullableIssue.g.cs | 2 +- .../GitHub.Models.NullableIssueLabel.g.cs | 59 + ...tHub.Models.NullableMinimalRepository.g.cs | 2 +- .../GitHub.Models.NullableRepository.g.cs | 2 +- ...Hub.Models.NullableRepositoryWebhooks.g.cs | 4 +- ...bleRepositoryWebhooksCustomProperties.g.cs | 18 + ...eRepositoryWebhooksTemplateRepository.g.cs | 2 +- ...Hub.Models.NullableScopedInstallation.g.cs | 2 +- .../GitHub.Models.OidcCustomSubRepo.g.cs | 2 +- .../GitHub.Models.OrgCustomProperty.g.cs | 4 +- .../GitHub.Models.OrgRulesetConditions.g.cs | 48 +- ...b.Models.OrgRulesetConditionsVariant1.g.cs | 18 - ...b.Models.OrgRulesetConditionsVariant2.g.cs | 18 - ...b.Models.OrgRulesetConditionsVariant3.g.cs | 18 - ...ionProgrammaticAccessGrantPermissions.g.cs | 6 +- ...ticAccessGrantPermissionsOrganization.g.cs | 18 + ...ogrammaticAccessGrantPermissionsOther.g.cs | 18 + ...maticAccessGrantPermissionsRepository.g.cs | 18 + ...rammaticAccessGrantRequestPermissions.g.cs | 6 +- ...ssGrantRequestPermissionsOrganization.g.cs | 18 + ...ticAccessGrantRequestPermissionsOther.g.cs | 18 + ...cessGrantRequestPermissionsRepository.g.cs | 18 + ...gsCreateOrUpdateCustomPropertyRequest.g.cs | 4 +- ...itHub.Models.OrgsCreateWebhookRequest.g.cs | 2 +- ...Models.OrgsCreateWebhookRequestConfig.g.cs | 6 +- ...leSecurityProductOnAllOrgReposRequest.g.cs | 25 + ...ProductOnAllOrgReposRequestQuerySuite.g.cs | 52 + ...b.Models.OrgsListAttestationsResponse.g.cs | 2 +- ...gsListAttestationsResponseAttestation.g.cs | 30 + ...AttestationsResponseAttestationBundle.g.cs | 36 + ...ResponseAttestationBundleDsseEnvelope.g.cs | 18 + ...AttestationBundleVerificationMaterial.g.cs | 18 + ...sListAttestationsResponseAttestations.g.cs | 30 - ...ttestationsResponseAttestationsBundle.g.cs | 36 - ....OrgsUpdateWebhookConfigForOrgRequest.g.cs | 6 +- ...itHub.Models.OrgsUpdateWebhookRequest.g.cs | 2 +- ...Models.OrgsUpdateWebhookRequestConfig.g.cs | 6 +- ...b.Models.PackageVersionMetadataDocker.g.cs | 2 +- .../GitHub.Models.PageDeployment.g.cs | 2 +- .../GitHub.Models.PendingDeployment.g.cs | 2 +- ...tHub.Models.PendingDeploymentReviewer.g.cs | 34 + ...Hub.Models.PendingDeploymentReviewers.g.cs | 34 - ...Hub.Models.PersonalAccessTokenRequest.g.cs | 2 +- ...nalAccessTokenRequestPermissionsAdded.g.cs | 6 +- ...enRequestPermissionsAddedOrganization.g.cs | 18 + ...cessTokenRequestPermissionsAddedOther.g.cs | 18 + ...okenRequestPermissionsAddedRepository.g.cs | 18 + ...alAccessTokenRequestPermissionsResult.g.cs | 6 +- ...nRequestPermissionsResultOrganization.g.cs | 18 + ...essTokenRequestPermissionsResultOther.g.cs | 18 + ...kenRequestPermissionsResultRepository.g.cs | 18 + ...AccessTokenRequestPermissionsUpgraded.g.cs | 6 +- ...equestPermissionsUpgradedOrganization.g.cs | 18 + ...sTokenRequestPermissionsUpgradedOther.g.cs | 18 + ...nRequestPermissionsUpgradedRepository.g.cs | 18 + ...PersonalAccessTokenRequestRepositorie.g.cs | 52 + ...ersonalAccessTokenRequestRepositories.g.cs | 52 - ...dels.PrivateVulnerabilityReportCreate.g.cs | 4 +- ...lnerabilityReportCreateVulnerabilitie.g.cs | 42 + ...lityReportCreateVulnerabilitiePackage.g.cs | 31 + ...nerabilityReportCreateVulnerabilities.g.cs | 42 - ...ityReportCreateVulnerabilitiesPackage.g.cs | 31 - ...Hub.Models.ProjectsCreateCardResponse.g.cs | 41 - ...ub.Models.ProjectsCreateCardResponse2.g.cs | 41 + ...odels.ProjectsCreateCardResponseError.g.cs | 29 + ...dels.ProjectsCreateCardResponseErrors.g.cs | 29 - ...Hub.Models.ProjectsDeleteCardResponse.g.cs | 2 +- .../GitHub.Models.ProjectsDeleteResponse.g.cs | 2 +- ...tHub.Models.ProjectsMoveCardResponse2.g.cs | 35 + ...tHub.Models.ProjectsMoveCardResponse3.g.cs | 41 + ....Models.ProjectsMoveCardResponseError.g.cs | 41 + ...Models.ProjectsMoveCardResponseError2.g.cs | 29 + ...Models.ProjectsMoveCardResponseErrors.g.cs | 41 - .../GitHub.Models.ProjectsUpdateResponse.g.cs | 2 +- ...ls.ProtectedBranchRequiredStatusCheck.g.cs | 2 +- ...otectedBranchRequiredStatusCheckCheck.g.cs | 31 + ...tectedBranchRequiredStatusCheckChecks.g.cs | 31 - .../Generated/GitHub.Models.PullRequest.g.cs | 2 +- .../GitHub.Models.PullRequestBaseRepo.g.cs | 2 +- .../GitHub.Models.PullRequestHeadRepo.g.cs | 2 +- .../GitHub.Models.PullRequestLabel.g.cs | 66 + .../GitHub.Models.PullRequestLabels.g.cs | 66 - .../GitHub.Models.PullRequestSimple.g.cs | 2 +- .../GitHub.Models.PullRequestSimpleLabel.g.cs | 66 + ...GitHub.Models.PullRequestSimpleLabels.g.cs | 66 - ...itHub.Models.PullsCreateReviewRequest.g.cs | 2 +- ...odels.PullsCreateReviewRequestComment.g.cs | 61 + ...dels.PullsCreateReviewRequestComments.g.cs | 61 - .../GitHub.Models.PullsMergeResponse2.g.cs | 29 + ....PullsRemoveRequestedReviewersRequest.g.cs | 2 +- ...b.Models.PullsRequestReviewersRequest.g.cs | 29 + ....PullsRequestReviewersRequestVariant1.g.cs | 18 + ....PullsRequestReviewersRequestVariant2.g.cs | 18 + .../GitHub.Models.RepoSearchResultItem.g.cs | 4 +- ...odels.RepoSearchResultItemTextMatches.g.cs | 47 - ...epoSearchResultItemTextMatchesMatches.g.cs | 29 - ...ReposAddAppAccessRestrictionsRequest2.g.cs | 24 + ...dAppAccessRestrictionsRequestVariant1.g.cs | 24 - ...s.ReposAddStatusCheckContextsRequest2.g.cs | 24 + ...AddStatusCheckContextsRequestVariant1.g.cs | 24 - ...eposAddTeamAccessRestrictionsRequest2.g.cs | 24 + ...TeamAccessRestrictionsRequestVariant1.g.cs | 24 - ...eposAddUserAccessRestrictionsRequest2.g.cs | 24 + ...UserAccessRestrictionsRequestVariant1.g.cs | 24 - ...s.ReposCreateAttestationRequestBundle.g.cs | 4 +- ...eAttestationRequestBundleDsseEnvelope.g.cs | 18 + ...tionRequestBundleVerificationMaterial.g.cs | 18 + ...b.Models.ReposCreateDeploymentRequest.g.cs | 4 +- ...s.ReposCreateDeploymentRequestPayload.g.cs | 18 + ...odels.ReposCreateDispatchEventRequest.g.cs | 2 +- ...eateDispatchEventRequestClientPayload.g.cs | 18 + ...GitHub.Models.ReposCreateInOrgRequest.g.cs | 2 +- ...posCreateInOrgRequestCustomProperties.g.cs | 18 + ...ReposCreateOrUpdateEnvironmentRequest.g.cs | 2 +- ...ateOrUpdateEnvironmentRequestReviewer.g.cs | 32 + ...teOrUpdateEnvironmentRequestReviewers.g.cs | 32 - ...b.Models.ReposCreateOrgRulesetRequest.g.cs | 2 +- ...eposCreateOrgRulesetRequestConditions.g.cs | 18 - ...ub.Models.ReposCreatePagesSiteRequest.g.cs | 30 + ....ReposCreatePagesSiteRequestBuildType.g.cs | 51 + ...els.ReposCreatePagesSiteRequestSource.g.cs | 32 + ...ReposCreatePagesSiteRequestSourcePath.g.cs | 52 + ...s.ReposCreatePagesSiteRequestVariant1.g.cs | 18 + ...s.ReposCreatePagesSiteRequestVariant2.g.cs | 18 + ...tHub.Models.ReposCreateWebhookRequest.g.cs | 2 +- ...odels.ReposCreateWebhookRequestConfig.g.cs | 6 +- ....Models.ReposGetOrgRuleSuitesResponse.g.cs | 85 - ...OrgRuleSuitesResponseEvaluationResult.g.cs | 51 - ...s.ReposGetOrgRuleSuitesResponseResult.g.cs | 57 - ...Models.ReposGetRepoRuleSuitesResponse.g.cs | 85 - ...epoRuleSuitesResponseEvaluationResult.g.cs | 51 - ....ReposGetRepoRuleSuitesResponseResult.g.cs | 57 - ....Models.ReposListAttestationsResponse.g.cs | 2 +- ...osListAttestationsResponseAttestation.g.cs | 30 + ...AttestationsResponseAttestationBundle.g.cs | 36 + ...ResponseAttestationBundleDsseEnvelope.g.cs | 18 + ...AttestationBundleVerificationMaterial.g.cs | 18 + ...sListAttestationsResponseAttestations.g.cs | 30 - ...ttestationsResponseAttestationsBundle.g.cs | 36 - ...osRemoveAppAccessRestrictionsRequest2.g.cs | 24 + ...eAppAccessRestrictionsRequestVariant1.g.cs | 24 - ...eposRemoveStatusCheckContextsRequest2.g.cs | 24 + ...oveStatusCheckContextsRequestVariant1.g.cs | 24 - ...sRemoveTeamAccessRestrictionsRequest2.g.cs | 24 + ...TeamAccessRestrictionsRequestVariant1.g.cs | 24 - ...sRemoveUserAccessRestrictionsRequest2.g.cs | 24 + ...UserAccessRestrictionsRequestVariant1.g.cs | 24 - ...ReposSetAppAccessRestrictionsRequest2.g.cs | 24 + ...tAppAccessRestrictionsRequestVariant1.g.cs | 24 - ...s.ReposSetStatusCheckContextsRequest2.g.cs | 24 + ...SetStatusCheckContextsRequestVariant1.g.cs | 24 - ...eposSetTeamAccessRestrictionsRequest2.g.cs | 24 + ...TeamAccessRestrictionsRequestVariant1.g.cs | 24 - ...eposSetUserAccessRestrictionsRequest2.g.cs | 24 + ...UserAccessRestrictionsRequestVariant1.g.cs | 24 - ...estReviewsBypassPullRequestAllowances.g.cs | 6 +- ...llRequestReviewsDismissalRestrictions.g.cs | 6 +- ...ProtectionRequestRequiredStatusChecks.g.cs | 2 +- ...ctionRequestRequiredStatusChecksCheck.g.cs | 30 + ...tionRequestRequiredStatusChecksChecks.g.cs | 30 - ...teBranchProtectionRequestRestrictions.g.cs | 2 +- ...pdateInformationAboutPagesSiteRequest.g.cs | 45 + ...rmationAboutPagesSiteRequestBuildType.g.cs | 51 + ...onAboutPagesSiteRequestSourceVariant1.g.cs | 57 + ...onAboutPagesSiteRequestSourceVariant2.g.cs | 32 + ...outPagesSiteRequestSourceVariant2Path.g.cs | 51 + ...ormationAboutPagesSiteRequestVariant1.g.cs | 18 + ...ormationAboutPagesSiteRequestVariant2.g.cs | 18 + ...ormationAboutPagesSiteRequestVariant3.g.cs | 18 + ...ormationAboutPagesSiteRequestVariant4.g.cs | 18 + ...ormationAboutPagesSiteRequestVariant5.g.cs | 18 + ...b.Models.ReposUpdateOrgRulesetRequest.g.cs | 2 +- ...eposUpdateOrgRulesetRequestConditions.g.cs | 18 - ...ionRequestBypassPullRequestAllowances.g.cs | 6 +- ...rotectionRequestDismissalRestrictions.g.cs | 6 +- ...posUpdateStatusCheckProtectionRequest.g.cs | 4 +- ...dateStatusCheckProtectionRequestCheck.g.cs | 30 + ...ateStatusCheckProtectionRequestChecks.g.cs | 30 - ...eposUpdateWebhookConfigForRepoRequest.g.cs | 6 +- ...tHub.Models.ReposUpdateWebhookRequest.g.cs | 6 +- .../Generated/GitHub.Models.Repository.g.cs | 2 +- .../GitHub.Models.RepositoryAdvisory.g.cs | 6 +- ...itHub.Models.RepositoryAdvisoryCreate.g.cs | 6 +- ...Models.RepositoryAdvisoryCreateCredit.g.cs | 32 + ...odels.RepositoryAdvisoryCreateCredits.g.cs | 32 - ...epositoryAdvisoryCreateVulnerabilitie.g.cs | 42 + ...ryAdvisoryCreateVulnerabilitiePackage.g.cs | 31 + ...positoryAdvisoryCreateVulnerabilities.g.cs | 42 - ...yAdvisoryCreateVulnerabilitiesPackage.g.cs | 31 - ...tHub.Models.RepositoryAdvisoryCredit2.g.cs | 30 + ...tHub.Models.RepositoryAdvisoryCredits.g.cs | 30 - .../GitHub.Models.RepositoryAdvisoryCwe.g.cs | 31 + .../GitHub.Models.RepositoryAdvisoryCwes.g.cs | 31 - ...b.Models.RepositoryAdvisoryIdentifier.g.cs | 32 + ...dels.RepositoryAdvisoryIdentifierType.g.cs | 51 + ....Models.RepositoryAdvisoryIdentifiers.g.cs | 32 - ...els.RepositoryAdvisoryIdentifiersType.g.cs | 51 - ...itHub.Models.RepositoryAdvisoryUpdate.g.cs | 10 +- ...Models.RepositoryAdvisoryUpdateCredit.g.cs | 32 + ...odels.RepositoryAdvisoryUpdateCredits.g.cs | 32 - ...epositoryAdvisoryUpdateVulnerabilitie.g.cs | 42 + ...ryAdvisoryUpdateVulnerabilitiePackage.g.cs | 31 + ...positoryAdvisoryUpdateVulnerabilities.g.cs | 42 - ...yAdvisoryUpdateVulnerabilitiesPackage.g.cs | 31 - .../GitHub.Models.RepositoryRuleDetailed.g.cs | 272 +- ...ls.RepositoryRulesetConditionsRefName.g.cs | 4 +- ...onsRepositoryNameTargetRepositoryName.g.cs | 4 +- .../GitHub.Models.RepositoryWebhooks.g.cs | 4 +- ...ls.RepositoryWebhooksCustomProperties.g.cs | 18 + ....RepositoryWebhooksTemplateRepository.g.cs | 2 +- .../Generated/GitHub.Models.RuleSuite.g.cs | 10 +- .../Generated/GitHub.Models.RuleSuite2.g.cs | 91 + ...Hub.Models.RuleSuiteEvaluationResult2.g.cs | 51 + .../GitHub.Models.RuleSuiteResult2.g.cs | 57 + ...GitHub.Models.RuleSuiteRuleEvaluation.g.cs | 49 + ...ls.RuleSuiteRuleEvaluationEnforcement.g.cs | 57 + ....Models.RuleSuiteRuleEvaluationResult.g.cs | 51 + ...els.RuleSuiteRuleEvaluationRuleSource.g.cs | 35 + ...itHub.Models.RuleSuiteRuleEvaluations.g.cs | 49 - ...s.RuleSuiteRuleEvaluationsEnforcement.g.cs | 57 - ...Models.RuleSuiteRuleEvaluationsResult.g.cs | 51 - ...ls.RuleSuiteRuleEvaluationsRuleSource.g.cs | 35 - .../Generated/GitHub.Models.RuleSuites.g.cs | 85 - ...Hub.Models.RuleSuitesEvaluationResult.g.cs | 51 - .../GitHub.Models.RuleSuitesResult.g.cs | 57 - .../Generated/GitHub.Models.ScimError.g.cs | 2 +- .../GitHub.Models.SearchCodeResponse2.g.cs | 35 + ....SearchIssuesAndPullRequestsResponse2.g.cs | 35 + .../GitHub.Models.SearchReposResponse2.g.cs | 35 + .../GitHub.Models.SearchResultTextMatche.g.cs | 47 + ...b.Models.SearchResultTextMatcheMatche.g.cs | 29 + ...GitHub.Models.SearchResultTextMatches.g.cs | 47 - ...Models.SearchResultTextMatchesMatches.g.cs | 29 - .../GitHub.Models.SearchUsersResponse2.g.cs | 35 + ...visoriesListGlobalAdvisoriesEcosystem.g.cs | 117 - .../GitHub.Models.SelectedActions.g.cs | 2 +- ...ub.Models.SigstoreBundle0DsseEnvelope.g.cs | 2 +- ....SigstoreBundle0DsseEnvelopeSignature.g.cs | 29 + ...SigstoreBundle0DsseEnvelopeSignatures.g.cs | 29 - ...s.SigstoreBundle0VerificationMaterial.g.cs | 2 +- ...Bundle0VerificationMaterialTlogEntrie.g.cs | 59 + ...ionMaterialTlogEntrieInclusionPromise.g.cs | 23 + ...ficationMaterialTlogEntrieKindVersion.g.cs | 29 + ...e0VerificationMaterialTlogEntrieLogId.g.cs | 23 + ...undle0VerificationMaterialTlogEntries.g.cs | 59 - ...onMaterialTlogEntriesInclusionPromise.g.cs | 23 - ...icationMaterialTlogEntriesKindVersion.g.cs | 29 - ...0VerificationMaterialTlogEntriesLogId.g.cs | 23 - ...ificationMaterialX509CertificateChain.g.cs | 2 +- ...terialX509CertificateChainCertificate.g.cs | 23 + ...erialX509CertificateChainCertificates.g.cs | 23 - .../Generated/GitHub.Models.Snapshot.g.cs | 2 +- .../GitHub.Models.SnapshotManifests.g.cs | 18 + .../GitHub.Models.StatusCheckPolicy.g.cs | 2 +- .../GitHub.Models.StatusCheckPolicyCheck.g.cs | 31 + ...GitHub.Models.StatusCheckPolicyChecks.g.cs | 31 - .../GitHub.Models.TeamRepository.g.cs | 2 +- .../GitHub.Models.TeamsCreateRequest.g.cs | 4 +- .../GitHub.Models.TimelineCommittedEvent.g.cs | 2 +- ...b.Models.TimelineCommittedEventParent.g.cs | 39 + ....Models.TimelineCommittedEventParents.g.cs | 39 - .../GitHub.Models.TopicSearchResultItem.g.cs | 6 +- ...ub.Models.TopicSearchResultItemAliase.g.cs | 23 + ...icSearchResultItemAliaseTopicRelation.g.cs | 41 + ...b.Models.TopicSearchResultItemAliases.g.cs | 23 - ...cSearchResultItemAliasesTopicRelation.g.cs | 41 - ...b.Models.TopicSearchResultItemRelated.g.cs | 23 - ...dels.TopicSearchResultItemRelatedItem.g.cs | 23 + ...rchResultItemRelatedItemTopicRelation.g.cs | 41 + ...cSearchResultItemRelatedTopicRelation.g.cs | 41 - ...dels.TopicSearchResultItemTextMatches.g.cs | 47 - ...picSearchResultItemTextMatchesMatches.g.cs | 29 - .../GitHub.Models.UserSearchResultItem.g.cs | 2 +- ...odels.UserSearchResultItemTextMatches.g.cs | 47 - ...serSearchResultItemTextMatchesMatches.g.cs | 29 - ...sAddEmailForAuthenticatedUserRequest2.g.cs | 25 + ...ilForAuthenticatedUserRequestVariant1.g.cs | 25 - ...leteEmailForAuthenticatedUserRequest2.g.cs | 24 + ...ilForAuthenticatedUserRequestVariant1.g.cs | 24 - ....Models.UsersListAttestationsResponse.g.cs | 2 +- ...rsListAttestationsResponseAttestation.g.cs | 29 + ...sListAttestationsResponseAttestations.g.cs | 29 - .../GitHub.Models.ValidationError.g.cs | 2 +- .../GitHub.Models.ValidationErrorError.g.cs | 57 + .../GitHub.Models.ValidationErrorErrors.g.cs | 57 - .../GitHub.Models.ValidationErrorSimple.g.cs | 2 +- ....WebhookCheckSuiteCompletedCheckSuite.g.cs | 2 +- ...bhookCheckSuiteCompletedCheckSuiteApp.g.cs | 2 +- ...CheckSuiteCompletedCheckSuiteAppEvent.g.cs | 351 + ...heckSuiteCompletedCheckSuiteAppEvents.g.cs | 351 - ...ckSuiteCompletedCheckSuitePullRequest.g.cs | 52 + ...iteCompletedCheckSuitePullRequestBase.g.cs | 38 + ...ompletedCheckSuitePullRequestBaseRepo.g.cs | 38 + ...iteCompletedCheckSuitePullRequestHead.g.cs | 38 + ...ompletedCheckSuitePullRequestHeadRepo.g.cs | 38 + ...kSuiteCompletedCheckSuitePullRequests.g.cs | 52 - ...teCompletedCheckSuitePullRequestsBase.g.cs | 38 - ...mpletedCheckSuitePullRequestsBaseRepo.g.cs | 38 - ...teCompletedCheckSuitePullRequestsHead.g.cs | 38 - ...mpletedCheckSuitePullRequestsHeadRepo.g.cs | 38 - ....WebhookCheckSuiteRequestedCheckSuite.g.cs | 2 +- ...bhookCheckSuiteRequestedCheckSuiteApp.g.cs | 2 +- ...CheckSuiteRequestedCheckSuiteAppEvent.g.cs | 357 + ...heckSuiteRequestedCheckSuiteAppEvents.g.cs | 357 - ...ckSuiteRequestedCheckSuitePullRequest.g.cs | 52 + ...iteRequestedCheckSuitePullRequestBase.g.cs | 38 + ...equestedCheckSuitePullRequestBaseRepo.g.cs | 38 + ...iteRequestedCheckSuitePullRequestHead.g.cs | 38 + ...equestedCheckSuitePullRequestHeadRepo.g.cs | 38 + ...kSuiteRequestedCheckSuitePullRequests.g.cs | 52 - ...teRequestedCheckSuitePullRequestsBase.g.cs | 38 - ...questedCheckSuitePullRequestsBaseRepo.g.cs | 38 - ...teRequestedCheckSuitePullRequestsHead.g.cs | 38 - ...questedCheckSuitePullRequestsHeadRepo.g.cs | 38 - ...ebhookCheckSuiteRerequestedCheckSuite.g.cs | 2 +- ...ookCheckSuiteRerequestedCheckSuiteApp.g.cs | 2 +- ...eckSuiteRerequestedCheckSuiteAppEvent.g.cs | 327 + ...ckSuiteRerequestedCheckSuiteAppEvents.g.cs | 327 - ...SuiteRerequestedCheckSuitePullRequest.g.cs | 52 + ...eRerequestedCheckSuitePullRequestBase.g.cs | 38 + ...equestedCheckSuitePullRequestBaseRepo.g.cs | 38 + ...eRerequestedCheckSuitePullRequestHead.g.cs | 38 + ...equestedCheckSuitePullRequestHeadRepo.g.cs | 38 + ...uiteRerequestedCheckSuitePullRequests.g.cs | 52 - ...RerequestedCheckSuitePullRequestsBase.g.cs | 38 - ...questedCheckSuitePullRequestsBaseRepo.g.cs | 38 - ...RerequestedCheckSuitePullRequestsHead.g.cs | 38 - ...questedCheckSuitePullRequestsHeadRepo.g.cs | 38 - ...pearedInBranchAlertMostRecentInstance.g.cs | 2 +- ...rtClosedByUserAlertMostRecentInstance.g.cs | 2 +- ...odeScanningAlertClosedByUserAlertRule.g.cs | 2 +- ....WebhookCodeScanningAlertCreatedAlert.g.cs | 8 +- ...eScanningAlertCreatedAlertDismissedAt.g.cs | 18 + ...eScanningAlertCreatedAlertDismissedBy.g.cs | 18 + ...nningAlertCreatedAlertDismissedReason.g.cs | 18 + ...kCodeScanningAlertCreatedAlertFixedAt.g.cs | 18 + ...ngAlertCreatedAlertMostRecentInstance.g.cs | 2 +- ...hookCodeScanningAlertCreatedAlertRule.g.cs | 2 +- ...ningAlertFixedAlertMostRecentInstance.g.cs | 2 +- ...ebhookCodeScanningAlertFixedAlertRule.g.cs | 2 +- ...WebhookCodeScanningAlertReopenedAlert.g.cs | 2 +- ...ScanningAlertReopenedAlertDismissedBy.g.cs | 18 + ...gAlertReopenedAlertMostRecentInstance.g.cs | 2 +- ...ookCodeScanningAlertReopenedAlertRule.g.cs | 2 +- ...kCodeScanningAlertReopenedByUserAlert.g.cs | 6 +- ...ngAlertReopenedByUserAlertDismissedAt.g.cs | 18 + ...ngAlertReopenedByUserAlertDismissedBy.g.cs | 18 + ...ertReopenedByUserAlertDismissedReason.g.cs | 18 + ...ReopenedByUserAlertMostRecentInstance.g.cs | 2 +- .../GitHub.Models.WebhookConfig.g.cs | 6 +- ...ls.WebhookDeploymentCreatedDeployment.g.cs | 2 +- ...ookDeploymentCreatedDeploymentPayload.g.cs | 18 + ...reatedDeploymentPerformedViaGithubApp.g.cs | 2 +- ...dDeploymentPerformedViaGithubAppEvent.g.cs | 339 + ...DeploymentPerformedViaGithubAppEvents.g.cs | 339 - ...s.WebhookDeploymentCreatedWorkflowRun.g.cs | 8 +- ...eploymentCreatedWorkflowRunHeadCommit.g.cs | 18 + ...ymentCreatedWorkflowRunHeadRepository.g.cs | 2 +- ...dWorkflowRunHeadRepositoryDescription.g.cs | 18 + ...tCreatedWorkflowRunPreviousAttemptUrl.g.cs | 18 + ...ploymentCreatedWorkflowRunPullRequest.g.cs | 52 + ...mentCreatedWorkflowRunPullRequestBase.g.cs | 38 + ...CreatedWorkflowRunPullRequestBaseRepo.g.cs | 38 + ...mentCreatedWorkflowRunPullRequestHead.g.cs | 38 + ...CreatedWorkflowRunPullRequestHeadRepo.g.cs | 38 + ...loymentCreatedWorkflowRunPullRequests.g.cs | 52 - ...entCreatedWorkflowRunPullRequestsBase.g.cs | 38 - ...reatedWorkflowRunPullRequestsBaseRepo.g.cs | 38 - ...entCreatedWorkflowRunPullRequestsHead.g.cs | 38 - ...reatedWorkflowRunPullRequestsHeadRepo.g.cs | 38 - ...tCreatedWorkflowRunReferencedWorkflow.g.cs | 37 + ...CreatedWorkflowRunReferencedWorkflows.g.cs | 37 - ...eploymentCreatedWorkflowRunRepository.g.cs | 2 +- ...eatedWorkflowRunRepositoryDescription.g.cs | 18 + ...odels.WebhookDeploymentReviewApproved.g.cs | 4 +- ...hookDeploymentReviewApprovedReviewers.g.cs | 30 - ...oymentReviewApprovedReviewersReviewer.g.cs | 146 - ...ntReviewApprovedReviewersReviewerType.g.cs | 57 - ...DeploymentReviewApprovedReviewersType.g.cs | 45 - ...eploymentReviewApprovedWorkflowJobRun.g.cs | 65 + ...eviewApprovedWorkflowJobRunConclusion.g.cs | 18 + ...ploymentReviewApprovedWorkflowJobRuns.g.cs | 65 - ...okDeploymentReviewApprovedWorkflowRun.g.cs | 6 +- ...ntReviewApprovedWorkflowRunHeadCommit.g.cs | 18 + ...tReviewApprovedWorkflowRunPullRequest.g.cs | 52 + ...iewApprovedWorkflowRunPullRequestBase.g.cs | 38 + ...pprovedWorkflowRunPullRequestBaseRepo.g.cs | 38 + ...iewApprovedWorkflowRunPullRequestHead.g.cs | 38 + ...pprovedWorkflowRunPullRequestHeadRepo.g.cs | 38 + ...ReviewApprovedWorkflowRunPullRequests.g.cs | 52 - ...ewApprovedWorkflowRunPullRequestsBase.g.cs | 38 - ...provedWorkflowRunPullRequestsBaseRepo.g.cs | 38 - ...ewApprovedWorkflowRunPullRequestsHead.g.cs | 38 - ...provedWorkflowRunPullRequestsHeadRepo.g.cs | 38 - ...ApprovedWorkflowRunReferencedWorkflow.g.cs | 37 + ...pprovedWorkflowRunReferencedWorkflows.g.cs | 37 - ...odels.WebhookDeploymentReviewRejected.g.cs | 4 +- ...hookDeploymentReviewRejectedReviewers.g.cs | 30 - ...oymentReviewRejectedReviewersReviewer.g.cs | 146 - ...ntReviewRejectedReviewersReviewerType.g.cs | 57 - ...DeploymentReviewRejectedReviewersType.g.cs | 45 - ...eploymentReviewRejectedWorkflowJobRun.g.cs | 65 + ...ploymentReviewRejectedWorkflowJobRuns.g.cs | 65 - ...okDeploymentReviewRejectedWorkflowRun.g.cs | 6 +- ...ntReviewRejectedWorkflowRunHeadCommit.g.cs | 18 + ...tReviewRejectedWorkflowRunPullRequest.g.cs | 52 + ...iewRejectedWorkflowRunPullRequestBase.g.cs | 38 + ...ejectedWorkflowRunPullRequestBaseRepo.g.cs | 38 + ...iewRejectedWorkflowRunPullRequestHead.g.cs | 38 + ...ejectedWorkflowRunPullRequestHeadRepo.g.cs | 38 + ...ReviewRejectedWorkflowRunPullRequests.g.cs | 52 - ...ewRejectedWorkflowRunPullRequestsBase.g.cs | 38 - ...jectedWorkflowRunPullRequestsBaseRepo.g.cs | 38 - ...ewRejectedWorkflowRunPullRequestsHead.g.cs | 38 - ...jectedWorkflowRunPullRequestsHeadRepo.g.cs | 38 - ...RejectedWorkflowRunReferencedWorkflow.g.cs | 37 + ...ejectedWorkflowRunReferencedWorkflows.g.cs | 37 - ...dels.WebhookDeploymentReviewRequested.g.cs | 2 +- ...hookDeploymentReviewRequestedReviewer.g.cs | 30 + ...oymentReviewRequestedReviewerReviewer.g.cs | 145 + ...ntReviewRequestedReviewerReviewerType.g.cs | 57 + ...DeploymentReviewRequestedReviewerType.g.cs | 51 + ...ookDeploymentReviewRequestedReviewers.g.cs | 30 - ...ymentReviewRequestedReviewersReviewer.g.cs | 145 - ...tReviewRequestedReviewersReviewerType.g.cs | 57 - ...eploymentReviewRequestedReviewersType.g.cs | 51 - ...ploymentReviewRequestedWorkflowJobRun.g.cs | 2 +- ...viewRequestedWorkflowJobRunConclusion.g.cs | 18 + ...kDeploymentReviewRequestedWorkflowRun.g.cs | 6 +- ...tReviewRequestedWorkflowRunHeadCommit.g.cs | 18 + ...ReviewRequestedWorkflowRunPullRequest.g.cs | 52 + ...ewRequestedWorkflowRunPullRequestBase.g.cs | 38 + ...questedWorkflowRunPullRequestBaseRepo.g.cs | 38 + ...ewRequestedWorkflowRunPullRequestHead.g.cs | 38 + ...questedWorkflowRunPullRequestHeadRepo.g.cs | 38 + ...eviewRequestedWorkflowRunPullRequests.g.cs | 52 - ...wRequestedWorkflowRunPullRequestsBase.g.cs | 38 - ...uestedWorkflowRunPullRequestsBaseRepo.g.cs | 38 - ...wRequestedWorkflowRunPullRequestsHead.g.cs | 38 - ...uestedWorkflowRunPullRequestsHeadRepo.g.cs | 38 - ...equestedWorkflowRunReferencedWorkflow.g.cs | 37 + ...questedWorkflowRunReferencedWorkflows.g.cs | 37 - ...hookDeploymentStatusCreatedDeployment.g.cs | 2 +- ...loymentStatusCreatedDeploymentPayload.g.cs | 18 + ...reatedDeploymentPerformedViaGithubApp.g.cs | 2 +- ...dDeploymentPerformedViaGithubAppEvent.g.cs | 339 + ...DeploymentPerformedViaGithubAppEvents.g.cs | 339 - ...DeploymentStatusPerformedViaGithubApp.g.cs | 2 +- ...ymentStatusPerformedViaGithubAppEvent.g.cs | 339 + ...mentStatusPerformedViaGithubAppEvents.g.cs | 339 - ...ookDeploymentStatusCreatedWorkflowRun.g.cs | 8 +- ...entStatusCreatedWorkflowRunHeadCommit.g.cs | 18 + ...tatusCreatedWorkflowRunHeadRepository.g.cs | 2 +- ...dWorkflowRunHeadRepositoryDescription.g.cs | 18 + ...sCreatedWorkflowRunPreviousAttemptUrl.g.cs | 18 + ...ntStatusCreatedWorkflowRunPullRequest.g.cs | 52 + ...atusCreatedWorkflowRunPullRequestBase.g.cs | 38 + ...CreatedWorkflowRunPullRequestBaseRepo.g.cs | 38 + ...atusCreatedWorkflowRunPullRequestHead.g.cs | 38 + ...CreatedWorkflowRunPullRequestHeadRepo.g.cs | 38 + ...tStatusCreatedWorkflowRunPullRequests.g.cs | 52 - ...tusCreatedWorkflowRunPullRequestsBase.g.cs | 38 - ...reatedWorkflowRunPullRequestsBaseRepo.g.cs | 38 - ...tusCreatedWorkflowRunPullRequestsHead.g.cs | 38 - ...reatedWorkflowRunPullRequestsHeadRepo.g.cs | 38 - ...sCreatedWorkflowRunReferencedWorkflow.g.cs | 37 + ...CreatedWorkflowRunReferencedWorkflows.g.cs | 37 - ...entStatusCreatedWorkflowRunRepository.g.cs | 2 +- ...eatedWorkflowRunRepositoryDescription.g.cs | 18 + .../Generated/GitHub.Models.WebhookFork.g.cs | 2 +- .../GitHub.Models.WebhookForkForkee.g.cs | 646 - ...itHub.Models.WebhookForkForkeeLicense.g.cs | 52 - .../GitHub.Models.WebhookForkForkeeOwner.g.cs | 146 - ...Hub.Models.WebhookForkForkeeOwnerType.g.cs | 57 - ...b.Models.WebhookForkForkeePermissions.g.cs | 50 - ...tHub.Models.WebhookForkForkeeVariant1.g.cs | 646 + ...dels.WebhookForkForkeeVariant1License.g.cs | 52 + ...Models.WebhookForkForkeeVariant1Owner.g.cs | 146 + ...ls.WebhookForkForkeeVariant1OwnerType.g.cs | 57 + ....WebhookForkForkeeVariant1Permissions.g.cs | 50 + ...s.WebhookForkForkeeVariant1Visibility.g.cs | 57 + ...tHub.Models.WebhookForkForkeeVariant2.g.cs | 485 + ...els.WebhookForkForkeeVariant2Language.g.cs | 18 + ...dels.WebhookForkForkeeVariant2License.g.cs | 18 + ...ls.WebhookForkForkeeVariant2MirrorUrl.g.cs | 18 + ...Models.WebhookForkForkeeVariant2Owner.g.cs | 125 + ...Models.WebhookForkForkeeVariant2Topic.g.cs | 18 + ...ub.Models.WebhookForkForkeeVisibility.g.cs | 57 - .../GitHub.Models.WebhookGollum.g.cs | 2 +- .../GitHub.Models.WebhookGollumPage.g.cs | 60 + ...GitHub.Models.WebhookGollumPageAction.g.cs | 51 + .../GitHub.Models.WebhookGollumPages.g.cs | 60 - ...itHub.Models.WebhookGollumPagesAction.g.cs | 51 - ...Hub.Models.WebhookInstallationCreated.g.cs | 2 +- ...ebhookInstallationCreatedRepositories.g.cs | 52 - ...Hub.Models.WebhookInstallationDeleted.g.cs | 4 +- ...ebhookInstallationDeletedRepositories.g.cs | 52 - ...s.WebhookInstallationDeletedRequester.g.cs | 18 + ...ookInstallationNewPermissionsAccepted.g.cs | 4 +- ...ionNewPermissionsAcceptedRepositories.g.cs | 52 - ...lationNewPermissionsAcceptedRequester.g.cs | 18 + ....WebhookInstallationRepositoriesAdded.g.cs | 4 +- ...ionRepositoriesAddedRepositoriesAdded.g.cs | 52 - ...nRepositoriesAddedRepositoriesRemoved.g.cs | 47 - ...ositoriesAddedRepositoriesRemovedItem.g.cs | 47 + ...ebhookInstallationRepositoriesRemoved.g.cs | 4 +- ...nRepositoriesRemovedRepositoriesAdded.g.cs | 52 - ...epositoriesRemovedRepositoriesRemoved.g.cs | 52 - ...itoriesRemovedRepositoriesRemovedItem.g.cs | 52 + ...Hub.Models.WebhookInstallationSuspend.g.cs | 4 +- ...ebhookInstallationSuspendRepositories.g.cs | 52 - ...s.WebhookInstallationSuspendRequester.g.cs | 18 + ...bhookInstallationTargetRenamedAccount.g.cs | 4 +- ...lationTargetRenamedAccountDescription.g.cs | 18 + ...llationTargetRenamedAccountWebsiteUrl.g.cs | 18 + ...b.Models.WebhookInstallationUnsuspend.g.cs | 4 +- ...hookInstallationUnsuspendRepositories.g.cs | 52 - ...WebhookInstallationUnsuspendRequester.g.cs | 18 + ...Hub.Models.WebhookIssueCommentCreated.g.cs | 2 +- ...odels.WebhookIssueCommentCreatedIssue.g.cs | 221 - ...ueCommentCreatedIssueActiveLockReason.g.cs | 63 - ...bhookIssueCommentCreatedIssueAssignee.g.cs | 146 - ...kIssueCommentCreatedIssueAssigneeType.g.cs | 63 - ...hookIssueCommentCreatedIssueAssignees.g.cs | 146 - ...IssueCommentCreatedIssueAssigneesType.g.cs | 63 - ...eCommentCreatedIssueAuthorAssociation.g.cs | 87 - ...WebhookIssueCommentCreatedIssueLabels.g.cs | 66 - ...hookIssueCommentCreatedIssueMilestone.g.cs | 130 - ...ueCommentCreatedIssueMilestoneCreator.g.cs | 146 - ...mmentCreatedIssueMilestoneCreatorType.g.cs | 63 - ...ssueCommentCreatedIssueMilestoneState.g.cs | 51 - ...mentCreatedIssuePerformedViaGithubApp.g.cs | 98 - ...eatedIssuePerformedViaGithubAppEvents.g.cs | 321 - ...reatedIssuePerformedViaGithubAppOwner.g.cs | 146 - ...edIssuePerformedViaGithubAppOwnerType.g.cs | 57 - ...IssuePerformedViaGithubAppPermissions.g.cs | 262 - ...rformedViaGithubAppPermissionsActions.g.cs | 51 - ...ViaGithubAppPermissionsAdministration.g.cs | 51 - ...erformedViaGithubAppPermissionsChecks.g.cs | 51 - ...GithubAppPermissionsContentReferences.g.cs | 51 - ...formedViaGithubAppPermissionsContents.g.cs | 51 - ...medViaGithubAppPermissionsDeployments.g.cs | 51 - ...medViaGithubAppPermissionsDiscussions.g.cs | 51 - ...erformedViaGithubAppPermissionsEmails.g.cs | 51 - ...edViaGithubAppPermissionsEnvironments.g.cs | 51 - ...erformedViaGithubAppPermissionsIssues.g.cs | 51 - ...ePerformedViaGithubAppPermissionsKeys.g.cs | 51 - ...rformedViaGithubAppPermissionsMembers.g.cs | 51 - ...formedViaGithubAppPermissionsMetadata.g.cs | 51 - ...PermissionsOrganizationAdministration.g.cs | 51 - ...GithubAppPermissionsOrganizationHooks.g.cs | 51 - ...hubAppPermissionsOrganizationPackages.g.cs | 51 - ...aGithubAppPermissionsOrganizationPlan.g.cs | 51 - ...hubAppPermissionsOrganizationProjects.g.cs | 57 - ...thubAppPermissionsOrganizationSecrets.g.cs | 51 - ...missionsOrganizationSelfHostedRunners.g.cs | 51 - ...ppPermissionsOrganizationUserBlocking.g.cs | 51 - ...formedViaGithubAppPermissionsPackages.g.cs | 51 - ...PerformedViaGithubAppPermissionsPages.g.cs | 51 - ...edViaGithubAppPermissionsPullRequests.g.cs | 51 - ...iaGithubAppPermissionsRepositoryHooks.g.cs | 51 - ...ithubAppPermissionsRepositoryProjects.g.cs | 57 - ...hubAppPermissionsSecretScanningAlerts.g.cs | 51 - ...rformedViaGithubAppPermissionsSecrets.g.cs | 51 - ...ViaGithubAppPermissionsSecurityEvents.g.cs | 51 - ...ubAppPermissionsSecurityScanningAlert.g.cs | 51 - ...rmedViaGithubAppPermissionsSingleFile.g.cs | 51 - ...formedViaGithubAppPermissionsStatuses.g.cs | 51 - ...iaGithubAppPermissionsTeamDiscussions.g.cs | 51 - ...thubAppPermissionsVulnerabilityAlerts.g.cs | 51 - ...ormedViaGithubAppPermissionsWorkflows.g.cs | 51 - ...okIssueCommentCreatedIssuePullRequest.g.cs | 47 - ...hookIssueCommentCreatedIssueReactions.g.cs | 87 - ....WebhookIssueCommentCreatedIssueState.g.cs | 51 - ...s.WebhookIssueCommentCreatedIssueUser.g.cs | 146 - ...bhookIssueCommentCreatedIssueUserType.g.cs | 63 - ...bhookIssueCommentCreatedIssueVariant1.g.cs | 221 + ...tCreatedIssueVariant1ActiveLockReason.g.cs | 63 + ...ueCommentCreatedIssueVariant1Assignee.g.cs | 146 + ...eCommentCreatedIssueVariant1Assignee2.g.cs | 146 + ...mmentCreatedIssueVariant1AssigneeType.g.cs | 63 + ...mentCreatedIssueVariant1AssigneeType2.g.cs | 63 + ...CreatedIssueVariant1AuthorAssociation.g.cs | 87 + ...IssueCommentCreatedIssueVariant1Label.g.cs | 66 + ...eCommentCreatedIssueVariant1Milestone.g.cs | 130 + ...tCreatedIssueVariant1MilestoneCreator.g.cs | 146 + ...atedIssueVariant1MilestoneCreatorType.g.cs | 63 + ...entCreatedIssueVariant1MilestoneState.g.cs | 51 + ...tedIssueVariant1PerformedViaGithubApp.g.cs | 98 + ...sueVariant1PerformedViaGithubAppEvent.g.cs | 321 + ...sueVariant1PerformedViaGithubAppOwner.g.cs | 146 + ...ariant1PerformedViaGithubAppOwnerType.g.cs | 57 + ...iant1PerformedViaGithubAppPermissions.g.cs | 262 + ...rformedViaGithubAppPermissionsActions.g.cs | 51 + ...ViaGithubAppPermissionsAdministration.g.cs | 51 + ...erformedViaGithubAppPermissionsChecks.g.cs | 51 + ...GithubAppPermissionsContentReferences.g.cs | 51 + ...formedViaGithubAppPermissionsContents.g.cs | 51 + ...medViaGithubAppPermissionsDeployments.g.cs | 51 + ...medViaGithubAppPermissionsDiscussions.g.cs | 51 + ...erformedViaGithubAppPermissionsEmails.g.cs | 51 + ...edViaGithubAppPermissionsEnvironments.g.cs | 51 + ...erformedViaGithubAppPermissionsIssues.g.cs | 51 + ...1PerformedViaGithubAppPermissionsKeys.g.cs | 51 + ...rformedViaGithubAppPermissionsMembers.g.cs | 51 + ...formedViaGithubAppPermissionsMetadata.g.cs | 51 + ...PermissionsOrganizationAdministration.g.cs | 51 + ...GithubAppPermissionsOrganizationHooks.g.cs | 51 + ...hubAppPermissionsOrganizationPackages.g.cs | 51 + ...aGithubAppPermissionsOrganizationPlan.g.cs | 51 + ...hubAppPermissionsOrganizationProjects.g.cs | 57 + ...thubAppPermissionsOrganizationSecrets.g.cs | 51 + ...missionsOrganizationSelfHostedRunners.g.cs | 51 + ...ppPermissionsOrganizationUserBlocking.g.cs | 51 + ...formedViaGithubAppPermissionsPackages.g.cs | 51 + ...PerformedViaGithubAppPermissionsPages.g.cs | 51 + ...edViaGithubAppPermissionsPullRequests.g.cs | 51 + ...iaGithubAppPermissionsRepositoryHooks.g.cs | 51 + ...ithubAppPermissionsRepositoryProjects.g.cs | 57 + ...hubAppPermissionsSecretScanningAlerts.g.cs | 51 + ...rformedViaGithubAppPermissionsSecrets.g.cs | 51 + ...ViaGithubAppPermissionsSecurityEvents.g.cs | 51 + ...ubAppPermissionsSecurityScanningAlert.g.cs | 51 + ...rmedViaGithubAppPermissionsSingleFile.g.cs | 51 + ...formedViaGithubAppPermissionsStatuses.g.cs | 51 + ...iaGithubAppPermissionsTeamDiscussions.g.cs | 51 + ...thubAppPermissionsVulnerabilityAlerts.g.cs | 51 + ...ormedViaGithubAppPermissionsWorkflows.g.cs | 51 + ...ommentCreatedIssueVariant1PullRequest.g.cs | 47 + ...eCommentCreatedIssueVariant1Reactions.g.cs | 87 + ...IssueCommentCreatedIssueVariant1State.g.cs | 51 + ...kIssueCommentCreatedIssueVariant1User.g.cs | 146 + ...ueCommentCreatedIssueVariant1UserType.g.cs | 63 + ...bhookIssueCommentCreatedIssueVariant2.g.cs | 184 + ...ueCommentCreatedIssueVariant2Assignee.g.cs | 146 + ...eCommentCreatedIssueVariant2Assignee2.g.cs | 18 + ...mmentCreatedIssueVariant2AssigneeType.g.cs | 63 + ...IssueCommentCreatedIssueVariant2Label.g.cs | 66 + ...eCommentCreatedIssueVariant2Milestone.g.cs | 18 + ...tedIssueVariant2PerformedViaGithubApp.g.cs | 18 + ...eCommentCreatedIssueVariant2Reactions.g.cs | 77 + ...IssueCommentCreatedIssueVariant2State.g.cs | 51 + ...kIssueCommentCreatedIssueVariant2User.g.cs | 125 + ...Hub.Models.WebhookIssueCommentDeleted.g.cs | 2 +- ...odels.WebhookIssueCommentDeletedIssue.g.cs | 221 - ...ueCommentDeletedIssueActiveLockReason.g.cs | 63 - ...bhookIssueCommentDeletedIssueAssignee.g.cs | 146 - ...kIssueCommentDeletedIssueAssigneeType.g.cs | 63 - ...hookIssueCommentDeletedIssueAssignees.g.cs | 146 - ...IssueCommentDeletedIssueAssigneesType.g.cs | 63 - ...eCommentDeletedIssueAuthorAssociation.g.cs | 87 - ...WebhookIssueCommentDeletedIssueLabels.g.cs | 66 - ...hookIssueCommentDeletedIssueMilestone.g.cs | 130 - ...ueCommentDeletedIssueMilestoneCreator.g.cs | 146 - ...mmentDeletedIssueMilestoneCreatorType.g.cs | 63 - ...ssueCommentDeletedIssueMilestoneState.g.cs | 51 - ...mentDeletedIssuePerformedViaGithubApp.g.cs | 98 - ...letedIssuePerformedViaGithubAppEvents.g.cs | 309 - ...eletedIssuePerformedViaGithubAppOwner.g.cs | 146 - ...edIssuePerformedViaGithubAppOwnerType.g.cs | 57 - ...IssuePerformedViaGithubAppPermissions.g.cs | 262 - ...rformedViaGithubAppPermissionsActions.g.cs | 51 - ...ViaGithubAppPermissionsAdministration.g.cs | 51 - ...erformedViaGithubAppPermissionsChecks.g.cs | 51 - ...GithubAppPermissionsContentReferences.g.cs | 51 - ...formedViaGithubAppPermissionsContents.g.cs | 51 - ...medViaGithubAppPermissionsDeployments.g.cs | 51 - ...medViaGithubAppPermissionsDiscussions.g.cs | 51 - ...erformedViaGithubAppPermissionsEmails.g.cs | 51 - ...edViaGithubAppPermissionsEnvironments.g.cs | 51 - ...erformedViaGithubAppPermissionsIssues.g.cs | 51 - ...ePerformedViaGithubAppPermissionsKeys.g.cs | 51 - ...rformedViaGithubAppPermissionsMembers.g.cs | 51 - ...formedViaGithubAppPermissionsMetadata.g.cs | 51 - ...PermissionsOrganizationAdministration.g.cs | 51 - ...GithubAppPermissionsOrganizationHooks.g.cs | 51 - ...hubAppPermissionsOrganizationPackages.g.cs | 51 - ...aGithubAppPermissionsOrganizationPlan.g.cs | 51 - ...hubAppPermissionsOrganizationProjects.g.cs | 51 - ...thubAppPermissionsOrganizationSecrets.g.cs | 51 - ...missionsOrganizationSelfHostedRunners.g.cs | 51 - ...ppPermissionsOrganizationUserBlocking.g.cs | 51 - ...formedViaGithubAppPermissionsPackages.g.cs | 51 - ...PerformedViaGithubAppPermissionsPages.g.cs | 51 - ...edViaGithubAppPermissionsPullRequests.g.cs | 51 - ...iaGithubAppPermissionsRepositoryHooks.g.cs | 51 - ...ithubAppPermissionsRepositoryProjects.g.cs | 51 - ...hubAppPermissionsSecretScanningAlerts.g.cs | 51 - ...rformedViaGithubAppPermissionsSecrets.g.cs | 51 - ...ViaGithubAppPermissionsSecurityEvents.g.cs | 51 - ...ubAppPermissionsSecurityScanningAlert.g.cs | 51 - ...rmedViaGithubAppPermissionsSingleFile.g.cs | 51 - ...formedViaGithubAppPermissionsStatuses.g.cs | 51 - ...iaGithubAppPermissionsTeamDiscussions.g.cs | 51 - ...thubAppPermissionsVulnerabilityAlerts.g.cs | 51 - ...ormedViaGithubAppPermissionsWorkflows.g.cs | 51 - ...okIssueCommentDeletedIssuePullRequest.g.cs | 47 - ...hookIssueCommentDeletedIssueReactions.g.cs | 87 - ....WebhookIssueCommentDeletedIssueState.g.cs | 51 - ...s.WebhookIssueCommentDeletedIssueUser.g.cs | 146 - ...bhookIssueCommentDeletedIssueUserType.g.cs | 63 - ...bhookIssueCommentDeletedIssueVariant1.g.cs | 221 + ...tDeletedIssueVariant1ActiveLockReason.g.cs | 63 + ...ueCommentDeletedIssueVariant1Assignee.g.cs | 146 + ...eCommentDeletedIssueVariant1Assignee2.g.cs | 146 + ...mmentDeletedIssueVariant1AssigneeType.g.cs | 63 + ...mentDeletedIssueVariant1AssigneeType2.g.cs | 63 + ...DeletedIssueVariant1AuthorAssociation.g.cs | 87 + ...IssueCommentDeletedIssueVariant1Label.g.cs | 66 + ...eCommentDeletedIssueVariant1Milestone.g.cs | 130 + ...tDeletedIssueVariant1MilestoneCreator.g.cs | 146 + ...etedIssueVariant1MilestoneCreatorType.g.cs | 63 + ...entDeletedIssueVariant1MilestoneState.g.cs | 51 + ...tedIssueVariant1PerformedViaGithubApp.g.cs | 98 + ...sueVariant1PerformedViaGithubAppEvent.g.cs | 309 + ...sueVariant1PerformedViaGithubAppOwner.g.cs | 146 + ...ariant1PerformedViaGithubAppOwnerType.g.cs | 57 + ...iant1PerformedViaGithubAppPermissions.g.cs | 262 + ...rformedViaGithubAppPermissionsActions.g.cs | 51 + ...ViaGithubAppPermissionsAdministration.g.cs | 51 + ...erformedViaGithubAppPermissionsChecks.g.cs | 51 + ...GithubAppPermissionsContentReferences.g.cs | 51 + ...formedViaGithubAppPermissionsContents.g.cs | 51 + ...medViaGithubAppPermissionsDeployments.g.cs | 51 + ...medViaGithubAppPermissionsDiscussions.g.cs | 51 + ...erformedViaGithubAppPermissionsEmails.g.cs | 51 + ...edViaGithubAppPermissionsEnvironments.g.cs | 51 + ...erformedViaGithubAppPermissionsIssues.g.cs | 51 + ...1PerformedViaGithubAppPermissionsKeys.g.cs | 51 + ...rformedViaGithubAppPermissionsMembers.g.cs | 51 + ...formedViaGithubAppPermissionsMetadata.g.cs | 51 + ...PermissionsOrganizationAdministration.g.cs | 51 + ...GithubAppPermissionsOrganizationHooks.g.cs | 51 + ...hubAppPermissionsOrganizationPackages.g.cs | 51 + ...aGithubAppPermissionsOrganizationPlan.g.cs | 51 + ...hubAppPermissionsOrganizationProjects.g.cs | 51 + ...thubAppPermissionsOrganizationSecrets.g.cs | 51 + ...missionsOrganizationSelfHostedRunners.g.cs | 51 + ...ppPermissionsOrganizationUserBlocking.g.cs | 51 + ...formedViaGithubAppPermissionsPackages.g.cs | 51 + ...PerformedViaGithubAppPermissionsPages.g.cs | 51 + ...edViaGithubAppPermissionsPullRequests.g.cs | 51 + ...iaGithubAppPermissionsRepositoryHooks.g.cs | 51 + ...ithubAppPermissionsRepositoryProjects.g.cs | 51 + ...hubAppPermissionsSecretScanningAlerts.g.cs | 51 + ...rformedViaGithubAppPermissionsSecrets.g.cs | 51 + ...ViaGithubAppPermissionsSecurityEvents.g.cs | 51 + ...ubAppPermissionsSecurityScanningAlert.g.cs | 51 + ...rmedViaGithubAppPermissionsSingleFile.g.cs | 51 + ...formedViaGithubAppPermissionsStatuses.g.cs | 51 + ...iaGithubAppPermissionsTeamDiscussions.g.cs | 51 + ...thubAppPermissionsVulnerabilityAlerts.g.cs | 51 + ...ormedViaGithubAppPermissionsWorkflows.g.cs | 51 + ...ommentDeletedIssueVariant1PullRequest.g.cs | 47 + ...eCommentDeletedIssueVariant1Reactions.g.cs | 87 + ...IssueCommentDeletedIssueVariant1State.g.cs | 51 + ...kIssueCommentDeletedIssueVariant1User.g.cs | 146 + ...ueCommentDeletedIssueVariant1UserType.g.cs | 63 + ...bhookIssueCommentDeletedIssueVariant2.g.cs | 184 + ...ueCommentDeletedIssueVariant2Assignee.g.cs | 146 + ...eCommentDeletedIssueVariant2Assignee2.g.cs | 18 + ...mmentDeletedIssueVariant2AssigneeType.g.cs | 63 + ...IssueCommentDeletedIssueVariant2Label.g.cs | 66 + ...eCommentDeletedIssueVariant2Milestone.g.cs | 18 + ...tedIssueVariant2PerformedViaGithubApp.g.cs | 18 + ...eCommentDeletedIssueVariant2Reactions.g.cs | 77 + ...IssueCommentDeletedIssueVariant2State.g.cs | 51 + ...kIssueCommentDeletedIssueVariant2User.g.cs | 125 + ...tHub.Models.WebhookIssueCommentEdited.g.cs | 2 +- ...Models.WebhookIssueCommentEditedIssue.g.cs | 221 - ...sueCommentEditedIssueActiveLockReason.g.cs | 63 - ...ebhookIssueCommentEditedIssueAssignee.g.cs | 146 - ...okIssueCommentEditedIssueAssigneeType.g.cs | 63 - ...bhookIssueCommentEditedIssueAssignees.g.cs | 146 - ...kIssueCommentEditedIssueAssigneesType.g.cs | 63 - ...ueCommentEditedIssueAuthorAssociation.g.cs | 87 - ....WebhookIssueCommentEditedIssueLabels.g.cs | 66 - ...bhookIssueCommentEditedIssueMilestone.g.cs | 130 - ...sueCommentEditedIssueMilestoneCreator.g.cs | 146 - ...ommentEditedIssueMilestoneCreatorType.g.cs | 63 - ...IssueCommentEditedIssueMilestoneState.g.cs | 51 - ...mmentEditedIssuePerformedViaGithubApp.g.cs | 98 - ...ditedIssuePerformedViaGithubAppEvents.g.cs | 321 - ...EditedIssuePerformedViaGithubAppOwner.g.cs | 146 - ...edIssuePerformedViaGithubAppOwnerType.g.cs | 57 - ...IssuePerformedViaGithubAppPermissions.g.cs | 262 - ...rformedViaGithubAppPermissionsActions.g.cs | 51 - ...ViaGithubAppPermissionsAdministration.g.cs | 51 - ...erformedViaGithubAppPermissionsChecks.g.cs | 51 - ...GithubAppPermissionsContentReferences.g.cs | 51 - ...formedViaGithubAppPermissionsContents.g.cs | 51 - ...medViaGithubAppPermissionsDeployments.g.cs | 51 - ...medViaGithubAppPermissionsDiscussions.g.cs | 51 - ...erformedViaGithubAppPermissionsEmails.g.cs | 51 - ...edViaGithubAppPermissionsEnvironments.g.cs | 51 - ...erformedViaGithubAppPermissionsIssues.g.cs | 51 - ...ePerformedViaGithubAppPermissionsKeys.g.cs | 51 - ...rformedViaGithubAppPermissionsMembers.g.cs | 51 - ...formedViaGithubAppPermissionsMetadata.g.cs | 51 - ...PermissionsOrganizationAdministration.g.cs | 51 - ...GithubAppPermissionsOrganizationHooks.g.cs | 51 - ...hubAppPermissionsOrganizationPackages.g.cs | 51 - ...aGithubAppPermissionsOrganizationPlan.g.cs | 51 - ...hubAppPermissionsOrganizationProjects.g.cs | 57 - ...thubAppPermissionsOrganizationSecrets.g.cs | 51 - ...missionsOrganizationSelfHostedRunners.g.cs | 51 - ...ppPermissionsOrganizationUserBlocking.g.cs | 51 - ...formedViaGithubAppPermissionsPackages.g.cs | 51 - ...PerformedViaGithubAppPermissionsPages.g.cs | 51 - ...edViaGithubAppPermissionsPullRequests.g.cs | 51 - ...iaGithubAppPermissionsRepositoryHooks.g.cs | 51 - ...ithubAppPermissionsRepositoryProjects.g.cs | 51 - ...hubAppPermissionsSecretScanningAlerts.g.cs | 51 - ...rformedViaGithubAppPermissionsSecrets.g.cs | 51 - ...ViaGithubAppPermissionsSecurityEvents.g.cs | 51 - ...ubAppPermissionsSecurityScanningAlert.g.cs | 51 - ...rmedViaGithubAppPermissionsSingleFile.g.cs | 51 - ...formedViaGithubAppPermissionsStatuses.g.cs | 51 - ...iaGithubAppPermissionsTeamDiscussions.g.cs | 51 - ...thubAppPermissionsVulnerabilityAlerts.g.cs | 51 - ...ormedViaGithubAppPermissionsWorkflows.g.cs | 51 - ...ookIssueCommentEditedIssuePullRequest.g.cs | 47 - ...bhookIssueCommentEditedIssueReactions.g.cs | 87 - ...s.WebhookIssueCommentEditedIssueState.g.cs | 51 - ...ls.WebhookIssueCommentEditedIssueUser.g.cs | 146 - ...ebhookIssueCommentEditedIssueUserType.g.cs | 63 - ...ebhookIssueCommentEditedIssueVariant1.g.cs | 221 + ...ntEditedIssueVariant1ActiveLockReason.g.cs | 63 + ...sueCommentEditedIssueVariant1Assignee.g.cs | 146 + ...ueCommentEditedIssueVariant1Assignee2.g.cs | 146 + ...ommentEditedIssueVariant1AssigneeType.g.cs | 63 + ...mmentEditedIssueVariant1AssigneeType2.g.cs | 63 + ...tEditedIssueVariant1AuthorAssociation.g.cs | 87 + ...kIssueCommentEditedIssueVariant1Label.g.cs | 66 + ...ueCommentEditedIssueVariant1Milestone.g.cs | 130 + ...ntEditedIssueVariant1MilestoneCreator.g.cs | 146 + ...itedIssueVariant1MilestoneCreatorType.g.cs | 63 + ...mentEditedIssueVariant1MilestoneState.g.cs | 51 + ...tedIssueVariant1PerformedViaGithubApp.g.cs | 98 + ...sueVariant1PerformedViaGithubAppEvent.g.cs | 321 + ...sueVariant1PerformedViaGithubAppOwner.g.cs | 146 + ...ariant1PerformedViaGithubAppOwnerType.g.cs | 57 + ...iant1PerformedViaGithubAppPermissions.g.cs | 262 + ...rformedViaGithubAppPermissionsActions.g.cs | 51 + ...ViaGithubAppPermissionsAdministration.g.cs | 51 + ...erformedViaGithubAppPermissionsChecks.g.cs | 51 + ...GithubAppPermissionsContentReferences.g.cs | 51 + ...formedViaGithubAppPermissionsContents.g.cs | 51 + ...medViaGithubAppPermissionsDeployments.g.cs | 51 + ...medViaGithubAppPermissionsDiscussions.g.cs | 51 + ...erformedViaGithubAppPermissionsEmails.g.cs | 51 + ...edViaGithubAppPermissionsEnvironments.g.cs | 51 + ...erformedViaGithubAppPermissionsIssues.g.cs | 51 + ...1PerformedViaGithubAppPermissionsKeys.g.cs | 51 + ...rformedViaGithubAppPermissionsMembers.g.cs | 51 + ...formedViaGithubAppPermissionsMetadata.g.cs | 51 + ...PermissionsOrganizationAdministration.g.cs | 51 + ...GithubAppPermissionsOrganizationHooks.g.cs | 51 + ...hubAppPermissionsOrganizationPackages.g.cs | 51 + ...aGithubAppPermissionsOrganizationPlan.g.cs | 51 + ...hubAppPermissionsOrganizationProjects.g.cs | 57 + ...thubAppPermissionsOrganizationSecrets.g.cs | 51 + ...missionsOrganizationSelfHostedRunners.g.cs | 51 + ...ppPermissionsOrganizationUserBlocking.g.cs | 51 + ...formedViaGithubAppPermissionsPackages.g.cs | 51 + ...PerformedViaGithubAppPermissionsPages.g.cs | 51 + ...edViaGithubAppPermissionsPullRequests.g.cs | 51 + ...iaGithubAppPermissionsRepositoryHooks.g.cs | 51 + ...ithubAppPermissionsRepositoryProjects.g.cs | 51 + ...hubAppPermissionsSecretScanningAlerts.g.cs | 51 + ...rformedViaGithubAppPermissionsSecrets.g.cs | 51 + ...ViaGithubAppPermissionsSecurityEvents.g.cs | 51 + ...ubAppPermissionsSecurityScanningAlert.g.cs | 51 + ...rmedViaGithubAppPermissionsSingleFile.g.cs | 51 + ...formedViaGithubAppPermissionsStatuses.g.cs | 51 + ...iaGithubAppPermissionsTeamDiscussions.g.cs | 51 + ...thubAppPermissionsVulnerabilityAlerts.g.cs | 51 + ...ormedViaGithubAppPermissionsWorkflows.g.cs | 51 + ...CommentEditedIssueVariant1PullRequest.g.cs | 47 + ...ueCommentEditedIssueVariant1Reactions.g.cs | 87 + ...kIssueCommentEditedIssueVariant1State.g.cs | 51 + ...okIssueCommentEditedIssueVariant1User.g.cs | 146 + ...sueCommentEditedIssueVariant1UserType.g.cs | 63 + ...ebhookIssueCommentEditedIssueVariant2.g.cs | 184 + ...sueCommentEditedIssueVariant2Assignee.g.cs | 146 + ...ueCommentEditedIssueVariant2Assignee2.g.cs | 18 + ...ommentEditedIssueVariant2AssigneeType.g.cs | 63 + ...kIssueCommentEditedIssueVariant2Label.g.cs | 66 + ...ueCommentEditedIssueVariant2Milestone.g.cs | 18 + ...tedIssueVariant2PerformedViaGithubApp.g.cs | 18 + ...ueCommentEditedIssueVariant2Reactions.g.cs | 77 + ...kIssueCommentEditedIssueVariant2State.g.cs | 51 + ...okIssueCommentEditedIssueVariant2User.g.cs | 125 + .../GitHub.Models.WebhookIssuesClosed.g.cs | 2 +- ...itHub.Models.WebhookIssuesClosedIssue.g.cs | 221 - ...hookIssuesClosedIssueActiveLockReason.g.cs | 63 - ...dels.WebhookIssuesClosedIssueAssignee.g.cs | 146 - ....WebhookIssuesClosedIssueAssigneeType.g.cs | 63 - ...els.WebhookIssuesClosedIssueAssignees.g.cs | 146 - ...WebhookIssuesClosedIssueAssigneesType.g.cs | 63 - ...ookIssuesClosedIssueAuthorAssociation.g.cs | 87 - ...Models.WebhookIssuesClosedIssueLabels.g.cs | 66 - ...els.WebhookIssuesClosedIssueMilestone.g.cs | 130 - ...hookIssuesClosedIssueMilestoneCreator.g.cs | 146 - ...IssuesClosedIssueMilestoneCreatorType.g.cs | 63 - ...ebhookIssuesClosedIssueMilestoneState.g.cs | 51 - ...ssuesClosedIssuePerformedViaGithubApp.g.cs | 98 - ...losedIssuePerformedViaGithubAppEvents.g.cs | 327 - ...ClosedIssuePerformedViaGithubAppOwner.g.cs | 146 - ...edIssuePerformedViaGithubAppOwnerType.g.cs | 57 - ...IssuePerformedViaGithubAppPermissions.g.cs | 262 - ...rformedViaGithubAppPermissionsActions.g.cs | 51 - ...ViaGithubAppPermissionsAdministration.g.cs | 51 - ...erformedViaGithubAppPermissionsChecks.g.cs | 51 - ...GithubAppPermissionsContentReferences.g.cs | 51 - ...formedViaGithubAppPermissionsContents.g.cs | 51 - ...medViaGithubAppPermissionsDeployments.g.cs | 51 - ...medViaGithubAppPermissionsDiscussions.g.cs | 51 - ...erformedViaGithubAppPermissionsEmails.g.cs | 51 - ...edViaGithubAppPermissionsEnvironments.g.cs | 51 - ...erformedViaGithubAppPermissionsIssues.g.cs | 51 - ...ePerformedViaGithubAppPermissionsKeys.g.cs | 51 - ...rformedViaGithubAppPermissionsMembers.g.cs | 51 - ...formedViaGithubAppPermissionsMetadata.g.cs | 51 - ...PermissionsOrganizationAdministration.g.cs | 51 - ...GithubAppPermissionsOrganizationHooks.g.cs | 51 - ...hubAppPermissionsOrganizationPackages.g.cs | 51 - ...aGithubAppPermissionsOrganizationPlan.g.cs | 51 - ...hubAppPermissionsOrganizationProjects.g.cs | 57 - ...thubAppPermissionsOrganizationSecrets.g.cs | 51 - ...missionsOrganizationSelfHostedRunners.g.cs | 51 - ...ppPermissionsOrganizationUserBlocking.g.cs | 51 - ...formedViaGithubAppPermissionsPackages.g.cs | 51 - ...PerformedViaGithubAppPermissionsPages.g.cs | 51 - ...edViaGithubAppPermissionsPullRequests.g.cs | 51 - ...iaGithubAppPermissionsRepositoryHooks.g.cs | 51 - ...ithubAppPermissionsRepositoryProjects.g.cs | 51 - ...hubAppPermissionsSecretScanningAlerts.g.cs | 51 - ...rformedViaGithubAppPermissionsSecrets.g.cs | 51 - ...ViaGithubAppPermissionsSecurityEvents.g.cs | 51 - ...ubAppPermissionsSecurityScanningAlert.g.cs | 51 - ...rmedViaGithubAppPermissionsSingleFile.g.cs | 51 - ...formedViaGithubAppPermissionsStatuses.g.cs | 51 - ...iaGithubAppPermissionsTeamDiscussions.g.cs | 51 - ...thubAppPermissionsVulnerabilityAlerts.g.cs | 51 - ...ormedViaGithubAppPermissionsWorkflows.g.cs | 51 - ...s.WebhookIssuesClosedIssuePullRequest.g.cs | 47 - ...els.WebhookIssuesClosedIssueReactions.g.cs | 87 - ....Models.WebhookIssuesClosedIssueState.g.cs | 51 - ...b.Models.WebhookIssuesClosedIssueUser.g.cs | 146 - ...dels.WebhookIssuesClosedIssueUserType.g.cs | 63 - ...dels.WebhookIssuesClosedIssueVariant1.g.cs | 221 + ...esClosedIssueVariant1ActiveLockReason.g.cs | 63 + ...hookIssuesClosedIssueVariant1Assignee.g.cs | 146 + ...ookIssuesClosedIssueVariant1Assignee2.g.cs | 146 + ...IssuesClosedIssueVariant1AssigneeType.g.cs | 63 + ...ssuesClosedIssueVariant1AssigneeType2.g.cs | 63 + ...sClosedIssueVariant1AuthorAssociation.g.cs | 87 + ...WebhookIssuesClosedIssueVariant1Label.g.cs | 66 + ...ookIssuesClosedIssueVariant1Milestone.g.cs | 130 + ...esClosedIssueVariant1MilestoneCreator.g.cs | 146 + ...osedIssueVariant1MilestoneCreatorType.g.cs | 63 + ...suesClosedIssueVariant1MilestoneState.g.cs | 51 + ...sedIssueVariant1PerformedViaGithubApp.g.cs | 98 + ...sueVariant1PerformedViaGithubAppEvent.g.cs | 327 + ...sueVariant1PerformedViaGithubAppOwner.g.cs | 146 + ...ariant1PerformedViaGithubAppOwnerType.g.cs | 57 + ...iant1PerformedViaGithubAppPermissions.g.cs | 262 + ...rformedViaGithubAppPermissionsActions.g.cs | 51 + ...ViaGithubAppPermissionsAdministration.g.cs | 51 + ...erformedViaGithubAppPermissionsChecks.g.cs | 51 + ...GithubAppPermissionsContentReferences.g.cs | 51 + ...formedViaGithubAppPermissionsContents.g.cs | 51 + ...medViaGithubAppPermissionsDeployments.g.cs | 51 + ...medViaGithubAppPermissionsDiscussions.g.cs | 51 + ...erformedViaGithubAppPermissionsEmails.g.cs | 51 + ...edViaGithubAppPermissionsEnvironments.g.cs | 51 + ...erformedViaGithubAppPermissionsIssues.g.cs | 51 + ...1PerformedViaGithubAppPermissionsKeys.g.cs | 51 + ...rformedViaGithubAppPermissionsMembers.g.cs | 51 + ...formedViaGithubAppPermissionsMetadata.g.cs | 51 + ...PermissionsOrganizationAdministration.g.cs | 51 + ...GithubAppPermissionsOrganizationHooks.g.cs | 51 + ...hubAppPermissionsOrganizationPackages.g.cs | 51 + ...aGithubAppPermissionsOrganizationPlan.g.cs | 51 + ...hubAppPermissionsOrganizationProjects.g.cs | 57 + ...thubAppPermissionsOrganizationSecrets.g.cs | 51 + ...missionsOrganizationSelfHostedRunners.g.cs | 51 + ...ppPermissionsOrganizationUserBlocking.g.cs | 51 + ...formedViaGithubAppPermissionsPackages.g.cs | 51 + ...PerformedViaGithubAppPermissionsPages.g.cs | 51 + ...edViaGithubAppPermissionsPullRequests.g.cs | 51 + ...iaGithubAppPermissionsRepositoryHooks.g.cs | 51 + ...ithubAppPermissionsRepositoryProjects.g.cs | 51 + ...hubAppPermissionsSecretScanningAlerts.g.cs | 51 + ...rformedViaGithubAppPermissionsSecrets.g.cs | 51 + ...ViaGithubAppPermissionsSecurityEvents.g.cs | 51 + ...ubAppPermissionsSecurityScanningAlert.g.cs | 51 + ...rmedViaGithubAppPermissionsSingleFile.g.cs | 51 + ...formedViaGithubAppPermissionsStatuses.g.cs | 51 + ...iaGithubAppPermissionsTeamDiscussions.g.cs | 51 + ...thubAppPermissionsVulnerabilityAlerts.g.cs | 51 + ...ormedViaGithubAppPermissionsWorkflows.g.cs | 51 + ...kIssuesClosedIssueVariant1PullRequest.g.cs | 47 + ...ookIssuesClosedIssueVariant1Reactions.g.cs | 87 + ...WebhookIssuesClosedIssueVariant1State.g.cs | 51 + ....WebhookIssuesClosedIssueVariant1User.g.cs | 146 + ...hookIssuesClosedIssueVariant1UserType.g.cs | 63 + ...dels.WebhookIssuesClosedIssueVariant2.g.cs | 182 + ...hookIssuesClosedIssueVariant2Assignee.g.cs | 18 + ...ookIssuesClosedIssueVariant2Assignee2.g.cs | 18 + ...WebhookIssuesClosedIssueVariant2Label.g.cs | 18 + ...ookIssuesClosedIssueVariant2Milestone.g.cs | 18 + ...sedIssueVariant2PerformedViaGithubApp.g.cs | 18 + ...ookIssuesClosedIssueVariant2Reactions.g.cs | 77 + ...WebhookIssuesClosedIssueVariant2State.g.cs | 51 + ....WebhookIssuesClosedIssueVariant2User.g.cs | 125 + ...tHub.Models.WebhookIssuesDeletedIssue.g.cs | 4 +- ...ls.WebhookIssuesDeletedIssueAssignee2.g.cs | 146 + ...ebhookIssuesDeletedIssueAssigneeType2.g.cs | 57 + ...ls.WebhookIssuesDeletedIssueAssignees.g.cs | 146 - ...ebhookIssuesDeletedIssueAssigneesType.g.cs | 57 - ...Models.WebhookIssuesDeletedIssueLabel.g.cs | 66 + ...odels.WebhookIssuesDeletedIssueLabels.g.cs | 66 - ...suesDeletedIssuePerformedViaGithubApp.g.cs | 2 +- ...eletedIssuePerformedViaGithubAppEvent.g.cs | 315 + ...letedIssuePerformedViaGithubAppEvents.g.cs | 315 - ...Models.WebhookIssuesDemilestonedIssue.g.cs | 4 +- ...bhookIssuesDemilestonedIssueAssignee2.g.cs | 146 + ...kIssuesDemilestonedIssueAssigneeType2.g.cs | 63 + ...bhookIssuesDemilestonedIssueAssignees.g.cs | 146 - ...kIssuesDemilestonedIssueAssigneesType.g.cs | 63 - ...s.WebhookIssuesDemilestonedIssueLabel.g.cs | 66 + ....WebhookIssuesDemilestonedIssueLabels.g.cs | 66 - ...emilestonedIssuePerformedViaGithubApp.g.cs | 2 +- ...stonedIssuePerformedViaGithubAppEvent.g.cs | 309 + ...tonedIssuePerformedViaGithubAppEvents.g.cs | 309 - ...itHub.Models.WebhookIssuesEditedIssue.g.cs | 4 +- ...els.WebhookIssuesEditedIssueAssignee2.g.cs | 146 + ...WebhookIssuesEditedIssueAssigneeType2.g.cs | 63 + ...els.WebhookIssuesEditedIssueAssignees.g.cs | 146 - ...WebhookIssuesEditedIssueAssigneesType.g.cs | 63 - ....Models.WebhookIssuesEditedIssueLabel.g.cs | 66 + ...Models.WebhookIssuesEditedIssueLabels.g.cs | 66 - ...ssuesEditedIssuePerformedViaGithubApp.g.cs | 2 +- ...EditedIssuePerformedViaGithubAppEvent.g.cs | 327 + ...ditedIssuePerformedViaGithubAppEvents.g.cs | 327 - ...tHub.Models.WebhookIssuesLabeledIssue.g.cs | 4 +- ...ls.WebhookIssuesLabeledIssueAssignee2.g.cs | 146 + ...ebhookIssuesLabeledIssueAssigneeType2.g.cs | 63 + ...ls.WebhookIssuesLabeledIssueAssignees.g.cs | 146 - ...ebhookIssuesLabeledIssueAssigneesType.g.cs | 63 - ...Models.WebhookIssuesLabeledIssueLabel.g.cs | 66 + ...odels.WebhookIssuesLabeledIssueLabels.g.cs | 66 - ...suesLabeledIssuePerformedViaGithubApp.g.cs | 2 +- ...abeledIssuePerformedViaGithubAppEvent.g.cs | 321 + ...beledIssuePerformedViaGithubAppEvents.g.cs | 321 - ...itHub.Models.WebhookIssuesLockedIssue.g.cs | 4 +- ...els.WebhookIssuesLockedIssueAssignee2.g.cs | 146 + ...WebhookIssuesLockedIssueAssigneeType2.g.cs | 57 + ...els.WebhookIssuesLockedIssueAssignees.g.cs | 146 - ...WebhookIssuesLockedIssueAssigneesType.g.cs | 57 - ....Models.WebhookIssuesLockedIssueLabel.g.cs | 66 + ...Models.WebhookIssuesLockedIssueLabels.g.cs | 66 - ...ssuesLockedIssuePerformedViaGithubApp.g.cs | 2 +- ...LockedIssuePerformedViaGithubAppEvent.g.cs | 321 + ...ockedIssuePerformedViaGithubAppEvents.g.cs | 321 - ...b.Models.WebhookIssuesMilestonedIssue.g.cs | 4 +- ...WebhookIssuesMilestonedIssueAssignee2.g.cs | 146 + ...ookIssuesMilestonedIssueAssigneeType2.g.cs | 57 + ...WebhookIssuesMilestonedIssueAssignees.g.cs | 146 - ...ookIssuesMilestonedIssueAssigneesType.g.cs | 57 - ...els.WebhookIssuesMilestonedIssueLabel.g.cs | 66 + ...ls.WebhookIssuesMilestonedIssueLabels.g.cs | 66 - ...sMilestonedIssuePerformedViaGithubApp.g.cs | 2 +- ...stonedIssuePerformedViaGithubAppEvent.g.cs | 315 + ...tonedIssuePerformedViaGithubAppEvents.g.cs | 315 - ...ls.WebhookIssuesOpenedChangesOldIssue.g.cs | 4 +- ...kIssuesOpenedChangesOldIssueAssignee2.g.cs | 146 + ...uesOpenedChangesOldIssueAssigneeType2.g.cs | 57 + ...kIssuesOpenedChangesOldIssueAssignees.g.cs | 146 - ...uesOpenedChangesOldIssueAssigneesType.g.cs | 57 - ...bhookIssuesOpenedChangesOldIssueLabel.g.cs | 66 + ...hookIssuesOpenedChangesOldIssueLabels.g.cs | 66 - ...dChangesOldIssuePerformedViaGithubApp.g.cs | 2 +- ...gesOldIssuePerformedViaGithubAppEvent.g.cs | 309 + ...esOldIssuePerformedViaGithubAppEvents.g.cs | 309 - ...bhookIssuesOpenedChangesOldRepository.g.cs | 2 +- ...dChangesOldRepositoryCustomProperties.g.cs | 18 + ...itHub.Models.WebhookIssuesOpenedIssue.g.cs | 4 +- ...els.WebhookIssuesOpenedIssueAssignee2.g.cs | 146 + ...WebhookIssuesOpenedIssueAssigneeType2.g.cs | 57 + ...els.WebhookIssuesOpenedIssueAssignees.g.cs | 146 - ...WebhookIssuesOpenedIssueAssigneesType.g.cs | 57 - ....Models.WebhookIssuesOpenedIssueLabel.g.cs | 66 + ...Models.WebhookIssuesOpenedIssueLabels.g.cs | 66 - ...ssuesOpenedIssuePerformedViaGithubApp.g.cs | 2 +- ...OpenedIssuePerformedViaGithubAppEvent.g.cs | 327 + ...penedIssuePerformedViaGithubAppEvents.g.cs | 327 - ...Hub.Models.WebhookIssuesReopenedIssue.g.cs | 4 +- ...s.WebhookIssuesReopenedIssueAssignee2.g.cs | 146 + ...bhookIssuesReopenedIssueAssigneeType2.g.cs | 63 + ...s.WebhookIssuesReopenedIssueAssignees.g.cs | 146 - ...bhookIssuesReopenedIssueAssigneesType.g.cs | 63 - ...odels.WebhookIssuesReopenedIssueLabel.g.cs | 66 + ...dels.WebhookIssuesReopenedIssueLabels.g.cs | 66 - ...uesReopenedIssuePerformedViaGithubApp.g.cs | 2 +- ...openedIssuePerformedViaGithubAppEvent.g.cs | 321 + ...penedIssuePerformedViaGithubAppEvents.g.cs | 321 - ...bhookIssuesTransferredChangesNewIssue.g.cs | 4 +- ...esTransferredChangesNewIssueAssignee2.g.cs | 146 + ...ansferredChangesNewIssueAssigneeType2.g.cs | 57 + ...esTransferredChangesNewIssueAssignees.g.cs | 146 - ...ansferredChangesNewIssueAssigneesType.g.cs | 57 - ...IssuesTransferredChangesNewIssueLabel.g.cs | 66 + ...ssuesTransferredChangesNewIssueLabels.g.cs | 66 - ...dChangesNewIssuePerformedViaGithubApp.g.cs | 2 +- ...gesNewIssuePerformedViaGithubAppEvent.g.cs | 309 + ...esNewIssuePerformedViaGithubAppEvents.g.cs | 309 - ...IssuesTransferredChangesNewRepository.g.cs | 2 +- ...dChangesNewRepositoryCustomProperties.g.cs | 18 + ...Hub.Models.WebhookIssuesUnlockedIssue.g.cs | 4 +- ...s.WebhookIssuesUnlockedIssueAssignee2.g.cs | 146 + ...bhookIssuesUnlockedIssueAssigneeType2.g.cs | 57 + ...s.WebhookIssuesUnlockedIssueAssignees.g.cs | 146 - ...bhookIssuesUnlockedIssueAssigneesType.g.cs | 57 - ...odels.WebhookIssuesUnlockedIssueLabel.g.cs | 66 + ...dels.WebhookIssuesUnlockedIssueLabels.g.cs | 66 - ...uesUnlockedIssuePerformedViaGithubApp.g.cs | 2 +- ...lockedIssuePerformedViaGithubAppEvent.g.cs | 309 + ...ockedIssuePerformedViaGithubAppEvents.g.cs | 309 - ...ingChangeCancelledMarketplacePurchase.g.cs | 2 +- ...ledMarketplacePurchaseFreeTrialEndsOn.g.cs | 18 + .../GitHub.Models.WebhookMetaDeletedHook.g.cs | 2 +- ...ub.Models.WebhookMetaDeletedHookEvent.g.cs | 351 + ...b.Models.WebhookMetaDeletedHookEvents.g.cs | 351 - ...PackagePublishedPackagePackageVersion.g.cs | 10 +- ...agePublishedPackagePackageVersionBody.g.cs | 18 + ...ackagePackageVersionContainerMetadata.g.cs | 4 +- ...PackageVersionContainerMetadataLabels.g.cs | 18 + ...ckageVersionContainerMetadataManifest.g.cs | 18 + ...edPackagePackageVersionDockerMetadata.g.cs | 23 - ...ckagePackageVersionDockerMetadataItem.g.cs | 23 + ...shedPackagePackageVersionMetadataItem.g.cs | 18 + ...ishedPackagePackageVersionNpmMetadata.g.cs | 38 +- ...ackagePackageVersionNpmMetadataAuthor.g.cs | 18 + ...edPackagePackageVersionNpmMetadataBin.g.cs | 18 + ...dPackagePackageVersionNpmMetadataBugs.g.cs | 18 + ...ePackageVersionNpmMetadataContributor.g.cs | 18 + ...PackageVersionNpmMetadataDependencies.g.cs | 18 + ...kageVersionNpmMetadataDevDependencies.g.cs | 18 + ...ePackageVersionNpmMetadataDirectories.g.cs | 18 + ...dPackagePackageVersionNpmMetadataDist.g.cs | 18 + ...ckagePackageVersionNpmMetadataEngines.g.cs | 18 + ...gePackageVersionNpmMetadataMaintainer.g.cs | 18 + ...edPackagePackageVersionNpmMetadataMan.g.cs | 18 + ...ersionNpmMetadataOptionalDependencies.g.cs | 18 + ...ageVersionNpmMetadataPeerDependencies.g.cs | 18 + ...gePackageVersionNpmMetadataRepository.g.cs | 18 + ...ckagePackageVersionNpmMetadataScripts.g.cs | 18 + ...hedPackagePackageVersionNugetMetadata.g.cs | 39 - ...ackagePackageVersionNugetMetadataItem.g.cs | 39 + ...ePackageVersionNugetMetadataItemValue.g.cs | 41 + ...ckagePackageVersionNugetMetadataValue.g.cs | 41 - ...ishedPackagePackageVersionPackageFile.g.cs | 94 + ...shedPackagePackageVersionPackageFiles.g.cs | 94 - ...okPackageUpdatedPackagePackageVersion.g.cs | 6 +- ...edPackagePackageVersionDockerMetadata.g.cs | 23 - ...ckagePackageVersionDockerMetadataItem.g.cs | 23 + ...atedPackagePackageVersionMetadataItem.g.cs | 18 + ...datedPackagePackageVersionPackageFile.g.cs | 94 + ...atedPackagePackageVersionPackageFiles.g.cs | 94 - .../GitHub.Models.WebhookPingHookConfig.g.cs | 6 +- ...GitHub.Models.WebhookProjectCardMoved.g.cs | 2 +- ...ls.WebhookProjectCardMovedProjectCard.g.cs | 106 - ...ookProjectCardMovedProjectCardCreator.g.cs | 146 - ...rojectCardMovedProjectCardCreatorType.g.cs | 63 - ...okProjectCardMovedProjectCardVariant1.g.cs | 106 + ...ctCardMovedProjectCardVariant1Creator.g.cs | 146 + ...rdMovedProjectCardVariant1CreatorType.g.cs | 63 + ...okProjectCardMovedProjectCardVariant2.g.cs | 90 + ...ctCardMovedProjectCardVariant2Creator.g.cs | 125 + ...ub.Models.WebhookProjectsV2ItemEdited.g.cs | 2 +- ...ls.WebhookProjectsV2ItemEditedChanges.g.cs | 24 - ...ebhookProjectsV2ItemEditedChangesBody.g.cs | 29 - ...ProjectsV2ItemEditedChangesFieldValue.g.cs | 57 - ...okProjectsV2ItemEditedChangesVariant1.g.cs | 24 + ...V2ItemEditedChangesVariant1FieldValue.g.cs | 57 + ...okProjectsV2ItemEditedChangesVariant2.g.cs | 24 + ...ojectsV2ItemEditedChangesVariant2Body.g.cs | 29 + ...WebhookPullRequestAssignedPullRequest.g.cs | 8 +- ...llRequestAssignedPullRequestAssignee2.g.cs | 146 + ...questAssignedPullRequestAssigneeType2.g.cs | 63 + ...llRequestAssignedPullRequestAssignees.g.cs | 146 - ...questAssignedPullRequestAssigneesType.g.cs | 63 - ...okPullRequestAssignedPullRequestLabel.g.cs | 66 + ...kPullRequestAssignedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 63 + ...dPullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...questAssignedPullRequestRequestedTeam.g.cs | 98 + ...ssignedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...signedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...uestAssignedPullRequestRequestedTeams.g.cs | 98 - ...signedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...ignedPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...llRequestAutoMergeDisabledPullRequest.g.cs | 8 +- ...AutoMergeDisabledPullRequestAssignee2.g.cs | 146 + ...MergeDisabledPullRequestAssigneeType2.g.cs | 57 + ...AutoMergeDisabledPullRequestAssignees.g.cs | 146 - ...MergeDisabledPullRequestAssigneesType.g.cs | 57 - ...uestAutoMergeDisabledPullRequestLabel.g.cs | 66 + ...estAutoMergeDisabledPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 63 + ...dPullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...MergeDisabledPullRequestRequestedTeam.g.cs | 98 + ...isabledPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...sabledPullRequestRequestedTeamPrivacy.g.cs | 57 + ...ergeDisabledPullRequestRequestedTeams.g.cs | 98 - ...sabledPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...abledPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...ullRequestAutoMergeEnabledPullRequest.g.cs | 8 +- ...tAutoMergeEnabledPullRequestAssignee2.g.cs | 146 + ...oMergeEnabledPullRequestAssigneeType2.g.cs | 57 + ...tAutoMergeEnabledPullRequestAssignees.g.cs | 146 - ...oMergeEnabledPullRequestAssigneesType.g.cs | 57 - ...questAutoMergeEnabledPullRequestLabel.g.cs | 66 + ...uestAutoMergeEnabledPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 63 + ...dPullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...oMergeEnabledPullRequestRequestedTeam.g.cs | 98 + ...EnabledPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...nabledPullRequestRequestedTeamPrivacy.g.cs | 57 + ...MergeEnabledPullRequestRequestedTeams.g.cs | 98 - ...nabledPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...abledPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...itHub.Models.WebhookPullRequestClosed.g.cs | 6 +- ...s.WebhookPullRequestClosedPullRequest.g.cs | 82 - ...stClosedPullRequestMergeCommitMessage.g.cs | 60 - ...uestClosedPullRequestMergeCommitTitle.g.cs | 53 - ...edPullRequestSquashMergeCommitMessage.g.cs | 60 - ...osedPullRequestSquashMergeCommitTitle.g.cs | 53 - ...ls.WebhookPullRequestConvertedToDraft.g.cs | 6 +- ...ullRequestConvertedToDraftPullRequest.g.cs | 82 - ...dToDraftPullRequestMergeCommitMessage.g.cs | 60 - ...tedToDraftPullRequestMergeCommitTitle.g.cs | 53 - ...ftPullRequestSquashMergeCommitMessage.g.cs | 60 - ...raftPullRequestSquashMergeCommitTitle.g.cs | 53 - ...WebhookPullRequestDequeuedPullRequest.g.cs | 8 +- ...llRequestDequeuedPullRequestAssignee2.g.cs | 146 + ...questDequeuedPullRequestAssigneeType2.g.cs | 57 + ...llRequestDequeuedPullRequestAssignees.g.cs | 146 - ...questDequeuedPullRequestAssigneesType.g.cs | 57 - ...okPullRequestDequeuedPullRequestLabel.g.cs | 66 + ...kPullRequestDequeuedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 57 + ...dPullRequestRequestedReviewerVariant2.g.cs | 98 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...questDequeuedPullRequestRequestedTeam.g.cs | 98 + ...equeuedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...queuedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...uestDequeuedPullRequestRequestedTeams.g.cs | 98 - ...queuedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...ueuedPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...itHub.Models.WebhookPullRequestEdited.g.cs | 6 +- ...s.WebhookPullRequestEditedPullRequest.g.cs | 82 - ...stEditedPullRequestMergeCommitMessage.g.cs | 60 - ...uestEditedPullRequestMergeCommitTitle.g.cs | 53 - ...edPullRequestSquashMergeCommitMessage.g.cs | 60 - ...itedPullRequestSquashMergeCommitTitle.g.cs | 53 - ...WebhookPullRequestEnqueuedPullRequest.g.cs | 8 +- ...llRequestEnqueuedPullRequestAssignee2.g.cs | 146 + ...questEnqueuedPullRequestAssigneeType2.g.cs | 57 + ...llRequestEnqueuedPullRequestAssignees.g.cs | 146 - ...questEnqueuedPullRequestAssigneesType.g.cs | 57 - ...okPullRequestEnqueuedPullRequestLabel.g.cs | 66 + ...kPullRequestEnqueuedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 57 + ...dPullRequestRequestedReviewerVariant2.g.cs | 98 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...questEnqueuedPullRequestRequestedTeam.g.cs | 98 + ...nqueuedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...queuedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...uestEnqueuedPullRequestRequestedTeams.g.cs | 98 - ...queuedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...ueuedPullRequestRequestedTeamsPrivacy.g.cs | 57 - ....WebhookPullRequestLabeledPullRequest.g.cs | 8 +- ...ullRequestLabeledPullRequestAssignee2.g.cs | 146 + ...equestLabeledPullRequestAssigneeType2.g.cs | 63 + ...ullRequestLabeledPullRequestAssignees.g.cs | 146 - ...equestLabeledPullRequestAssigneesType.g.cs | 63 - ...ookPullRequestLabeledPullRequestLabel.g.cs | 66 + ...okPullRequestLabeledPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 63 + ...dPullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...equestLabeledPullRequestRequestedTeam.g.cs | 98 + ...LabeledPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...abeledPullRequestRequestedTeamPrivacy.g.cs | 57 + ...questLabeledPullRequestRequestedTeams.g.cs | 98 - ...abeledPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...beledPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...s.WebhookPullRequestLockedPullRequest.g.cs | 8 +- ...PullRequestLockedPullRequestAssignee2.g.cs | 146 + ...RequestLockedPullRequestAssigneeType2.g.cs | 63 + ...PullRequestLockedPullRequestAssignees.g.cs | 146 - ...RequestLockedPullRequestAssigneesType.g.cs | 63 - ...hookPullRequestLockedPullRequestLabel.g.cs | 66 + ...ookPullRequestLockedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 63 + ...dPullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...RequestLockedPullRequestRequestedTeam.g.cs | 98 + ...tLockedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...LockedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...equestLockedPullRequestRequestedTeams.g.cs | 98 - ...LockedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...ockedPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...itHub.Models.WebhookPullRequestOpened.g.cs | 6 +- ...s.WebhookPullRequestOpenedPullRequest.g.cs | 82 - ...stOpenedPullRequestMergeCommitMessage.g.cs | 60 - ...uestOpenedPullRequestMergeCommitTitle.g.cs | 53 - ...edPullRequestSquashMergeCommitMessage.g.cs | 60 - ...enedPullRequestSquashMergeCommitTitle.g.cs | 53 - ...dels.WebhookPullRequestReadyForReview.g.cs | 6 +- ...kPullRequestReadyForReviewPullRequest.g.cs | 82 - ...orReviewPullRequestMergeCommitMessage.g.cs | 60 - ...yForReviewPullRequestMergeCommitTitle.g.cs | 53 - ...ewPullRequestSquashMergeCommitMessage.g.cs | 60 - ...viewPullRequestSquashMergeCommitTitle.g.cs | 53 - ...Hub.Models.WebhookPullRequestReopened.g.cs | 6 +- ...WebhookPullRequestReopenedPullRequest.g.cs | 82 - ...ReopenedPullRequestMergeCommitMessage.g.cs | 60 - ...stReopenedPullRequestMergeCommitTitle.g.cs | 53 - ...edPullRequestSquashMergeCommitMessage.g.cs | 60 - ...enedPullRequestSquashMergeCommitTitle.g.cs | 53 - ...equestReviewCommentCreatedPullRequest.g.cs | 8 +- ...iewCommentCreatedPullRequestAssignee2.g.cs | 146 + ...ommentCreatedPullRequestAssigneeType2.g.cs | 63 + ...iewCommentCreatedPullRequestAssignees.g.cs | 146 - ...ommentCreatedPullRequestAssigneesType.g.cs | 63 - ...tReviewCommentCreatedPullRequestLabel.g.cs | 66 + ...ReviewCommentCreatedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 63 + ...dPullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...ommentCreatedPullRequestRequestedTeam.g.cs | 98 + ...CreatedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...reatedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...mmentCreatedPullRequestRequestedTeams.g.cs | 98 - ...reatedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...eatedPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...equestReviewCommentDeletedPullRequest.g.cs | 8 +- ...iewCommentDeletedPullRequestAssignee2.g.cs | 146 + ...ommentDeletedPullRequestAssigneeType2.g.cs | 57 + ...iewCommentDeletedPullRequestAssignees.g.cs | 146 - ...ommentDeletedPullRequestAssigneesType.g.cs | 57 - ...tReviewCommentDeletedPullRequestLabel.g.cs | 66 + ...ReviewCommentDeletedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 57 + ...dPullRequestRequestedReviewerVariant2.g.cs | 98 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...ommentDeletedPullRequestRequestedTeam.g.cs | 98 + ...DeletedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...eletedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...mmentDeletedPullRequestRequestedTeams.g.cs | 98 - ...eletedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...letedPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...RequestReviewCommentEditedPullRequest.g.cs | 8 +- ...viewCommentEditedPullRequestAssignee2.g.cs | 146 + ...CommentEditedPullRequestAssigneeType2.g.cs | 57 + ...viewCommentEditedPullRequestAssignees.g.cs | 146 - ...CommentEditedPullRequestAssigneesType.g.cs | 57 - ...stReviewCommentEditedPullRequestLabel.g.cs | 66 + ...tReviewCommentEditedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 57 + ...dPullRequestRequestedReviewerVariant2.g.cs | 98 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...CommentEditedPullRequestRequestedTeam.g.cs | 98 + ...tEditedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...EditedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...ommentEditedPullRequestRequestedTeams.g.cs | 98 - ...EditedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...ditedPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...PullRequestReviewDismissedPullRequest.g.cs | 8 +- ...stReviewDismissedPullRequestAssignee2.g.cs | 146 + ...viewDismissedPullRequestAssigneeType2.g.cs | 63 + ...stReviewDismissedPullRequestAssignees.g.cs | 146 - ...viewDismissedPullRequestAssigneesType.g.cs | 63 - ...equestReviewDismissedPullRequestLabel.g.cs | 66 + ...questReviewDismissedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 63 + ...dPullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...viewDismissedPullRequestRequestedTeam.g.cs | 98 + ...smissedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...missedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...iewDismissedPullRequestRequestedTeams.g.cs | 98 - ...missedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...issedPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...ookPullRequestReviewEditedPullRequest.g.cs | 8 +- ...questReviewEditedPullRequestAssignee2.g.cs | 146 + ...tReviewEditedPullRequestAssigneeType2.g.cs | 63 + ...questReviewEditedPullRequestAssignees.g.cs | 146 - ...tReviewEditedPullRequestAssigneesType.g.cs | 63 - ...llRequestReviewEditedPullRequestLabel.g.cs | 66 + ...lRequestReviewEditedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 63 + ...dPullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...tReviewEditedPullRequestRequestedTeam.g.cs | 98 + ...wEditedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...EditedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...ReviewEditedPullRequestRequestedTeams.g.cs | 98 - ...EditedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...ditedPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...viewRequestRemovedVariant1PullRequest.g.cs | 8 +- ...stRemovedVariant1PullRequestAssignee2.g.cs | 146 + ...movedVariant1PullRequestAssigneeType2.g.cs | 57 + ...stRemovedVariant1PullRequestAssignees.g.cs | 146 - ...movedVariant1PullRequestAssigneesType.g.cs | 57 - ...equestRemovedVariant1PullRequestLabel.g.cs | 66 + ...questRemovedVariant1PullRequestLabels.g.cs | 66 - ...1PullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 57 + ...1PullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...movedVariant1PullRequestRequestedTeam.g.cs | 107 + ...ariant1PullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...riant1PullRequestRequestedTeamPrivacy.g.cs | 57 + ...ovedVariant1PullRequestRequestedTeams.g.cs | 107 - ...riant1PullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...iant1PullRequestRequestedTeamsPrivacy.g.cs | 57 - ...viewRequestRemovedVariant2PullRequest.g.cs | 8 +- ...stRemovedVariant2PullRequestAssignee2.g.cs | 146 + ...movedVariant2PullRequestAssigneeType2.g.cs | 57 + ...stRemovedVariant2PullRequestAssignees.g.cs | 146 - ...movedVariant2PullRequestAssigneesType.g.cs | 57 - ...equestRemovedVariant2PullRequestLabel.g.cs | 66 + ...questRemovedVariant2PullRequestLabels.g.cs | 66 - ...2PullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 57 + ...2PullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...movedVariant2PullRequestRequestedTeam.g.cs | 107 + ...ariant2PullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...riant2PullRequestRequestedTeamPrivacy.g.cs | 57 + ...ovedVariant2PullRequestRequestedTeams.g.cs | 107 - ...riant2PullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...iant2PullRequestRequestedTeamsPrivacy.g.cs | 57 - ...estReviewRequestedVariant1PullRequest.g.cs | 8 +- ...RequestedVariant1PullRequestAssignee2.g.cs | 146 + ...estedVariant1PullRequestAssigneeType2.g.cs | 63 + ...RequestedVariant1PullRequestAssignees.g.cs | 146 - ...estedVariant1PullRequestAssigneesType.g.cs | 63 - ...viewRequestedVariant1PullRequestLabel.g.cs | 66 + ...iewRequestedVariant1PullRequestLabels.g.cs | 66 - ...1PullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 57 + ...1PullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...estedVariant1PullRequestRequestedTeam.g.cs | 98 + ...ariant1PullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...riant1PullRequestRequestedTeamPrivacy.g.cs | 57 + ...stedVariant1PullRequestRequestedTeams.g.cs | 98 - ...riant1PullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...iant1PullRequestRequestedTeamsPrivacy.g.cs | 57 - ...estReviewRequestedVariant2PullRequest.g.cs | 8 +- ...RequestedVariant2PullRequestAssignee2.g.cs | 146 + ...estedVariant2PullRequestAssigneeType2.g.cs | 63 + ...RequestedVariant2PullRequestAssignees.g.cs | 146 - ...estedVariant2PullRequestAssigneesType.g.cs | 63 - ...viewRequestedVariant2PullRequestLabel.g.cs | 66 + ...iewRequestedVariant2PullRequestLabels.g.cs | 66 - ...2PullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 57 + ...2PullRequestRequestedReviewerVariant2.g.cs | 98 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...estedVariant2PullRequestRequestedTeam.g.cs | 98 + ...ariant2PullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...riant2PullRequestRequestedTeamPrivacy.g.cs | 57 + ...stedVariant2PullRequestRequestedTeams.g.cs | 98 - ...riant2PullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...iant2PullRequestRequestedTeamsPrivacy.g.cs | 57 - ...PullRequestReviewSubmittedPullRequest.g.cs | 8 +- ...stReviewSubmittedPullRequestAssignee2.g.cs | 146 + ...viewSubmittedPullRequestAssigneeType2.g.cs | 63 + ...stReviewSubmittedPullRequestAssignees.g.cs | 146 - ...viewSubmittedPullRequestAssigneesType.g.cs | 63 - ...equestReviewSubmittedPullRequestLabel.g.cs | 66 + ...questReviewSubmittedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 63 + ...dPullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...viewSubmittedPullRequestRequestedTeam.g.cs | 98 + ...bmittedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...mittedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...iewSubmittedPullRequestRequestedTeams.g.cs | 98 - ...mittedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...ittedPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...equestReviewThreadResolvedPullRequest.g.cs | 8 +- ...iewThreadResolvedPullRequestAssignee2.g.cs | 146 + ...hreadResolvedPullRequestAssigneeType2.g.cs | 57 + ...iewThreadResolvedPullRequestAssignees.g.cs | 146 - ...hreadResolvedPullRequestAssigneesType.g.cs | 57 - ...tReviewThreadResolvedPullRequestLabel.g.cs | 66 + ...ReviewThreadResolvedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 63 + ...dPullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...hreadResolvedPullRequestRequestedTeam.g.cs | 98 + ...esolvedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...solvedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...readResolvedPullRequestRequestedTeams.g.cs | 98 - ...solvedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...olvedPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...PullRequestReviewThreadResolvedThread.g.cs | 2 +- ...uestReviewThreadResolvedThreadComment.g.cs | 209 + ...esolvedThreadCommentAuthorAssociation.g.cs | 87 + ...eviewThreadResolvedThreadCommentLinks.g.cs | 38 + ...wThreadResolvedThreadCommentLinksHtml.g.cs | 24 + ...ResolvedThreadCommentLinksPullRequest.g.cs | 24 + ...wThreadResolvedThreadCommentLinksSelf.g.cs | 24 + ...wThreadResolvedThreadCommentReactions.g.cs | 87 + ...ReviewThreadResolvedThreadCommentSide.g.cs | 51 + ...wThreadResolvedThreadCommentStartSide.g.cs | 52 + ...hreadResolvedThreadCommentSubjectType.g.cs | 51 + ...ReviewThreadResolvedThreadCommentUser.g.cs | 146 + ...ewThreadResolvedThreadCommentUserType.g.cs | 63 + ...estReviewThreadResolvedThreadComments.g.cs | 209 - ...solvedThreadCommentsAuthorAssociation.g.cs | 87 - ...viewThreadResolvedThreadCommentsLinks.g.cs | 38 - ...ThreadResolvedThreadCommentsLinksHtml.g.cs | 24 - ...esolvedThreadCommentsLinksPullRequest.g.cs | 24 - ...ThreadResolvedThreadCommentsLinksSelf.g.cs | 24 - ...ThreadResolvedThreadCommentsReactions.g.cs | 87 - ...eviewThreadResolvedThreadCommentsSide.g.cs | 51 - ...ThreadResolvedThreadCommentsStartSide.g.cs | 52 - ...readResolvedThreadCommentsSubjectType.g.cs | 51 - ...eviewThreadResolvedThreadCommentsUser.g.cs | 146 - ...wThreadResolvedThreadCommentsUserType.g.cs | 63 - ...uestReviewThreadUnresolvedPullRequest.g.cs | 8 +- ...wThreadUnresolvedPullRequestAssignee2.g.cs | 146 + ...eadUnresolvedPullRequestAssigneeType2.g.cs | 57 + ...wThreadUnresolvedPullRequestAssignees.g.cs | 146 - ...eadUnresolvedPullRequestAssigneesType.g.cs | 57 - ...eviewThreadUnresolvedPullRequestLabel.g.cs | 66 + ...viewThreadUnresolvedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 57 + ...dPullRequestRequestedReviewerVariant2.g.cs | 98 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...eadUnresolvedPullRequestRequestedTeam.g.cs | 98 + ...esolvedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...solvedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...adUnresolvedPullRequestRequestedTeams.g.cs | 98 - ...solvedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...olvedPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...llRequestReviewThreadUnresolvedThread.g.cs | 2 +- ...stReviewThreadUnresolvedThreadComment.g.cs | 209 + ...esolvedThreadCommentAuthorAssociation.g.cs | 87 + ...iewThreadUnresolvedThreadCommentLinks.g.cs | 38 + ...hreadUnresolvedThreadCommentLinksHtml.g.cs | 24 + ...resolvedThreadCommentLinksPullRequest.g.cs | 24 + ...hreadUnresolvedThreadCommentLinksSelf.g.cs | 24 + ...hreadUnresolvedThreadCommentReactions.g.cs | 87 + ...viewThreadUnresolvedThreadCommentSide.g.cs | 51 + ...hreadUnresolvedThreadCommentStartSide.g.cs | 52 + ...eadUnresolvedThreadCommentSubjectType.g.cs | 51 + ...viewThreadUnresolvedThreadCommentUser.g.cs | 146 + ...ThreadUnresolvedThreadCommentUserType.g.cs | 57 + ...tReviewThreadUnresolvedThreadComments.g.cs | 209 - ...solvedThreadCommentsAuthorAssociation.g.cs | 87 - ...ewThreadUnresolvedThreadCommentsLinks.g.cs | 38 - ...readUnresolvedThreadCommentsLinksHtml.g.cs | 24 - ...esolvedThreadCommentsLinksPullRequest.g.cs | 24 - ...readUnresolvedThreadCommentsLinksSelf.g.cs | 24 - ...readUnresolvedThreadCommentsReactions.g.cs | 87 - ...iewThreadUnresolvedThreadCommentsSide.g.cs | 51 - ...readUnresolvedThreadCommentsStartSide.g.cs | 52 - ...adUnresolvedThreadCommentsSubjectType.g.cs | 51 - ...iewThreadUnresolvedThreadCommentsUser.g.cs | 146 - ...hreadUnresolvedThreadCommentsUserType.g.cs | 57 - ...hookPullRequestSynchronizePullRequest.g.cs | 8 +- ...equestSynchronizePullRequestAssignee2.g.cs | 146 + ...stSynchronizePullRequestAssigneeType2.g.cs | 63 + ...equestSynchronizePullRequestAssignees.g.cs | 146 - ...stSynchronizePullRequestAssigneesType.g.cs | 63 - ...ullRequestSynchronizePullRequestLabel.g.cs | 66 + ...llRequestSynchronizePullRequestLabels.g.cs | 66 - ...ePullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 63 + ...ePullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...stSynchronizePullRequestRequestedTeam.g.cs | 98 + ...hronizePullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...ronizePullRequestRequestedTeamPrivacy.g.cs | 57 + ...tSynchronizePullRequestRequestedTeams.g.cs | 98 - ...ronizePullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...onizePullRequestRequestedTeamsPrivacy.g.cs | 57 - ...bhookPullRequestUnassignedPullRequest.g.cs | 8 +- ...RequestUnassignedPullRequestAssignee2.g.cs | 146 + ...estUnassignedPullRequestAssigneeType2.g.cs | 63 + ...RequestUnassignedPullRequestAssignees.g.cs | 146 - ...estUnassignedPullRequestAssigneesType.g.cs | 63 - ...PullRequestUnassignedPullRequestLabel.g.cs | 66 + ...ullRequestUnassignedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 63 + ...dPullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...estUnassignedPullRequestRequestedTeam.g.cs | 98 + ...ssignedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...signedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...stUnassignedPullRequestRequestedTeams.g.cs | 98 - ...signedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...ignedPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...ebhookPullRequestUnlabeledPullRequest.g.cs | 8 +- ...lRequestUnlabeledPullRequestAssignee2.g.cs | 146 + ...uestUnlabeledPullRequestAssigneeType2.g.cs | 63 + ...lRequestUnlabeledPullRequestAssignees.g.cs | 146 - ...uestUnlabeledPullRequestAssigneesType.g.cs | 63 - ...kPullRequestUnlabeledPullRequestLabel.g.cs | 66 + ...PullRequestUnlabeledPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 63 + ...dPullRequestRequestedReviewerVariant2.g.cs | 107 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...uestUnlabeledPullRequestRequestedTeam.g.cs | 98 + ...labeledPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...abeledPullRequestRequestedTeamPrivacy.g.cs | 57 + ...estUnlabeledPullRequestRequestedTeams.g.cs | 98 - ...abeledPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...beledPullRequestRequestedTeamsPrivacy.g.cs | 57 - ...WebhookPullRequestUnlockedPullRequest.g.cs | 8 +- ...llRequestUnlockedPullRequestAssignee2.g.cs | 146 + ...questUnlockedPullRequestAssigneeType2.g.cs | 57 + ...llRequestUnlockedPullRequestAssignees.g.cs | 146 - ...questUnlockedPullRequestAssigneesType.g.cs | 57 - ...okPullRequestUnlockedPullRequestLabel.g.cs | 66 + ...kPullRequestUnlockedPullRequestLabels.g.cs | 66 - ...dPullRequestRequestedReviewerVariant1.g.cs | 146 + ...lRequestRequestedReviewerVariant1Type.g.cs | 57 + ...dPullRequestRequestedReviewerVariant2.g.cs | 98 + ...equestRequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...questRequestedReviewerVariant2Privacy.g.cs | 57 + ...questUnlockedPullRequestRequestedTeam.g.cs | 98 + ...nlockedPullRequestRequestedTeamParent.g.cs | 95 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 57 + ...lockedPullRequestRequestedTeamPrivacy.g.cs | 57 + ...uestUnlockedPullRequestRequestedTeams.g.cs | 98 - ...lockedPullRequestRequestedTeamsParent.g.cs | 95 - ...ullRequestRequestedTeamsParentPrivacy.g.cs | 57 - ...ockedPullRequestRequestedTeamsPrivacy.g.cs | 57 - .../Generated/GitHub.Models.WebhookPush.g.cs | 2 +- .../GitHub.Models.WebhookPushCommit.g.cs | 91 + ...GitHub.Models.WebhookPushCommitAuthor.g.cs | 43 + ...Hub.Models.WebhookPushCommitCommitter.g.cs | 43 + .../GitHub.Models.WebhookPushCommits.g.cs | 91 - ...itHub.Models.WebhookPushCommitsAuthor.g.cs | 43 - ...ub.Models.WebhookPushCommitsCommitter.g.cs | 43 - .../GitHub.Models.WebhookPushHeadCommit.g.cs | 6 +- .../GitHub.Models.WebhookPushRepository.g.cs | 2 +- ...WebhookPushRepositoryCustomProperties.g.cs | 18 + ...ublishedRegistryPackagePackageVersion.g.cs | 10 +- ...shedRegistryPackagePackageVersionBody.g.cs | 18 + ...ackagePackageVersionContainerMetadata.g.cs | 4 +- ...PackageVersionContainerMetadataLabels.g.cs | 18 + ...ckageVersionContainerMetadataManifest.g.cs | 18 + ...ryPackagePackageVersionDockerMetadata.g.cs | 23 - ...ckagePackageVersionDockerMetadataItem.g.cs | 23 + ...stryPackagePackageVersionMetadataItem.g.cs | 18 + ...istryPackagePackageVersionNpmMetadata.g.cs | 38 +- ...ackagePackageVersionNpmMetadataAuthor.g.cs | 18 + ...ryPackagePackageVersionNpmMetadataBin.g.cs | 18 + ...yPackagePackageVersionNpmMetadataBugs.g.cs | 18 + ...PackageVersionNpmMetadataDependencies.g.cs | 18 + ...kageVersionNpmMetadataDevDependencies.g.cs | 18 + ...ePackageVersionNpmMetadataDirectories.g.cs | 18 + ...yPackagePackageVersionNpmMetadataDist.g.cs | 18 + ...ckagePackageVersionNpmMetadataEngines.g.cs | 18 + ...ryPackagePackageVersionNpmMetadataMan.g.cs | 18 + ...ersionNpmMetadataOptionalDependencies.g.cs | 18 + ...ageVersionNpmMetadataPeerDependencies.g.cs | 18 + ...gePackageVersionNpmMetadataRepository.g.cs | 18 + ...ckagePackageVersionNpmMetadataScripts.g.cs | 18 + ...tryPackagePackageVersionNugetMetadata.g.cs | 39 - ...ackagePackageVersionNugetMetadataItem.g.cs | 39 + ...kagePackageVersionNugetMetadataItemId.g.cs | 18 + ...ePackageVersionNugetMetadataItemValue.g.cs | 41 + ...ckagePackageVersionNugetMetadataValue.g.cs | 41 - ...istryPackagePackageVersionPackageFile.g.cs | 94 + ...stryPackagePackageVersionPackageFiles.g.cs | 94 - ...RegistryPackageUpdatedRegistryPackage.g.cs | 4 +- ...kageUpdatedRegistryPackageDescription.g.cs | 18 + ...eUpdatedRegistryPackagePackageVersion.g.cs | 6 +- ...ryPackagePackageVersionDockerMetadata.g.cs | 23 - ...ckagePackageVersionDockerMetadataItem.g.cs | 23 + ...stryPackagePackageVersionMetadataItem.g.cs | 18 + ...istryPackagePackageVersionPackageFile.g.cs | 83 + ...stryPackagePackageVersionPackageFiles.g.cs | 83 - ...PackageUpdatedRegistryPackageRegistry.g.cs | 18 + ...dels.WebhookReleasePrereleasedRelease.g.cs | 2 +- ...WebhookReleasePrereleasedReleaseAsset.g.cs | 108 + ...okReleasePrereleasedReleaseAssetState.g.cs | 45 + ...eleasePrereleasedReleaseAssetUploader.g.cs | 146 + ...sePrereleasedReleaseAssetUploaderType.g.cs | 57 + ...ebhookReleasePrereleasedReleaseAssets.g.cs | 108 - ...kReleasePrereleasedReleaseAssetsState.g.cs | 45 - ...leasePrereleasedReleaseAssetsUploader.g.cs | 146 - ...ePrereleasedReleaseAssetsUploaderType.g.cs | 57 - ...odels.WebhookRepositoryDispatchSample.g.cs | 2 +- ...RepositoryDispatchSampleClientPayload.g.cs | 18 + ....WebhookRepositoryEditedChangesTopics.g.cs | 2 +- ...ositoryRulesetEditedChangesConditions.g.cs | 2 +- ...RulesetEditedChangesConditionsUpdated.g.cs | 29 - ...EditedChangesConditionsUpdatedChanges.g.cs | 41 - ...ConditionsUpdatedChangesConditionType.g.cs | 23 - ...hangesConditionsUpdatedChangesExclude.g.cs | 23 - ...hangesConditionsUpdatedChangesInclude.g.cs | 23 - ...ChangesConditionsUpdatedChangesTarget.g.cs | 23 - ...setEditedChangesConditionsUpdatedItem.g.cs | 29 + ...edChangesConditionsUpdatedItemChanges.g.cs | 41 + ...itionsUpdatedItemChangesConditionType.g.cs | 23 + ...esConditionsUpdatedItemChangesExclude.g.cs | 23 + ...esConditionsUpdatedItemChangesInclude.g.cs | 23 + ...gesConditionsUpdatedItemChangesTarget.g.cs | 23 + ...okRepositoryRulesetEditedChangesRules.g.cs | 2 +- ...itoryRulesetEditedChangesRulesUpdated.g.cs | 30 - ...lesetEditedChangesRulesUpdatedChanges.g.cs | 35 - ...angesRulesUpdatedChangesConfiguration.g.cs | 23 - ...itedChangesRulesUpdatedChangesPattern.g.cs | 23 - ...tedChangesRulesUpdatedChangesRuleType.g.cs | 23 - ...yRulesetEditedChangesRulesUpdatedItem.g.cs | 30 + ...tEditedChangesRulesUpdatedItemChanges.g.cs | 35 + ...sRulesUpdatedItemChangesConfiguration.g.cs | 23 + ...ChangesRulesUpdatedItemChangesPattern.g.cs | 23 + ...hangesRulesUpdatedItemChangesRuleType.g.cs | 23 + ...yRulesetEditedChangesRulesUpdatedRule.g.cs | 33 - ...itedChangesRulesUpdatedRuleParameters.g.cs | 24 - ...esetEditedChangesRulesUpdatedRuleType.g.cs | 45 - ...GitHub.Models.WebhookRubygemsMetadata.g.cs | 4 +- ...ls.WebhookRubygemsMetadataDependencie.g.cs | 18 + ...odels.WebhookRubygemsMetadataMetadata.g.cs | 18 + ...rityAdvisoryWithdrawnSecurityAdvisory.g.cs | 8 +- ...yAdvisoryWithdrawnSecurityAdvisoryCwe.g.cs | 31 + ...AdvisoryWithdrawnSecurityAdvisoryCwes.g.cs | 31 - ...ryWithdrawnSecurityAdvisoryIdentifier.g.cs | 31 + ...yWithdrawnSecurityAdvisoryIdentifiers.g.cs | 31 - ...oryWithdrawnSecurityAdvisoryReference.g.cs | 24 + ...ryWithdrawnSecurityAdvisoryReferences.g.cs | 24 - ...thdrawnSecurityAdvisoryVulnerabilitie.g.cs | 45 + ...soryVulnerabilitieFirstPatchedVersion.g.cs | 24 + ...SecurityAdvisoryVulnerabilitiePackage.g.cs | 31 + ...hdrawnSecurityAdvisoryVulnerabilities.g.cs | 45 - ...oryVulnerabilitiesFirstPatchedVersion.g.cs | 24 - ...ecurityAdvisoryVulnerabilitiesPackage.g.cs | 31 - .../GitHub.Models.WebhookStarDeleted.g.cs | 2 +- ...ub.Models.WebhookStarDeletedStarredAt.g.cs | 18 + .../GitHub.Models.WebhookStatus.g.cs | 2 +- .../GitHub.Models.WebhookStatusBranche.g.cs | 38 + ...Hub.Models.WebhookStatusBrancheCommit.g.cs | 31 + .../GitHub.Models.WebhookStatusBranches.g.cs | 38 - ...ub.Models.WebhookStatusBranchesCommit.g.cs | 31 - .../GitHub.Models.WebhookStatusCommit.g.cs | 2 +- ...tHub.Models.WebhookStatusCommitCommit.g.cs | 4 +- ...odels.WebhookStatusCommitCommitAuthor.g.cs | 43 - ...bhookStatusCommitCommitAuthorVariant1.g.cs | 43 + ...bhookStatusCommitCommitAuthorVariant2.g.cs | 36 + ...ls.WebhookStatusCommitCommitCommitter.g.cs | 43 - ...okStatusCommitCommitCommitterVariant1.g.cs | 43 + ...okStatusCommitCommitCommitterVariant2.g.cs | 36 + ...tHub.Models.WebhookStatusCommitParent.g.cs | 38 + ...Hub.Models.WebhookStatusCommitParents.g.cs | 38 - ...ebhookTeamAddedToRepositoryRepository.g.cs | 2 +- ...oRepositoryRepositoryCustomProperties.g.cs | 18 + ...b.Models.WebhookTeamCreatedRepository.g.cs | 2 +- ...TeamCreatedRepositoryCustomProperties.g.cs | 18 + ...b.Models.WebhookTeamDeletedRepository.g.cs | 2 +- ...TeamDeletedRepositoryCustomProperties.g.cs | 18 + ...ub.Models.WebhookTeamEditedRepository.g.cs | 2 +- ...kTeamEditedRepositoryCustomProperties.g.cs | 18 + ...okTeamRemovedFromRepositoryRepository.g.cs | 2 +- ...mRepositoryRepositoryCustomProperties.g.cs | 18 + ...GitHub.Models.WebhookWorkflowDispatch.g.cs | 2 +- ....Models.WebhookWorkflowDispatchInputs.g.cs | 18 + ...ub.Models.WebhookWorkflowJobCompleted.g.cs | 2 +- ...ebhookWorkflowJobCompletedWorkflowJob.g.cs | 180 - ...flowJobCompletedWorkflowJobConclusion.g.cs | 81 - ...WorkflowJobCompletedWorkflowJobStatus.g.cs | 63 - ...kWorkflowJobCompletedWorkflowJobSteps.g.cs | 61 - ...obCompletedWorkflowJobStepsConclusion.g.cs | 63 - ...lowJobCompletedWorkflowJobStepsStatus.g.cs | 57 - ...rkflowJobCompletedWorkflowJobVariant1.g.cs | 180 + ...ompletedWorkflowJobVariant1Conclusion.g.cs | 81 + ...JobCompletedWorkflowJobVariant1Status.g.cs | 63 + ...owJobCompletedWorkflowJobVariant1Step.g.cs | 61 + ...etedWorkflowJobVariant1StepConclusion.g.cs | 63 + ...ompletedWorkflowJobVariant1StepStatus.g.cs | 57 + ...rkflowJobCompletedWorkflowJobVariant2.g.cs | 157 + ...ompletedWorkflowJobVariant2Conclusion.g.cs | 81 + ...owJobCompletedWorkflowJobVariant2Step.g.cs | 18 + ...b.Models.WebhookWorkflowJobInProgress.g.cs | 2 +- ...bhookWorkflowJobInProgressWorkflowJob.g.cs | 180 - ...lowJobInProgressWorkflowJobConclusion.g.cs | 63 - ...orkflowJobInProgressWorkflowJobStatus.g.cs | 57 - ...WorkflowJobInProgressWorkflowJobSteps.g.cs | 61 - ...bInProgressWorkflowJobStepsConclusion.g.cs | 63 - ...owJobInProgressWorkflowJobStepsStatus.g.cs | 63 - ...kflowJobInProgressWorkflowJobVariant1.g.cs | 180 + ...ProgressWorkflowJobVariant1Conclusion.g.cs | 63 + ...obInProgressWorkflowJobVariant1Status.g.cs | 57 + ...wJobInProgressWorkflowJobVariant1Step.g.cs | 61 + ...ressWorkflowJobVariant1StepConclusion.g.cs | 63 + ...ProgressWorkflowJobVariant1StepStatus.g.cs | 63 + ...kflowJobInProgressWorkflowJobVariant2.g.cs | 158 + ...obInProgressWorkflowJobVariant2Status.g.cs | 57 + ...wJobInProgressWorkflowJobVariant2Step.g.cs | 60 + ...ProgressWorkflowJobVariant2StepStatus.g.cs | 63 + ...s.WebhookWorkflowJobQueuedWorkflowJob.g.cs | 2 +- ...bhookWorkflowJobQueuedWorkflowJobStep.g.cs | 61 + ...lowJobQueuedWorkflowJobStepConclusion.g.cs | 63 + ...orkflowJobQueuedWorkflowJobStepStatus.g.cs | 63 + ...hookWorkflowJobQueuedWorkflowJobSteps.g.cs | 61 - ...owJobQueuedWorkflowJobStepsConclusion.g.cs | 63 - ...rkflowJobQueuedWorkflowJobStepsStatus.g.cs | 63 - ....WebhookWorkflowJobWaitingWorkflowJob.g.cs | 2 +- ...hookWorkflowJobWaitingWorkflowJobStep.g.cs | 61 + ...owJobWaitingWorkflowJobStepConclusion.g.cs | 63 + ...rkflowJobWaitingWorkflowJobStepStatus.g.cs | 69 + ...ookWorkflowJobWaitingWorkflowJobSteps.g.cs | 61 - ...wJobWaitingWorkflowJobStepsConclusion.g.cs | 63 - ...kflowJobWaitingWorkflowJobStepsStatus.g.cs | 69 - ...ebhookWorkflowRunCompletedWorkflowRun.g.cs | 4 +- ...lowRunCompletedWorkflowRunPullRequest.g.cs | 52 + ...unCompletedWorkflowRunPullRequestBase.g.cs | 38 + ...mpletedWorkflowRunPullRequestBaseRepo.g.cs | 38 + ...unCompletedWorkflowRunPullRequestHead.g.cs | 38 + ...mpletedWorkflowRunPullRequestHeadRepo.g.cs | 38 + ...owRunCompletedWorkflowRunPullRequests.g.cs | 52 - ...nCompletedWorkflowRunPullRequestsBase.g.cs | 38 - ...pletedWorkflowRunPullRequestsBaseRepo.g.cs | 38 - ...nCompletedWorkflowRunPullRequestsHead.g.cs | 38 - ...pletedWorkflowRunPullRequestsHeadRepo.g.cs | 38 - ...ompletedWorkflowRunReferencedWorkflow.g.cs | 37 + ...mpletedWorkflowRunReferencedWorkflows.g.cs | 37 - ...bhookWorkflowRunInProgressWorkflowRun.g.cs | 4 +- ...owRunInProgressWorkflowRunPullRequest.g.cs | 52 + ...nInProgressWorkflowRunPullRequestBase.g.cs | 38 + ...rogressWorkflowRunPullRequestBaseRepo.g.cs | 38 + ...nInProgressWorkflowRunPullRequestHead.g.cs | 38 + ...rogressWorkflowRunPullRequestHeadRepo.g.cs | 38 + ...wRunInProgressWorkflowRunPullRequests.g.cs | 52 - ...InProgressWorkflowRunPullRequestsBase.g.cs | 38 - ...ogressWorkflowRunPullRequestsBaseRepo.g.cs | 38 - ...InProgressWorkflowRunPullRequestsHead.g.cs | 38 - ...ogressWorkflowRunPullRequestsHeadRepo.g.cs | 38 - ...ProgressWorkflowRunReferencedWorkflow.g.cs | 37 + ...rogressWorkflowRunReferencedWorkflows.g.cs | 37 - ...ebhookWorkflowRunRequestedWorkflowRun.g.cs | 4 +- ...lowRunRequestedWorkflowRunPullRequest.g.cs | 52 + ...unRequestedWorkflowRunPullRequestBase.g.cs | 38 + ...questedWorkflowRunPullRequestBaseRepo.g.cs | 38 + ...unRequestedWorkflowRunPullRequestHead.g.cs | 38 + ...questedWorkflowRunPullRequestHeadRepo.g.cs | 38 + ...owRunRequestedWorkflowRunPullRequests.g.cs | 52 - ...nRequestedWorkflowRunPullRequestsBase.g.cs | 38 - ...uestedWorkflowRunPullRequestsBaseRepo.g.cs | 38 - ...nRequestedWorkflowRunPullRequestsHead.g.cs | 38 - ...uestedWorkflowRunPullRequestsHeadRepo.g.cs | 38 - ...equestedWorkflowRunReferencedWorkflow.g.cs | 37 + ...questedWorkflowRunReferencedWorkflows.g.cs | 37 - .../GitHub.Models.WebhooksAnswer.g.cs | 2 +- .../GitHub.Models.WebhooksAnswerParentId.g.cs | 18 + .../GitHub.Models.WebhooksIssue.g.cs | 4 +- .../GitHub.Models.WebhooksIssue2.g.cs | 4 +- ...GitHub.Models.WebhooksIssue2Assignee2.g.cs | 146 + ...ub.Models.WebhooksIssue2AssigneeType2.g.cs | 57 + ...GitHub.Models.WebhooksIssue2Assignees.g.cs | 146 - ...ub.Models.WebhooksIssue2AssigneesType.g.cs | 57 - .../GitHub.Models.WebhooksIssue2Label.g.cs | 66 + .../GitHub.Models.WebhooksIssue2Labels.g.cs | 66 - ...s.WebhooksIssue2PerformedViaGithubApp.g.cs | 2 +- ...hooksIssue2PerformedViaGithubAppEvent.g.cs | 309 + ...ooksIssue2PerformedViaGithubAppEvents.g.cs | 309 - .../GitHub.Models.WebhooksIssueAssignee2.g.cs | 146 + ...Hub.Models.WebhooksIssueAssigneeType2.g.cs | 63 + .../GitHub.Models.WebhooksIssueAssignees.g.cs | 146 - ...Hub.Models.WebhooksIssueAssigneesType.g.cs | 63 - .../GitHub.Models.WebhooksIssueLabel.g.cs | 66 + .../GitHub.Models.WebhooksIssueLabels.g.cs | 66 - ...ls.WebhooksIssuePerformedViaGithubApp.g.cs | 2 +- ...bhooksIssuePerformedViaGithubAppEvent.g.cs | 321 + ...hooksIssuePerformedViaGithubAppEvents.g.cs | 321 - ...odels.WebhooksMarketplacePurchasePlan.g.cs | 2 +- ...s.WebhooksPreviousMarketplacePurchase.g.cs | 2 +- ...ousMarketplacePurchaseFreeTrialEndsOn.g.cs | 18 + .../GitHub.Models.WebhooksPullRequest5.g.cs | 8 +- ....Models.WebhooksPullRequest5Assignee2.g.cs | 146 + ...els.WebhooksPullRequest5AssigneeType2.g.cs | 63 + ....Models.WebhooksPullRequest5Assignees.g.cs | 146 - ...els.WebhooksPullRequest5AssigneesType.g.cs | 63 - ...tHub.Models.WebhooksPullRequest5Label.g.cs | 66 + ...Hub.Models.WebhooksPullRequest5Labels.g.cs | 66 - ...PullRequest5RequestedReviewerVariant1.g.cs | 146 + ...Request5RequestedReviewerVariant1Type.g.cs | 57 + ...PullRequest5RequestedReviewerVariant2.g.cs | 98 + ...quest5RequestedReviewerVariant2Parent.g.cs | 95 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 57 + ...uest5RequestedReviewerVariant2Privacy.g.cs | 57 + ...els.WebhooksPullRequest5RequestedTeam.g.cs | 98 + ...bhooksPullRequest5RequestedTeamParent.g.cs | 95 + ...ullRequest5RequestedTeamParentPrivacy.g.cs | 57 + ...hooksPullRequest5RequestedTeamPrivacy.g.cs | 57 + ...ls.WebhooksPullRequest5RequestedTeams.g.cs | 98 - ...hooksPullRequest5RequestedTeamsParent.g.cs | 95 - ...llRequest5RequestedTeamsParentPrivacy.g.cs | 57 - ...ooksPullRequest5RequestedTeamsPrivacy.g.cs | 57 - .../GitHub.Models.WebhooksRelease.g.cs | 2 +- .../GitHub.Models.WebhooksRelease1.g.cs | 2 +- .../GitHub.Models.WebhooksRelease1Asset.g.cs | 108 + ...Hub.Models.WebhooksRelease1AssetState.g.cs | 45 + ....Models.WebhooksRelease1AssetUploader.g.cs | 146 + ...els.WebhooksRelease1AssetUploaderType.g.cs | 57 + .../GitHub.Models.WebhooksRelease1Assets.g.cs | 108 - ...ub.Models.WebhooksRelease1AssetsState.g.cs | 45 - ...Models.WebhooksRelease1AssetsUploader.g.cs | 146 - ...ls.WebhooksRelease1AssetsUploaderType.g.cs | 57 - .../GitHub.Models.WebhooksReleaseAsset.g.cs | 108 + ...tHub.Models.WebhooksReleaseAssetState.g.cs | 45 + ...b.Models.WebhooksReleaseAssetUploader.g.cs | 146 + ...dels.WebhooksReleaseAssetUploaderType.g.cs | 57 + .../GitHub.Models.WebhooksReleaseAssets.g.cs | 108 - ...Hub.Models.WebhooksReleaseAssetsState.g.cs | 45 - ....Models.WebhooksReleaseAssetsUploader.g.cs | 146 - ...els.WebhooksReleaseAssetsUploaderType.g.cs | 57 - .../GitHub.Models.WebhooksRepositorie.g.cs | 52 + .../GitHub.Models.WebhooksRepositories.g.cs | 52 - ...tHub.Models.WebhooksRepositoriesAdded.g.cs | 52 - ....Models.WebhooksRepositoriesAddedItem.g.cs | 52 + .../GitHub.Models.WebhooksReviewer.g.cs | 30 + ...itHub.Models.WebhooksReviewerReviewer.g.cs | 146 + ...b.Models.WebhooksReviewerReviewerType.g.cs | 57 + .../GitHub.Models.WebhooksReviewerType.g.cs | 45 + .../GitHub.Models.WebhooksReviewers.g.cs | 30 - ...tHub.Models.WebhooksReviewersReviewer.g.cs | 146 - ....Models.WebhooksReviewersReviewerType.g.cs | 57 - .../GitHub.Models.WebhooksReviewersType.g.cs | 45 - ...itHub.Models.WebhooksSecurityAdvisory.g.cs | 8 +- ...ub.Models.WebhooksSecurityAdvisoryCwe.g.cs | 31 + ...b.Models.WebhooksSecurityAdvisoryCwes.g.cs | 31 - ...ls.WebhooksSecurityAdvisoryIdentifier.g.cs | 31 + ...s.WebhooksSecurityAdvisoryIdentifiers.g.cs | 31 - ...els.WebhooksSecurityAdvisoryReference.g.cs | 24 + ...ls.WebhooksSecurityAdvisoryReferences.g.cs | 24 - ...ebhooksSecurityAdvisoryVulnerabilitie.g.cs | 45 + ...soryVulnerabilitieFirstPatchedVersion.g.cs | 24 + ...SecurityAdvisoryVulnerabilitiePackage.g.cs | 31 + ...bhooksSecurityAdvisoryVulnerabilities.g.cs | 45 - ...oryVulnerabilitiesFirstPatchedVersion.g.cs | 24 - ...ecurityAdvisoryVulnerabilitiesPackage.g.cs | 31 - .../GitHub.Models.WebhooksWorkflowJobRun.g.cs | 4 +- ...dels.WebhooksWorkflowJobRunConclusion.g.cs | 18 + ...Hub.Models.WebhooksWorkflowJobRunName.g.cs | 18 + ....Models.WorkflowRunUsageBillableMACOS.g.cs | 2 +- ...s.WorkflowRunUsageBillableMACOSJobRun.g.cs | 31 + ....WorkflowRunUsageBillableMACOSJobRuns.g.cs | 31 - ...Models.WorkflowRunUsageBillableUBUNTU.g.cs | 2 +- ....WorkflowRunUsageBillableUBUNTUJobRun.g.cs | 31 + ...WorkflowRunUsageBillableUBUNTUJobRuns.g.cs | 31 - ...odels.WorkflowRunUsageBillableWINDOWS.g.cs | 2 +- ...WorkflowRunUsageBillableWINDOWSJobRun.g.cs | 31 + ...orkflowRunUsageBillableWINDOWSJobRuns.g.cs | 31 - ...rgsConvertMemberToOutsideCollaborator.g.cs | 6 +- ...nt.OrgsCreateOrUpdateCustomProperties.g.cs | 2 +- ...rUpdateCustomPropertiesValuesForRepos.g.cs | 2 +- ...ient.OrgsCreateOrUpdateCustomProperty.g.cs | 4 +- .../GitHub.OrgsClient.OrgsCreateWebhook.g.cs | 2 +- .../GitHub.OrgsClient.OrgsDelete.g.cs | 4 +- ...OrDisableSecurityProductOnAllOrgRepos.g.cs | 16 +- ...itHub.OrgsClient.OrgsListAttestations.g.cs | 12 +- ...rgsListCustomPropertiesValuesForRepos.g.cs | 6 +- .../GitHub.OrgsClient.OrgsListMembers.g.cs | 12 +- ...gsListMembershipsForAuthenticatedUser.g.cs | 6 +- ...gsClient.OrgsListOutsideCollaborators.g.cs | 6 +- ...b.OrgsClient.OrgsListPatGrantRequests.g.cs | 32 +- .../GitHub.OrgsClient.OrgsListPatGrants.g.cs | 32 +- ...OrgsClient.OrgsListPendingInvitations.g.cs | 12 +- ....OrgsClient.OrgsListWebhookDeliveries.g.cs | 6 +- ...gsClient.OrgsRedeliverWebhookDelivery.g.cs | 4 +- .../GitHub.OrgsClient.OrgsUpdate.g.cs | 2 +- ...sUpdateMembershipForAuthenticatedUser.g.cs | 2 +- .../GitHub.OrgsClient.OrgsUpdateWebhook.g.cs | 4 +- ...sClient.OrgsUpdateWebhookConfigForOrg.g.cs | 4 +- ...onsForPackageOwnedByAuthenticatedUser.g.cs | 6 +- ...llPackageVersionsForPackageOwnedByOrg.g.cs | 6 +- ...kagesListPackagesForAuthenticatedUser.g.cs | 6 +- ...t.PackagesListPackagesForOrganization.g.cs | 6 +- ...gesClient.PackagesListPackagesForUser.g.cs | 6 +- ...gesRestorePackageForAuthenticatedUser.g.cs | 6 +- ...esClient.PackagesRestorePackageForOrg.g.cs | 6 +- ...sClient.PackagesRestorePackageForUser.g.cs | 6 +- ...Hub.ProjectsClient.ProjectsCreateCard.g.cs | 18 +- ...tHub.ProjectsClient.ProjectsListCards.g.cs | 6 +- ...jectsClient.ProjectsListCollaborators.g.cs | 6 +- ...Hub.ProjectsClient.ProjectsListForOrg.g.cs | 6 +- ...ub.ProjectsClient.ProjectsListForRepo.g.cs | 6 +- ...ub.ProjectsClient.ProjectsListForUser.g.cs | 6 +- ...itHub.ProjectsClient.ProjectsMoveCard.g.cs | 6 +- ...Hub.ProjectsClient.ProjectsMoveColumn.g.cs | 6 +- .../GitHub.ProjectsClient.ProjectsUpdate.g.cs | 2 +- ...Hub.ProjectsClient.ProjectsUpdateCard.g.cs | 2 +- ...b.ProjectsClient.ProjectsUpdateColumn.g.cs | 2 +- .../GitHub.PullsClient.PullsCreateReview.g.cs | 2 +- .../GitHub.PullsClient.PullsList.g.cs | 30 +- ...b.PullsClient.PullsListReviewComments.g.cs | 12 +- ...Client.PullsListReviewCommentsForRepo.g.cs | 12 +- ...sClient.PullsRemoveRequestedReviewers.g.cs | 2 +- ...Hub.PullsClient.PullsRequestReviewers.g.cs | 12 +- .../GitHub.PullsClient.PullsUpdate.g.cs | 2 +- ....PullsClient.PullsUpdateReviewComment.g.cs | 2 +- ...sClient.ReactionsListForCommitComment.g.cs | 6 +- ...ReactionsClient.ReactionsListForIssue.g.cs | 6 +- ...nsClient.ReactionsListForIssueComment.g.cs | 6 +- ...ctionsListForPullRequestReviewComment.g.cs | 6 +- ...actionsClient.ReactionsListForRelease.g.cs | 6 +- ...ionsListForTeamDiscussionCommentInOrg.g.cs | 6 +- ...onsListForTeamDiscussionCommentLegacy.g.cs | 6 +- ...t.ReactionsListForTeamDiscussionInOrg.g.cs | 6 +- ....ReactionsListForTeamDiscussionLegacy.g.cs | 6 +- ...sAcceptInvitationForAuthenticatedUser.g.cs | 2 +- ...sClient.ReposAddAppAccessRestrictions.g.cs | 17 +- ...posClient.ReposAddStatusCheckContexts.g.cs | 17 +- ...Client.ReposAddTeamAccessRestrictions.g.cs | 17 +- ...Client.ReposAddUserAccessRestrictions.g.cs | 17 +- ...eposClient.ReposCancelPagesDeployment.g.cs | 6 +- ...Hub.ReposClient.ReposCodeownersErrors.g.cs | 6 +- ...Hub.ReposClient.ReposCreateDeployment.g.cs | 4 +- ....ReposClient.ReposCreateDispatchEvent.g.cs | 2 +- .../GitHub.ReposClient.ReposCreateInOrg.g.cs | 2 +- ...sCreateOrUpdateCustomPropertiesValues.g.cs | 2 +- ...Client.ReposCreateOrUpdateEnvironment.g.cs | 2 +- ...tHub.ReposClient.ReposCreatePagesSite.g.cs | 12 +- ...GitHub.ReposClient.ReposCreateWebhook.g.cs | 2 +- .../GitHub.ReposClient.ReposGetClones.g.cs | 6 +- ...eposClient.ReposGetCodeFrequencyStats.g.cs | 4 +- .../GitHub.ReposClient.ReposGetContent.g.cs | 6 +- ...tHub.ReposClient.ReposGetOrgRuleSuite.g.cs | 4 +- ...Hub.ReposClient.ReposGetOrgRuleSuites.g.cs | 28 +- ...b.ReposClient.ReposGetPagesDeployment.g.cs | 6 +- ...ub.ReposClient.ReposGetPunchCardStats.g.cs | 4 +- .../GitHub.ReposClient.ReposGetReadme.g.cs | 6 +- ...ReposClient.ReposGetReadmeInDirectory.g.cs | 6 +- ...Hub.ReposClient.ReposGetRepoRuleSuite.g.cs | 4 +- ...ub.ReposClient.ReposGetRepoRuleSuites.g.cs | 28 +- .../GitHub.ReposClient.ReposGetViews.g.cs | 6 +- ...itHub.ReposClient.ReposListActivities.g.cs | 42 +- ...Hub.ReposClient.ReposListAttestations.g.cs | 12 +- ...ub.ReposClient.ReposListCollaborators.g.cs | 12 +- .../GitHub.ReposClient.ReposListCommits.g.cs | 24 +- ...Hub.ReposClient.ReposListContributors.g.cs | 6 +- ...tHub.ReposClient.ReposListDeployments.g.cs | 18 +- ...sClient.ReposListForAuthenticatedUser.g.cs | 30 +- .../GitHub.ReposClient.ReposListForOrg.g.cs | 18 +- .../GitHub.ReposClient.ReposListForUser.g.cs | 18 +- .../GitHub.ReposClient.ReposListForks.g.cs | 6 +- ...eposClient.ReposListWebhookDeliveries.g.cs | 6 +- ...sClient.ReposRedeliverWebhookDelivery.g.cs | 4 +- ...ient.ReposRemoveAppAccessRestrictions.g.cs | 17 +- ...Client.ReposRemoveStatusCheckContexts.g.cs | 17 +- ...ent.ReposRemoveTeamAccessRestrictions.g.cs | 17 +- ...ent.ReposRemoveUserAccessRestrictions.g.cs | 17 +- ...sClient.ReposSetAppAccessRestrictions.g.cs | 17 +- ...posClient.ReposSetStatusCheckContexts.g.cs | 17 +- ...Client.ReposSetTeamAccessRestrictions.g.cs | 17 +- ...Client.ReposSetUserAccessRestrictions.g.cs | 17 +- .../GitHub.ReposClient.ReposUpdate.g.cs | 2 +- ....ReposClient.ReposUpdateCommitComment.g.cs | 2 +- ....ReposUpdateInformationAboutPagesSite.g.cs | 20 +- ...Hub.ReposClient.ReposUpdateInvitation.g.cs | 2 +- ...eposUpdatePullRequestReviewProtection.g.cs | 2 +- ...GitHub.ReposClient.ReposUpdateRelease.g.cs | 2 +- ...b.ReposClient.ReposUpdateReleaseAsset.g.cs | 2 +- ...ient.ReposUpdateStatusCheckProtection.g.cs | 4 +- ...GitHub.ReposClient.ReposUpdateWebhook.g.cs | 8 +- ...lient.ReposUpdateWebhookConfigForRepo.g.cs | 4 +- ...b.ReposClient.ReposUploadReleaseAsset.g.cs | 8 +- .../GitHub.SearchClient.SearchCode.g.cs | 12 +- .../GitHub.SearchClient.SearchCommits.g.cs | 12 +- ...rchClient.SearchIssuesAndPullRequests.g.cs | 12 +- .../GitHub.SearchClient.SearchLabels.g.cs | 12 +- .../GitHub.SearchClient.SearchRepos.g.cs | 12 +- .../GitHub.SearchClient.SearchUsers.g.cs | 12 +- ...SecretScanningListAlertsForEnterprise.g.cs | 48 +- ...Client.SecretScanningListAlertsForOrg.g.cs | 48 +- ...lient.SecretScanningListAlertsForRepo.g.cs | 48 +- ...nningClient.SecretScanningUpdateAlert.g.cs | 2 +- ...oriesCreatePrivateVulnerabilityReport.g.cs | 4 +- ...ityAdvisoriesCreateRepositoryAdvisory.g.cs | 6 +- ...iesCreateRepositoryAdvisoryCveRequest.g.cs | 4 +- ...ecurityAdvisoriesListGlobalAdvisories.g.cs | 84 +- ...AdvisoriesListOrgRepositoryAdvisories.g.cs | 30 +- ...ityAdvisoriesListRepositoryAdvisories.g.cs | 30 +- ...ityAdvisoriesUpdateRepositoryAdvisory.g.cs | 12 +- .../GitHub.TeamsClient.TeamsCreate.g.cs | 4 +- ...ient.TeamsListDiscussionCommentsInOrg.g.cs | 6 +- ...ent.TeamsListDiscussionCommentsLegacy.g.cs | 6 +- ...TeamsClient.TeamsListDiscussionsInOrg.g.cs | 12 +- ...eamsClient.TeamsListDiscussionsLegacy.g.cs | 6 +- ...Hub.TeamsClient.TeamsListMembersInOrg.g.cs | 6 +- ...ub.TeamsClient.TeamsListMembersLegacy.g.cs | 6 +- ...ent.TeamsUpdateDiscussionCommentInOrg.g.cs | 2 +- ...nt.TeamsUpdateDiscussionCommentLegacy.g.cs | 2 +- ...eamsClient.TeamsUpdateDiscussionInOrg.g.cs | 2 +- ...amsClient.TeamsUpdateDiscussionLegacy.g.cs | 2 +- .../GitHub.TeamsClient.TeamsUpdateInOrg.g.cs | 2 +- .../GitHub.TeamsClient.TeamsUpdateLegacy.g.cs | 2 +- ...ent.UsersAddEmailForAuthenticatedUser.g.cs | 18 +- ....UsersDeleteEmailForAuthenticatedUser.g.cs | 17 +- ...Hub.UsersClient.UsersGetAuthenticated.g.cs | 2 +- .../GitHub.UsersClient.UsersGetById.g.cs | 2 +- ...GitHub.UsersClient.UsersGetByUsername.g.cs | 2 +- ...ub.UsersClient.UsersGetContextForUser.g.cs | 12 +- ...Hub.UsersClient.UsersListAttestations.g.cs | 12 +- ...ryEmailVisibilityForAuthenticatedUser.g.cs | 2 +- ....UsersClient.UsersUpdateAuthenticated.g.cs | 2 +- .../Generated/JsonConverters.AnyOf5.g.cs | 180 + .../JsonConverters.AnyOfFactory5.g.cs | 25 + ...verters.ChecksCreateRequestConclusion.g.cs | 49 + ...ChecksCreateRequestConclusionNullable.g.cs | 56 + ...equestOutputAnnotationAnnotationLevel.g.cs | 49 + ...tputAnnotationAnnotationLevelNullable.g.cs | 56 + ...nConverters.ChecksCreateRequestStatus.g.cs | 49 + ...ers.ChecksCreateRequestStatusNullable.g.cs | 56 + ...verters.ChecksUpdateRequestConclusion.g.cs | 49 + ...ChecksUpdateRequestConclusionNullable.g.cs | 56 + ...equestOutputAnnotationAnnotationLevel.g.cs | 49 + ...tputAnnotationAnnotationLevelNullable.g.cs | 56 + ...nConverters.ChecksUpdateRequestStatus.g.cs | 49 + ...ers.ChecksUpdateRequestStatusNullable.g.cs | 56 + ...eScanningAlertInstanceClassifications.g.cs | 49 - ...gAlertInstanceClassificationsNullable.g.cs | 56 - ...ters.CodeScanningDefaultSetupLanguage.g.cs | 49 + ...eScanningDefaultSetupLanguageNullable.g.cs | 56 + ...ers.CodeScanningDefaultSetupLanguages.g.cs | 49 - ...ScanningDefaultSetupLanguagesNullable.g.cs | 56 - ...odeScanningDefaultSetupUpdateLanguage.g.cs | 49 + ...ingDefaultSetupUpdateLanguageNullable.g.cs | 56 + ...deScanningDefaultSetupUpdateLanguages.g.cs | 49 - ...ngDefaultSetupUpdateLanguagesNullable.g.cs | 56 - ....CodeScanningListAlertsForOrgSeverity.g.cs | 49 - ...nningListAlertsForOrgSeverityNullable.g.cs | 56 - ...ers.CodeScanningListAlertsForOrgState.g.cs | 49 - ...ScanningListAlertsForOrgStateNullable.g.cs | 56 - ...CodeScanningListAlertsForRepoSeverity.g.cs | 49 - ...ningListAlertsForRepoSeverityNullable.g.cs | 56 - ...rs.CodeScanningListAlertsForRepoState.g.cs | 49 - ...canningListAlertsForRepoStateNullable.g.cs | 56 - ...rs.CodeScanningVariantAnalysisStatus2.g.cs | 49 + ...canningVariantAnalysisStatus2Nullable.g.cs | 56 + ...onConverters.ContentDirectoryItemType.g.cs | 49 + ...ters.ContentDirectoryItemTypeNullable.g.cs | 56 + .../JsonConverters.ContentDirectoryType.g.cs | 49 - ...nverters.ContentDirectoryTypeNullable.g.cs | 56 - ...otAlertSecurityAdvisoryIdentifierType.g.cs | 49 + ...ecurityAdvisoryIdentifierTypeNullable.g.cs | 56 + ...tAlertSecurityAdvisoryIdentifiersType.g.cs | 49 - ...curityAdvisoryIdentifiersTypeNullable.g.cs | 56 - ...verters.DependencyGraphDiffChangeType.g.cs | 49 - ...DependencyGraphDiffChangeTypeNullable.g.cs | 56 - ...ers.DependencyGraphDiffItemChangeType.g.cs | 49 + ...ndencyGraphDiffItemChangeTypeNullable.g.cs | 56 + ...nverters.DependencyGraphDiffItemScope.g.cs | 49 + ....DependencyGraphDiffItemScopeNullable.g.cs | 56 + ...dencyGraphDiffRangeResponseChangeType.g.cs | 49 - ...phDiffRangeResponseChangeTypeNullable.g.cs | 56 - ...DependencyGraphDiffRangeResponseScope.g.cs | 49 - ...cyGraphDiffRangeResponseScopeNullable.g.cs | 56 - ...onConverters.DependencyGraphDiffScope.g.cs | 49 - ...ters.DependencyGraphDiffScopeNullable.g.cs | 56 - ...ters.GitCreateTreeRequestTreeItemMode.g.cs | 49 + ...CreateTreeRequestTreeItemModeNullable.g.cs | 56 + ...ters.GitCreateTreeRequestTreeItemType.g.cs | 49 + ...CreateTreeRequestTreeItemTypeNullable.g.cs | 56 + ...nverters.GitCreateTreeRequestTreeMode.g.cs | 49 - ....GitCreateTreeRequestTreeModeNullable.g.cs | 56 - ...nverters.GitCreateTreeRequestTreeType.g.cs | 49 - ....GitCreateTreeRequestTreeTypeNullable.g.cs | 56 - ...nverters.GlobalAdvisoryIdentifierType.g.cs | 49 + ....GlobalAdvisoryIdentifierTypeNullable.g.cs | 56 + ...verters.GlobalAdvisoryIdentifiersType.g.cs | 49 - ...GlobalAdvisoryIdentifiersTypeNullable.g.cs | 56 - .../JsonConverters.JobStepStatus.g.cs | 49 + .../JsonConverters.JobStepStatusNullable.g.cs | 56 + .../JsonConverters.JobStepsStatus.g.cs | 49 - ...JsonConverters.JobStepsStatusNullable.g.cs | 56 - ...ters.MigrationsGetStatusForOrgExclude.g.cs | 49 - ....MigrationsGetStatusForOrgExcludeItem.g.cs | 49 + ...onsGetStatusForOrgExcludeItemNullable.g.cs | 56 + ...rationsGetStatusForOrgExcludeNullable.g.cs | 56 - ...onverters.MigrationsListForOrgExclude.g.cs | 49 - ...rters.MigrationsListForOrgExcludeItem.g.cs | 49 + ...grationsListForOrgExcludeItemNullable.g.cs | 56 + ...s.MigrationsListForOrgExcludeNullable.g.cs | 56 - ...artForAuthenticatedUserRequestExclude.g.cs | 49 - ...orAuthenticatedUserRequestExcludeItem.g.cs | 49 + ...ticatedUserRequestExcludeItemNullable.g.cs | 56 + ...thenticatedUserRequestExcludeNullable.g.cs | 56 - ...s.MigrationsStartForOrgRequestExclude.g.cs | 49 - ...grationsStartForOrgRequestExcludeItem.g.cs | 49 + ...StartForOrgRequestExcludeItemNullable.g.cs | 56 + ...ionsStartForOrgRequestExcludeNullable.g.cs | 56 - .../Generated/JsonConverters.OneOf21.g.cs | 628 - .../Generated/JsonConverters.OneOf5.g.cs | 180 + .../JsonConverters.OneOfFactory21.g.cs | 25 - .../JsonConverters.OneOfFactory5.g.cs | 25 + .../JsonConverters.OrgRulesetConditions.g.cs | 46 +- ...ProductOnAllOrgReposRequestQuerySuite.g.cs | 49 + ...nAllOrgReposRequestQuerySuiteNullable.g.cs | 56 + ....ReposCreatePagesSiteRequestBuildType.g.cs | 49 + ...eatePagesSiteRequestBuildTypeNullable.g.cs | 56 + ...ReposCreatePagesSiteRequestSourcePath.g.cs | 49 + ...atePagesSiteRequestSourcePathNullable.g.cs | 56 + ...OrgRuleSuitesResponseEvaluationResult.g.cs | 49 - ...uitesResponseEvaluationResultNullable.g.cs | 56 - ...s.ReposGetOrgRuleSuitesResponseResult.g.cs | 49 - ...etOrgRuleSuitesResponseResultNullable.g.cs | 56 - ...epoRuleSuitesResponseEvaluationResult.g.cs | 49 - ...uitesResponseEvaluationResultNullable.g.cs | 56 - ....ReposGetRepoRuleSuitesResponseResult.g.cs | 49 - ...tRepoRuleSuitesResponseResultNullable.g.cs | 56 - ...rmationAboutPagesSiteRequestBuildType.g.cs | 49 + ...boutPagesSiteRequestBuildTypeNullable.g.cs | 56 + ...onAboutPagesSiteRequestSourceVariant1.g.cs | 49 + ...agesSiteRequestSourceVariant1Nullable.g.cs | 56 + ...outPagesSiteRequestSourceVariant2Path.g.cs | 49 + ...SiteRequestSourceVariant2PathNullable.g.cs | 56 + ...ters.RepositoryAdvisoryIdentifierType.g.cs | 49 + ...ositoryAdvisoryIdentifierTypeNullable.g.cs | 56 + ...ers.RepositoryAdvisoryIdentifiersType.g.cs | 49 - ...sitoryAdvisoryIdentifiersTypeNullable.g.cs | 56 - ...JsonConverters.RepositoryRuleDetailed.g.cs | 242 +- ...Converters.RuleSuiteEvaluationResult2.g.cs | 49 + ...rs.RuleSuiteEvaluationResult2Nullable.g.cs | 56 + .../JsonConverters.RuleSuiteResult2.g.cs | 49 + ...onConverters.RuleSuiteResult2Nullable.g.cs | 56 + ...rs.RuleSuiteRuleEvaluationEnforcement.g.cs | 49 + ...uiteRuleEvaluationEnforcementNullable.g.cs | 56 + ...verters.RuleSuiteRuleEvaluationResult.g.cs | 49 + ...RuleSuiteRuleEvaluationResultNullable.g.cs | 56 + ...s.RuleSuiteRuleEvaluationsEnforcement.g.cs | 49 - ...iteRuleEvaluationsEnforcementNullable.g.cs | 56 - ...erters.RuleSuiteRuleEvaluationsResult.g.cs | 49 - ...uleSuiteRuleEvaluationsResultNullable.g.cs | 56 - ...Converters.RuleSuitesEvaluationResult.g.cs | 49 - ...rs.RuleSuitesEvaluationResultNullable.g.cs | 56 - .../JsonConverters.RuleSuitesResult.g.cs | 49 - ...onConverters.RuleSuitesResultNullable.g.cs | 56 - ...visoriesListGlobalAdvisoriesEcosystem.g.cs | 49 - ...ListGlobalAdvisoriesEcosystemNullable.g.cs | 56 - ...CheckSuiteCompletedCheckSuiteAppEvent.g.cs | 49 + ...teCompletedCheckSuiteAppEventNullable.g.cs | 56 + ...heckSuiteCompletedCheckSuiteAppEvents.g.cs | 49 - ...eCompletedCheckSuiteAppEventsNullable.g.cs | 56 - ...CheckSuiteRequestedCheckSuiteAppEvent.g.cs | 49 + ...teRequestedCheckSuiteAppEventNullable.g.cs | 56 + ...heckSuiteRequestedCheckSuiteAppEvents.g.cs | 49 - ...eRequestedCheckSuiteAppEventsNullable.g.cs | 56 - ...eckSuiteRerequestedCheckSuiteAppEvent.g.cs | 49 + ...RerequestedCheckSuiteAppEventNullable.g.cs | 56 + ...ckSuiteRerequestedCheckSuiteAppEvents.g.cs | 49 - ...erequestedCheckSuiteAppEventsNullable.g.cs | 56 - ...dDeploymentPerformedViaGithubAppEvent.g.cs | 49 + ...entPerformedViaGithubAppEventNullable.g.cs | 56 + ...DeploymentPerformedViaGithubAppEvents.g.cs | 49 - ...ntPerformedViaGithubAppEventsNullable.g.cs | 56 - ...ntReviewApprovedReviewersReviewerType.g.cs | 49 - ...ApprovedReviewersReviewerTypeNullable.g.cs | 56 - ...DeploymentReviewApprovedReviewersType.g.cs | 49 - ...ntReviewApprovedReviewersTypeNullable.g.cs | 56 - ...ntReviewRejectedReviewersReviewerType.g.cs | 49 - ...RejectedReviewersReviewerTypeNullable.g.cs | 56 - ...DeploymentReviewRejectedReviewersType.g.cs | 49 - ...ntReviewRejectedReviewersTypeNullable.g.cs | 56 - ...ntReviewRequestedReviewerReviewerType.g.cs | 49 + ...RequestedReviewerReviewerTypeNullable.g.cs | 56 + ...DeploymentReviewRequestedReviewerType.g.cs | 49 + ...ntReviewRequestedReviewerTypeNullable.g.cs | 56 + ...tReviewRequestedReviewersReviewerType.g.cs | 49 - ...equestedReviewersReviewerTypeNullable.g.cs | 56 - ...eploymentReviewRequestedReviewersType.g.cs | 49 - ...tReviewRequestedReviewersTypeNullable.g.cs | 56 - ...dDeploymentPerformedViaGithubAppEvent.g.cs | 49 + ...entPerformedViaGithubAppEventNullable.g.cs | 56 + ...DeploymentPerformedViaGithubAppEvents.g.cs | 49 - ...ntPerformedViaGithubAppEventsNullable.g.cs | 56 - ...ymentStatusPerformedViaGithubAppEvent.g.cs | 49 + ...tusPerformedViaGithubAppEventNullable.g.cs | 56 + ...mentStatusPerformedViaGithubAppEvents.g.cs | 49 - ...usPerformedViaGithubAppEventsNullable.g.cs | 56 - ...Converters.WebhookForkForkeeOwnerType.g.cs | 49 - ...rs.WebhookForkForkeeOwnerTypeNullable.g.cs | 56 - ...rs.WebhookForkForkeeVariant1OwnerType.g.cs | 49 + ...okForkForkeeVariant1OwnerTypeNullable.g.cs | 56 + ...s.WebhookForkForkeeVariant1Visibility.g.cs | 49 + ...kForkForkeeVariant1VisibilityNullable.g.cs | 56 + ...onverters.WebhookForkForkeeVisibility.g.cs | 49 - ...s.WebhookForkForkeeVisibilityNullable.g.cs | 56 - ...sonConverters.WebhookGollumPageAction.g.cs | 49 + ...rters.WebhookGollumPageActionNullable.g.cs | 56 + ...onConverters.WebhookGollumPagesAction.g.cs | 49 - ...ters.WebhookGollumPagesActionNullable.g.cs | 56 - ...ueCommentCreatedIssueActiveLockReason.g.cs | 49 - ...tCreatedIssueActiveLockReasonNullable.g.cs | 56 - ...kIssueCommentCreatedIssueAssigneeType.g.cs | 49 - ...mmentCreatedIssueAssigneeTypeNullable.g.cs | 56 - ...IssueCommentCreatedIssueAssigneesType.g.cs | 49 - ...mentCreatedIssueAssigneesTypeNullable.g.cs | 56 - ...eCommentCreatedIssueAuthorAssociation.g.cs | 49 - ...CreatedIssueAuthorAssociationNullable.g.cs | 56 - ...mmentCreatedIssueMilestoneCreatorType.g.cs | 49 - ...atedIssueMilestoneCreatorTypeNullable.g.cs | 56 - ...ssueCommentCreatedIssueMilestoneState.g.cs | 49 - ...entCreatedIssueMilestoneStateNullable.g.cs | 56 - ...eatedIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...edIssuePerformedViaGithubAppOwnerType.g.cs | 49 - ...erformedViaGithubAppOwnerTypeNullable.g.cs | 56 - ...rformedViaGithubAppPermissionsActions.g.cs | 49 - ...iaGithubAppPermissionsActionsNullable.g.cs | 56 - ...ViaGithubAppPermissionsAdministration.g.cs | 49 - ...bAppPermissionsAdministrationNullable.g.cs | 56 - ...erformedViaGithubAppPermissionsChecks.g.cs | 49 - ...ViaGithubAppPermissionsChecksNullable.g.cs | 56 - ...GithubAppPermissionsContentReferences.g.cs | 49 - ...pPermissionsContentReferencesNullable.g.cs | 56 - ...formedViaGithubAppPermissionsContents.g.cs | 49 - ...aGithubAppPermissionsContentsNullable.g.cs | 56 - ...medViaGithubAppPermissionsDeployments.g.cs | 49 - ...thubAppPermissionsDeploymentsNullable.g.cs | 56 - ...medViaGithubAppPermissionsDiscussions.g.cs | 49 - ...thubAppPermissionsDiscussionsNullable.g.cs | 56 - ...erformedViaGithubAppPermissionsEmails.g.cs | 49 - ...ViaGithubAppPermissionsEmailsNullable.g.cs | 56 - ...edViaGithubAppPermissionsEnvironments.g.cs | 49 - ...hubAppPermissionsEnvironmentsNullable.g.cs | 56 - ...erformedViaGithubAppPermissionsIssues.g.cs | 49 - ...ViaGithubAppPermissionsIssuesNullable.g.cs | 56 - ...ePerformedViaGithubAppPermissionsKeys.g.cs | 49 - ...edViaGithubAppPermissionsKeysNullable.g.cs | 56 - ...rformedViaGithubAppPermissionsMembers.g.cs | 49 - ...iaGithubAppPermissionsMembersNullable.g.cs | 56 - ...formedViaGithubAppPermissionsMetadata.g.cs | 49 - ...aGithubAppPermissionsMetadataNullable.g.cs | 56 - ...PermissionsOrganizationAdministration.g.cs | 49 - ...onsOrganizationAdministrationNullable.g.cs | 56 - ...GithubAppPermissionsOrganizationHooks.g.cs | 49 - ...pPermissionsOrganizationHooksNullable.g.cs | 56 - ...hubAppPermissionsOrganizationPackages.g.cs | 49 - ...rmissionsOrganizationPackagesNullable.g.cs | 56 - ...aGithubAppPermissionsOrganizationPlan.g.cs | 49 - ...ppPermissionsOrganizationPlanNullable.g.cs | 56 - ...hubAppPermissionsOrganizationProjects.g.cs | 49 - ...rmissionsOrganizationProjectsNullable.g.cs | 56 - ...thubAppPermissionsOrganizationSecrets.g.cs | 49 - ...ermissionsOrganizationSecretsNullable.g.cs | 56 - ...missionsOrganizationSelfHostedRunners.g.cs | 49 - ...OrganizationSelfHostedRunnersNullable.g.cs | 56 - ...ppPermissionsOrganizationUserBlocking.g.cs | 49 - ...sionsOrganizationUserBlockingNullable.g.cs | 56 - ...formedViaGithubAppPermissionsPackages.g.cs | 49 - ...aGithubAppPermissionsPackagesNullable.g.cs | 56 - ...PerformedViaGithubAppPermissionsPages.g.cs | 49 - ...dViaGithubAppPermissionsPagesNullable.g.cs | 56 - ...edViaGithubAppPermissionsPullRequests.g.cs | 49 - ...hubAppPermissionsPullRequestsNullable.g.cs | 56 - ...iaGithubAppPermissionsRepositoryHooks.g.cs | 49 - ...AppPermissionsRepositoryHooksNullable.g.cs | 56 - ...ithubAppPermissionsRepositoryProjects.g.cs | 49 - ...PermissionsRepositoryProjectsNullable.g.cs | 56 - ...hubAppPermissionsSecretScanningAlerts.g.cs | 49 - ...rmissionsSecretScanningAlertsNullable.g.cs | 56 - ...rformedViaGithubAppPermissionsSecrets.g.cs | 49 - ...iaGithubAppPermissionsSecretsNullable.g.cs | 56 - ...ViaGithubAppPermissionsSecurityEvents.g.cs | 49 - ...bAppPermissionsSecurityEventsNullable.g.cs | 56 - ...ubAppPermissionsSecurityScanningAlert.g.cs | 49 - ...missionsSecurityScanningAlertNullable.g.cs | 56 - ...rmedViaGithubAppPermissionsSingleFile.g.cs | 49 - ...ithubAppPermissionsSingleFileNullable.g.cs | 56 - ...formedViaGithubAppPermissionsStatuses.g.cs | 49 - ...aGithubAppPermissionsStatusesNullable.g.cs | 56 - ...iaGithubAppPermissionsTeamDiscussions.g.cs | 49 - ...AppPermissionsTeamDiscussionsNullable.g.cs | 56 - ...thubAppPermissionsVulnerabilityAlerts.g.cs | 49 - ...ermissionsVulnerabilityAlertsNullable.g.cs | 56 - ...ormedViaGithubAppPermissionsWorkflows.g.cs | 49 - ...GithubAppPermissionsWorkflowsNullable.g.cs | 56 - ....WebhookIssueCommentCreatedIssueState.g.cs | 49 - ...IssueCommentCreatedIssueStateNullable.g.cs | 56 - ...bhookIssueCommentCreatedIssueUserType.g.cs | 49 - ...ueCommentCreatedIssueUserTypeNullable.g.cs | 56 - ...tCreatedIssueVariant1ActiveLockReason.g.cs | 49 + ...IssueVariant1ActiveLockReasonNullable.g.cs | 56 + ...mmentCreatedIssueVariant1AssigneeType.g.cs | 49 + ...mentCreatedIssueVariant1AssigneeType2.g.cs | 49 + ...tedIssueVariant1AssigneeType2Nullable.g.cs | 56 + ...atedIssueVariant1AssigneeTypeNullable.g.cs | 56 + ...CreatedIssueVariant1AuthorAssociation.g.cs | 49 + ...ssueVariant1AuthorAssociationNullable.g.cs | 56 + ...atedIssueVariant1MilestoneCreatorType.g.cs | 49 + ...eVariant1MilestoneCreatorTypeNullable.g.cs | 56 + ...entCreatedIssueVariant1MilestoneState.g.cs | 49 + ...edIssueVariant1MilestoneStateNullable.g.cs | 56 + ...sueVariant1PerformedViaGithubAppEvent.g.cs | 49 + ...nt1PerformedViaGithubAppEventNullable.g.cs | 56 + ...ariant1PerformedViaGithubAppOwnerType.g.cs | 49 + ...erformedViaGithubAppOwnerTypeNullable.g.cs | 56 + ...rformedViaGithubAppPermissionsActions.g.cs | 49 + ...iaGithubAppPermissionsActionsNullable.g.cs | 56 + ...ViaGithubAppPermissionsAdministration.g.cs | 49 + ...bAppPermissionsAdministrationNullable.g.cs | 56 + ...erformedViaGithubAppPermissionsChecks.g.cs | 49 + ...ViaGithubAppPermissionsChecksNullable.g.cs | 56 + ...GithubAppPermissionsContentReferences.g.cs | 49 + ...pPermissionsContentReferencesNullable.g.cs | 56 + ...formedViaGithubAppPermissionsContents.g.cs | 49 + ...aGithubAppPermissionsContentsNullable.g.cs | 56 + ...medViaGithubAppPermissionsDeployments.g.cs | 49 + ...thubAppPermissionsDeploymentsNullable.g.cs | 56 + ...medViaGithubAppPermissionsDiscussions.g.cs | 49 + ...thubAppPermissionsDiscussionsNullable.g.cs | 56 + ...erformedViaGithubAppPermissionsEmails.g.cs | 49 + ...ViaGithubAppPermissionsEmailsNullable.g.cs | 56 + ...edViaGithubAppPermissionsEnvironments.g.cs | 49 + ...hubAppPermissionsEnvironmentsNullable.g.cs | 56 + ...erformedViaGithubAppPermissionsIssues.g.cs | 49 + ...ViaGithubAppPermissionsIssuesNullable.g.cs | 56 + ...1PerformedViaGithubAppPermissionsKeys.g.cs | 49 + ...edViaGithubAppPermissionsKeysNullable.g.cs | 56 + ...rformedViaGithubAppPermissionsMembers.g.cs | 49 + ...iaGithubAppPermissionsMembersNullable.g.cs | 56 + ...formedViaGithubAppPermissionsMetadata.g.cs | 49 + ...aGithubAppPermissionsMetadataNullable.g.cs | 56 + ...PermissionsOrganizationAdministration.g.cs | 49 + ...onsOrganizationAdministrationNullable.g.cs | 56 + ...GithubAppPermissionsOrganizationHooks.g.cs | 49 + ...pPermissionsOrganizationHooksNullable.g.cs | 56 + ...hubAppPermissionsOrganizationPackages.g.cs | 49 + ...rmissionsOrganizationPackagesNullable.g.cs | 56 + ...aGithubAppPermissionsOrganizationPlan.g.cs | 49 + ...ppPermissionsOrganizationPlanNullable.g.cs | 56 + ...hubAppPermissionsOrganizationProjects.g.cs | 49 + ...rmissionsOrganizationProjectsNullable.g.cs | 56 + ...thubAppPermissionsOrganizationSecrets.g.cs | 49 + ...ermissionsOrganizationSecretsNullable.g.cs | 56 + ...missionsOrganizationSelfHostedRunners.g.cs | 49 + ...OrganizationSelfHostedRunnersNullable.g.cs | 56 + ...ppPermissionsOrganizationUserBlocking.g.cs | 49 + ...sionsOrganizationUserBlockingNullable.g.cs | 56 + ...formedViaGithubAppPermissionsPackages.g.cs | 49 + ...aGithubAppPermissionsPackagesNullable.g.cs | 56 + ...PerformedViaGithubAppPermissionsPages.g.cs | 49 + ...dViaGithubAppPermissionsPagesNullable.g.cs | 56 + ...edViaGithubAppPermissionsPullRequests.g.cs | 49 + ...hubAppPermissionsPullRequestsNullable.g.cs | 56 + ...iaGithubAppPermissionsRepositoryHooks.g.cs | 49 + ...AppPermissionsRepositoryHooksNullable.g.cs | 56 + ...ithubAppPermissionsRepositoryProjects.g.cs | 49 + ...PermissionsRepositoryProjectsNullable.g.cs | 56 + ...hubAppPermissionsSecretScanningAlerts.g.cs | 49 + ...rmissionsSecretScanningAlertsNullable.g.cs | 56 + ...rformedViaGithubAppPermissionsSecrets.g.cs | 49 + ...iaGithubAppPermissionsSecretsNullable.g.cs | 56 + ...ViaGithubAppPermissionsSecurityEvents.g.cs | 49 + ...bAppPermissionsSecurityEventsNullable.g.cs | 56 + ...ubAppPermissionsSecurityScanningAlert.g.cs | 49 + ...missionsSecurityScanningAlertNullable.g.cs | 56 + ...rmedViaGithubAppPermissionsSingleFile.g.cs | 49 + ...ithubAppPermissionsSingleFileNullable.g.cs | 56 + ...formedViaGithubAppPermissionsStatuses.g.cs | 49 + ...aGithubAppPermissionsStatusesNullable.g.cs | 56 + ...iaGithubAppPermissionsTeamDiscussions.g.cs | 49 + ...AppPermissionsTeamDiscussionsNullable.g.cs | 56 + ...thubAppPermissionsVulnerabilityAlerts.g.cs | 49 + ...ermissionsVulnerabilityAlertsNullable.g.cs | 56 + ...ormedViaGithubAppPermissionsWorkflows.g.cs | 49 + ...GithubAppPermissionsWorkflowsNullable.g.cs | 56 + ...IssueCommentCreatedIssueVariant1State.g.cs | 49 + ...mentCreatedIssueVariant1StateNullable.g.cs | 56 + ...ueCommentCreatedIssueVariant1UserType.g.cs | 49 + ...tCreatedIssueVariant1UserTypeNullable.g.cs | 56 + ...mmentCreatedIssueVariant2AssigneeType.g.cs | 49 + ...atedIssueVariant2AssigneeTypeNullable.g.cs | 56 + ...IssueCommentCreatedIssueVariant2State.g.cs | 49 + ...mentCreatedIssueVariant2StateNullable.g.cs | 56 + ...ueCommentDeletedIssueActiveLockReason.g.cs | 49 - ...tDeletedIssueActiveLockReasonNullable.g.cs | 56 - ...kIssueCommentDeletedIssueAssigneeType.g.cs | 49 - ...mmentDeletedIssueAssigneeTypeNullable.g.cs | 56 - ...IssueCommentDeletedIssueAssigneesType.g.cs | 49 - ...mentDeletedIssueAssigneesTypeNullable.g.cs | 56 - ...eCommentDeletedIssueAuthorAssociation.g.cs | 49 - ...DeletedIssueAuthorAssociationNullable.g.cs | 56 - ...mmentDeletedIssueMilestoneCreatorType.g.cs | 49 - ...etedIssueMilestoneCreatorTypeNullable.g.cs | 56 - ...ssueCommentDeletedIssueMilestoneState.g.cs | 49 - ...entDeletedIssueMilestoneStateNullable.g.cs | 56 - ...letedIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...edIssuePerformedViaGithubAppOwnerType.g.cs | 49 - ...erformedViaGithubAppOwnerTypeNullable.g.cs | 56 - ...rformedViaGithubAppPermissionsActions.g.cs | 49 - ...iaGithubAppPermissionsActionsNullable.g.cs | 56 - ...ViaGithubAppPermissionsAdministration.g.cs | 49 - ...bAppPermissionsAdministrationNullable.g.cs | 56 - ...erformedViaGithubAppPermissionsChecks.g.cs | 49 - ...ViaGithubAppPermissionsChecksNullable.g.cs | 56 - ...GithubAppPermissionsContentReferences.g.cs | 49 - ...pPermissionsContentReferencesNullable.g.cs | 56 - ...formedViaGithubAppPermissionsContents.g.cs | 49 - ...aGithubAppPermissionsContentsNullable.g.cs | 56 - ...medViaGithubAppPermissionsDeployments.g.cs | 49 - ...thubAppPermissionsDeploymentsNullable.g.cs | 56 - ...medViaGithubAppPermissionsDiscussions.g.cs | 49 - ...thubAppPermissionsDiscussionsNullable.g.cs | 56 - ...erformedViaGithubAppPermissionsEmails.g.cs | 49 - ...ViaGithubAppPermissionsEmailsNullable.g.cs | 56 - ...edViaGithubAppPermissionsEnvironments.g.cs | 49 - ...hubAppPermissionsEnvironmentsNullable.g.cs | 56 - ...erformedViaGithubAppPermissionsIssues.g.cs | 49 - ...ViaGithubAppPermissionsIssuesNullable.g.cs | 56 - ...ePerformedViaGithubAppPermissionsKeys.g.cs | 49 - ...edViaGithubAppPermissionsKeysNullable.g.cs | 56 - ...rformedViaGithubAppPermissionsMembers.g.cs | 49 - ...iaGithubAppPermissionsMembersNullable.g.cs | 56 - ...formedViaGithubAppPermissionsMetadata.g.cs | 49 - ...aGithubAppPermissionsMetadataNullable.g.cs | 56 - ...PermissionsOrganizationAdministration.g.cs | 49 - ...onsOrganizationAdministrationNullable.g.cs | 56 - ...GithubAppPermissionsOrganizationHooks.g.cs | 49 - ...pPermissionsOrganizationHooksNullable.g.cs | 56 - ...hubAppPermissionsOrganizationPackages.g.cs | 49 - ...rmissionsOrganizationPackagesNullable.g.cs | 56 - ...aGithubAppPermissionsOrganizationPlan.g.cs | 49 - ...ppPermissionsOrganizationPlanNullable.g.cs | 56 - ...hubAppPermissionsOrganizationProjects.g.cs | 49 - ...rmissionsOrganizationProjectsNullable.g.cs | 56 - ...thubAppPermissionsOrganizationSecrets.g.cs | 49 - ...ermissionsOrganizationSecretsNullable.g.cs | 56 - ...missionsOrganizationSelfHostedRunners.g.cs | 49 - ...OrganizationSelfHostedRunnersNullable.g.cs | 56 - ...ppPermissionsOrganizationUserBlocking.g.cs | 49 - ...sionsOrganizationUserBlockingNullable.g.cs | 56 - ...formedViaGithubAppPermissionsPackages.g.cs | 49 - ...aGithubAppPermissionsPackagesNullable.g.cs | 56 - ...PerformedViaGithubAppPermissionsPages.g.cs | 49 - ...dViaGithubAppPermissionsPagesNullable.g.cs | 56 - ...edViaGithubAppPermissionsPullRequests.g.cs | 49 - ...hubAppPermissionsPullRequestsNullable.g.cs | 56 - ...iaGithubAppPermissionsRepositoryHooks.g.cs | 49 - ...AppPermissionsRepositoryHooksNullable.g.cs | 56 - ...ithubAppPermissionsRepositoryProjects.g.cs | 49 - ...PermissionsRepositoryProjectsNullable.g.cs | 56 - ...hubAppPermissionsSecretScanningAlerts.g.cs | 49 - ...rmissionsSecretScanningAlertsNullable.g.cs | 56 - ...rformedViaGithubAppPermissionsSecrets.g.cs | 49 - ...iaGithubAppPermissionsSecretsNullable.g.cs | 56 - ...ViaGithubAppPermissionsSecurityEvents.g.cs | 49 - ...bAppPermissionsSecurityEventsNullable.g.cs | 56 - ...ubAppPermissionsSecurityScanningAlert.g.cs | 49 - ...missionsSecurityScanningAlertNullable.g.cs | 56 - ...rmedViaGithubAppPermissionsSingleFile.g.cs | 49 - ...ithubAppPermissionsSingleFileNullable.g.cs | 56 - ...formedViaGithubAppPermissionsStatuses.g.cs | 49 - ...aGithubAppPermissionsStatusesNullable.g.cs | 56 - ...iaGithubAppPermissionsTeamDiscussions.g.cs | 49 - ...AppPermissionsTeamDiscussionsNullable.g.cs | 56 - ...thubAppPermissionsVulnerabilityAlerts.g.cs | 49 - ...ermissionsVulnerabilityAlertsNullable.g.cs | 56 - ...ormedViaGithubAppPermissionsWorkflows.g.cs | 49 - ...GithubAppPermissionsWorkflowsNullable.g.cs | 56 - ....WebhookIssueCommentDeletedIssueState.g.cs | 49 - ...IssueCommentDeletedIssueStateNullable.g.cs | 56 - ...bhookIssueCommentDeletedIssueUserType.g.cs | 49 - ...ueCommentDeletedIssueUserTypeNullable.g.cs | 56 - ...tDeletedIssueVariant1ActiveLockReason.g.cs | 49 + ...IssueVariant1ActiveLockReasonNullable.g.cs | 56 + ...mmentDeletedIssueVariant1AssigneeType.g.cs | 49 + ...mentDeletedIssueVariant1AssigneeType2.g.cs | 49 + ...tedIssueVariant1AssigneeType2Nullable.g.cs | 56 + ...etedIssueVariant1AssigneeTypeNullable.g.cs | 56 + ...DeletedIssueVariant1AuthorAssociation.g.cs | 49 + ...ssueVariant1AuthorAssociationNullable.g.cs | 56 + ...etedIssueVariant1MilestoneCreatorType.g.cs | 49 + ...eVariant1MilestoneCreatorTypeNullable.g.cs | 56 + ...entDeletedIssueVariant1MilestoneState.g.cs | 49 + ...edIssueVariant1MilestoneStateNullable.g.cs | 56 + ...sueVariant1PerformedViaGithubAppEvent.g.cs | 49 + ...nt1PerformedViaGithubAppEventNullable.g.cs | 56 + ...ariant1PerformedViaGithubAppOwnerType.g.cs | 49 + ...erformedViaGithubAppOwnerTypeNullable.g.cs | 56 + ...rformedViaGithubAppPermissionsActions.g.cs | 49 + ...iaGithubAppPermissionsActionsNullable.g.cs | 56 + ...ViaGithubAppPermissionsAdministration.g.cs | 49 + ...bAppPermissionsAdministrationNullable.g.cs | 56 + ...erformedViaGithubAppPermissionsChecks.g.cs | 49 + ...ViaGithubAppPermissionsChecksNullable.g.cs | 56 + ...GithubAppPermissionsContentReferences.g.cs | 49 + ...pPermissionsContentReferencesNullable.g.cs | 56 + ...formedViaGithubAppPermissionsContents.g.cs | 49 + ...aGithubAppPermissionsContentsNullable.g.cs | 56 + ...medViaGithubAppPermissionsDeployments.g.cs | 49 + ...thubAppPermissionsDeploymentsNullable.g.cs | 56 + ...medViaGithubAppPermissionsDiscussions.g.cs | 49 + ...thubAppPermissionsDiscussionsNullable.g.cs | 56 + ...erformedViaGithubAppPermissionsEmails.g.cs | 49 + ...ViaGithubAppPermissionsEmailsNullable.g.cs | 56 + ...edViaGithubAppPermissionsEnvironments.g.cs | 49 + ...hubAppPermissionsEnvironmentsNullable.g.cs | 56 + ...erformedViaGithubAppPermissionsIssues.g.cs | 49 + ...ViaGithubAppPermissionsIssuesNullable.g.cs | 56 + ...1PerformedViaGithubAppPermissionsKeys.g.cs | 49 + ...edViaGithubAppPermissionsKeysNullable.g.cs | 56 + ...rformedViaGithubAppPermissionsMembers.g.cs | 49 + ...iaGithubAppPermissionsMembersNullable.g.cs | 56 + ...formedViaGithubAppPermissionsMetadata.g.cs | 49 + ...aGithubAppPermissionsMetadataNullable.g.cs | 56 + ...PermissionsOrganizationAdministration.g.cs | 49 + ...onsOrganizationAdministrationNullable.g.cs | 56 + ...GithubAppPermissionsOrganizationHooks.g.cs | 49 + ...pPermissionsOrganizationHooksNullable.g.cs | 56 + ...hubAppPermissionsOrganizationPackages.g.cs | 49 + ...rmissionsOrganizationPackagesNullable.g.cs | 56 + ...aGithubAppPermissionsOrganizationPlan.g.cs | 49 + ...ppPermissionsOrganizationPlanNullable.g.cs | 56 + ...hubAppPermissionsOrganizationProjects.g.cs | 49 + ...rmissionsOrganizationProjectsNullable.g.cs | 56 + ...thubAppPermissionsOrganizationSecrets.g.cs | 49 + ...ermissionsOrganizationSecretsNullable.g.cs | 56 + ...missionsOrganizationSelfHostedRunners.g.cs | 49 + ...OrganizationSelfHostedRunnersNullable.g.cs | 56 + ...ppPermissionsOrganizationUserBlocking.g.cs | 49 + ...sionsOrganizationUserBlockingNullable.g.cs | 56 + ...formedViaGithubAppPermissionsPackages.g.cs | 49 + ...aGithubAppPermissionsPackagesNullable.g.cs | 56 + ...PerformedViaGithubAppPermissionsPages.g.cs | 49 + ...dViaGithubAppPermissionsPagesNullable.g.cs | 56 + ...edViaGithubAppPermissionsPullRequests.g.cs | 49 + ...hubAppPermissionsPullRequestsNullable.g.cs | 56 + ...iaGithubAppPermissionsRepositoryHooks.g.cs | 49 + ...AppPermissionsRepositoryHooksNullable.g.cs | 56 + ...ithubAppPermissionsRepositoryProjects.g.cs | 49 + ...PermissionsRepositoryProjectsNullable.g.cs | 56 + ...hubAppPermissionsSecretScanningAlerts.g.cs | 49 + ...rmissionsSecretScanningAlertsNullable.g.cs | 56 + ...rformedViaGithubAppPermissionsSecrets.g.cs | 49 + ...iaGithubAppPermissionsSecretsNullable.g.cs | 56 + ...ViaGithubAppPermissionsSecurityEvents.g.cs | 49 + ...bAppPermissionsSecurityEventsNullable.g.cs | 56 + ...ubAppPermissionsSecurityScanningAlert.g.cs | 49 + ...missionsSecurityScanningAlertNullable.g.cs | 56 + ...rmedViaGithubAppPermissionsSingleFile.g.cs | 49 + ...ithubAppPermissionsSingleFileNullable.g.cs | 56 + ...formedViaGithubAppPermissionsStatuses.g.cs | 49 + ...aGithubAppPermissionsStatusesNullable.g.cs | 56 + ...iaGithubAppPermissionsTeamDiscussions.g.cs | 49 + ...AppPermissionsTeamDiscussionsNullable.g.cs | 56 + ...thubAppPermissionsVulnerabilityAlerts.g.cs | 49 + ...ermissionsVulnerabilityAlertsNullable.g.cs | 56 + ...ormedViaGithubAppPermissionsWorkflows.g.cs | 49 + ...GithubAppPermissionsWorkflowsNullable.g.cs | 56 + ...IssueCommentDeletedIssueVariant1State.g.cs | 49 + ...mentDeletedIssueVariant1StateNullable.g.cs | 56 + ...ueCommentDeletedIssueVariant1UserType.g.cs | 49 + ...tDeletedIssueVariant1UserTypeNullable.g.cs | 56 + ...mmentDeletedIssueVariant2AssigneeType.g.cs | 49 + ...etedIssueVariant2AssigneeTypeNullable.g.cs | 56 + ...IssueCommentDeletedIssueVariant2State.g.cs | 49 + ...mentDeletedIssueVariant2StateNullable.g.cs | 56 + ...sueCommentEditedIssueActiveLockReason.g.cs | 49 - ...ntEditedIssueActiveLockReasonNullable.g.cs | 56 - ...okIssueCommentEditedIssueAssigneeType.g.cs | 49 - ...ommentEditedIssueAssigneeTypeNullable.g.cs | 56 - ...kIssueCommentEditedIssueAssigneesType.g.cs | 49 - ...mmentEditedIssueAssigneesTypeNullable.g.cs | 56 - ...ueCommentEditedIssueAuthorAssociation.g.cs | 49 - ...tEditedIssueAuthorAssociationNullable.g.cs | 56 - ...ommentEditedIssueMilestoneCreatorType.g.cs | 49 - ...itedIssueMilestoneCreatorTypeNullable.g.cs | 56 - ...IssueCommentEditedIssueMilestoneState.g.cs | 49 - ...mentEditedIssueMilestoneStateNullable.g.cs | 56 - ...ditedIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...edIssuePerformedViaGithubAppOwnerType.g.cs | 49 - ...erformedViaGithubAppOwnerTypeNullable.g.cs | 56 - ...rformedViaGithubAppPermissionsActions.g.cs | 49 - ...iaGithubAppPermissionsActionsNullable.g.cs | 56 - ...ViaGithubAppPermissionsAdministration.g.cs | 49 - ...bAppPermissionsAdministrationNullable.g.cs | 56 - ...erformedViaGithubAppPermissionsChecks.g.cs | 49 - ...ViaGithubAppPermissionsChecksNullable.g.cs | 56 - ...GithubAppPermissionsContentReferences.g.cs | 49 - ...pPermissionsContentReferencesNullable.g.cs | 56 - ...formedViaGithubAppPermissionsContents.g.cs | 49 - ...aGithubAppPermissionsContentsNullable.g.cs | 56 - ...medViaGithubAppPermissionsDeployments.g.cs | 49 - ...thubAppPermissionsDeploymentsNullable.g.cs | 56 - ...medViaGithubAppPermissionsDiscussions.g.cs | 49 - ...thubAppPermissionsDiscussionsNullable.g.cs | 56 - ...erformedViaGithubAppPermissionsEmails.g.cs | 49 - ...ViaGithubAppPermissionsEmailsNullable.g.cs | 56 - ...edViaGithubAppPermissionsEnvironments.g.cs | 49 - ...hubAppPermissionsEnvironmentsNullable.g.cs | 56 - ...erformedViaGithubAppPermissionsIssues.g.cs | 49 - ...ViaGithubAppPermissionsIssuesNullable.g.cs | 56 - ...ePerformedViaGithubAppPermissionsKeys.g.cs | 49 - ...edViaGithubAppPermissionsKeysNullable.g.cs | 56 - ...rformedViaGithubAppPermissionsMembers.g.cs | 49 - ...iaGithubAppPermissionsMembersNullable.g.cs | 56 - ...formedViaGithubAppPermissionsMetadata.g.cs | 49 - ...aGithubAppPermissionsMetadataNullable.g.cs | 56 - ...PermissionsOrganizationAdministration.g.cs | 49 - ...onsOrganizationAdministrationNullable.g.cs | 56 - ...GithubAppPermissionsOrganizationHooks.g.cs | 49 - ...pPermissionsOrganizationHooksNullable.g.cs | 56 - ...hubAppPermissionsOrganizationPackages.g.cs | 49 - ...rmissionsOrganizationPackagesNullable.g.cs | 56 - ...aGithubAppPermissionsOrganizationPlan.g.cs | 49 - ...ppPermissionsOrganizationPlanNullable.g.cs | 56 - ...hubAppPermissionsOrganizationProjects.g.cs | 49 - ...rmissionsOrganizationProjectsNullable.g.cs | 56 - ...thubAppPermissionsOrganizationSecrets.g.cs | 49 - ...ermissionsOrganizationSecretsNullable.g.cs | 56 - ...missionsOrganizationSelfHostedRunners.g.cs | 49 - ...OrganizationSelfHostedRunnersNullable.g.cs | 56 - ...ppPermissionsOrganizationUserBlocking.g.cs | 49 - ...sionsOrganizationUserBlockingNullable.g.cs | 56 - ...formedViaGithubAppPermissionsPackages.g.cs | 49 - ...aGithubAppPermissionsPackagesNullable.g.cs | 56 - ...PerformedViaGithubAppPermissionsPages.g.cs | 49 - ...dViaGithubAppPermissionsPagesNullable.g.cs | 56 - ...edViaGithubAppPermissionsPullRequests.g.cs | 49 - ...hubAppPermissionsPullRequestsNullable.g.cs | 56 - ...iaGithubAppPermissionsRepositoryHooks.g.cs | 49 - ...AppPermissionsRepositoryHooksNullable.g.cs | 56 - ...ithubAppPermissionsRepositoryProjects.g.cs | 49 - ...PermissionsRepositoryProjectsNullable.g.cs | 56 - ...hubAppPermissionsSecretScanningAlerts.g.cs | 49 - ...rmissionsSecretScanningAlertsNullable.g.cs | 56 - ...rformedViaGithubAppPermissionsSecrets.g.cs | 49 - ...iaGithubAppPermissionsSecretsNullable.g.cs | 56 - ...ViaGithubAppPermissionsSecurityEvents.g.cs | 49 - ...bAppPermissionsSecurityEventsNullable.g.cs | 56 - ...ubAppPermissionsSecurityScanningAlert.g.cs | 49 - ...missionsSecurityScanningAlertNullable.g.cs | 56 - ...rmedViaGithubAppPermissionsSingleFile.g.cs | 49 - ...ithubAppPermissionsSingleFileNullable.g.cs | 56 - ...formedViaGithubAppPermissionsStatuses.g.cs | 49 - ...aGithubAppPermissionsStatusesNullable.g.cs | 56 - ...iaGithubAppPermissionsTeamDiscussions.g.cs | 49 - ...AppPermissionsTeamDiscussionsNullable.g.cs | 56 - ...thubAppPermissionsVulnerabilityAlerts.g.cs | 49 - ...ermissionsVulnerabilityAlertsNullable.g.cs | 56 - ...ormedViaGithubAppPermissionsWorkflows.g.cs | 49 - ...GithubAppPermissionsWorkflowsNullable.g.cs | 56 - ...s.WebhookIssueCommentEditedIssueState.g.cs | 49 - ...kIssueCommentEditedIssueStateNullable.g.cs | 56 - ...ebhookIssueCommentEditedIssueUserType.g.cs | 49 - ...sueCommentEditedIssueUserTypeNullable.g.cs | 56 - ...ntEditedIssueVariant1ActiveLockReason.g.cs | 49 + ...IssueVariant1ActiveLockReasonNullable.g.cs | 56 + ...ommentEditedIssueVariant1AssigneeType.g.cs | 49 + ...mmentEditedIssueVariant1AssigneeType2.g.cs | 49 + ...tedIssueVariant1AssigneeType2Nullable.g.cs | 56 + ...itedIssueVariant1AssigneeTypeNullable.g.cs | 56 + ...tEditedIssueVariant1AuthorAssociation.g.cs | 49 + ...ssueVariant1AuthorAssociationNullable.g.cs | 56 + ...itedIssueVariant1MilestoneCreatorType.g.cs | 49 + ...eVariant1MilestoneCreatorTypeNullable.g.cs | 56 + ...mentEditedIssueVariant1MilestoneState.g.cs | 49 + ...edIssueVariant1MilestoneStateNullable.g.cs | 56 + ...sueVariant1PerformedViaGithubAppEvent.g.cs | 49 + ...nt1PerformedViaGithubAppEventNullable.g.cs | 56 + ...ariant1PerformedViaGithubAppOwnerType.g.cs | 49 + ...erformedViaGithubAppOwnerTypeNullable.g.cs | 56 + ...rformedViaGithubAppPermissionsActions.g.cs | 49 + ...iaGithubAppPermissionsActionsNullable.g.cs | 56 + ...ViaGithubAppPermissionsAdministration.g.cs | 49 + ...bAppPermissionsAdministrationNullable.g.cs | 56 + ...erformedViaGithubAppPermissionsChecks.g.cs | 49 + ...ViaGithubAppPermissionsChecksNullable.g.cs | 56 + ...GithubAppPermissionsContentReferences.g.cs | 49 + ...pPermissionsContentReferencesNullable.g.cs | 56 + ...formedViaGithubAppPermissionsContents.g.cs | 49 + ...aGithubAppPermissionsContentsNullable.g.cs | 56 + ...medViaGithubAppPermissionsDeployments.g.cs | 49 + ...thubAppPermissionsDeploymentsNullable.g.cs | 56 + ...medViaGithubAppPermissionsDiscussions.g.cs | 49 + ...thubAppPermissionsDiscussionsNullable.g.cs | 56 + ...erformedViaGithubAppPermissionsEmails.g.cs | 49 + ...ViaGithubAppPermissionsEmailsNullable.g.cs | 56 + ...edViaGithubAppPermissionsEnvironments.g.cs | 49 + ...hubAppPermissionsEnvironmentsNullable.g.cs | 56 + ...erformedViaGithubAppPermissionsIssues.g.cs | 49 + ...ViaGithubAppPermissionsIssuesNullable.g.cs | 56 + ...1PerformedViaGithubAppPermissionsKeys.g.cs | 49 + ...edViaGithubAppPermissionsKeysNullable.g.cs | 56 + ...rformedViaGithubAppPermissionsMembers.g.cs | 49 + ...iaGithubAppPermissionsMembersNullable.g.cs | 56 + ...formedViaGithubAppPermissionsMetadata.g.cs | 49 + ...aGithubAppPermissionsMetadataNullable.g.cs | 56 + ...PermissionsOrganizationAdministration.g.cs | 49 + ...onsOrganizationAdministrationNullable.g.cs | 56 + ...GithubAppPermissionsOrganizationHooks.g.cs | 49 + ...pPermissionsOrganizationHooksNullable.g.cs | 56 + ...hubAppPermissionsOrganizationPackages.g.cs | 49 + ...rmissionsOrganizationPackagesNullable.g.cs | 56 + ...aGithubAppPermissionsOrganizationPlan.g.cs | 49 + ...ppPermissionsOrganizationPlanNullable.g.cs | 56 + ...hubAppPermissionsOrganizationProjects.g.cs | 49 + ...rmissionsOrganizationProjectsNullable.g.cs | 56 + ...thubAppPermissionsOrganizationSecrets.g.cs | 49 + ...ermissionsOrganizationSecretsNullable.g.cs | 56 + ...missionsOrganizationSelfHostedRunners.g.cs | 49 + ...OrganizationSelfHostedRunnersNullable.g.cs | 56 + ...ppPermissionsOrganizationUserBlocking.g.cs | 49 + ...sionsOrganizationUserBlockingNullable.g.cs | 56 + ...formedViaGithubAppPermissionsPackages.g.cs | 49 + ...aGithubAppPermissionsPackagesNullable.g.cs | 56 + ...PerformedViaGithubAppPermissionsPages.g.cs | 49 + ...dViaGithubAppPermissionsPagesNullable.g.cs | 56 + ...edViaGithubAppPermissionsPullRequests.g.cs | 49 + ...hubAppPermissionsPullRequestsNullable.g.cs | 56 + ...iaGithubAppPermissionsRepositoryHooks.g.cs | 49 + ...AppPermissionsRepositoryHooksNullable.g.cs | 56 + ...ithubAppPermissionsRepositoryProjects.g.cs | 49 + ...PermissionsRepositoryProjectsNullable.g.cs | 56 + ...hubAppPermissionsSecretScanningAlerts.g.cs | 49 + ...rmissionsSecretScanningAlertsNullable.g.cs | 56 + ...rformedViaGithubAppPermissionsSecrets.g.cs | 49 + ...iaGithubAppPermissionsSecretsNullable.g.cs | 56 + ...ViaGithubAppPermissionsSecurityEvents.g.cs | 49 + ...bAppPermissionsSecurityEventsNullable.g.cs | 56 + ...ubAppPermissionsSecurityScanningAlert.g.cs | 49 + ...missionsSecurityScanningAlertNullable.g.cs | 56 + ...rmedViaGithubAppPermissionsSingleFile.g.cs | 49 + ...ithubAppPermissionsSingleFileNullable.g.cs | 56 + ...formedViaGithubAppPermissionsStatuses.g.cs | 49 + ...aGithubAppPermissionsStatusesNullable.g.cs | 56 + ...iaGithubAppPermissionsTeamDiscussions.g.cs | 49 + ...AppPermissionsTeamDiscussionsNullable.g.cs | 56 + ...thubAppPermissionsVulnerabilityAlerts.g.cs | 49 + ...ermissionsVulnerabilityAlertsNullable.g.cs | 56 + ...ormedViaGithubAppPermissionsWorkflows.g.cs | 49 + ...GithubAppPermissionsWorkflowsNullable.g.cs | 56 + ...kIssueCommentEditedIssueVariant1State.g.cs | 49 + ...mmentEditedIssueVariant1StateNullable.g.cs | 56 + ...sueCommentEditedIssueVariant1UserType.g.cs | 49 + ...ntEditedIssueVariant1UserTypeNullable.g.cs | 56 + ...ommentEditedIssueVariant2AssigneeType.g.cs | 49 + ...itedIssueVariant2AssigneeTypeNullable.g.cs | 56 + ...kIssueCommentEditedIssueVariant2State.g.cs | 49 + ...mmentEditedIssueVariant2StateNullable.g.cs | 56 + ...hookIssuesClosedIssueActiveLockReason.g.cs | 49 - ...esClosedIssueActiveLockReasonNullable.g.cs | 56 - ....WebhookIssuesClosedIssueAssigneeType.g.cs | 49 - ...IssuesClosedIssueAssigneeTypeNullable.g.cs | 56 - ...WebhookIssuesClosedIssueAssigneesType.g.cs | 49 - ...ssuesClosedIssueAssigneesTypeNullable.g.cs | 56 - ...ookIssuesClosedIssueAuthorAssociation.g.cs | 49 - ...sClosedIssueAuthorAssociationNullable.g.cs | 56 - ...IssuesClosedIssueMilestoneCreatorType.g.cs | 49 - ...osedIssueMilestoneCreatorTypeNullable.g.cs | 56 - ...ebhookIssuesClosedIssueMilestoneState.g.cs | 49 - ...suesClosedIssueMilestoneStateNullable.g.cs | 56 - ...losedIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...edIssuePerformedViaGithubAppOwnerType.g.cs | 49 - ...erformedViaGithubAppOwnerTypeNullable.g.cs | 56 - ...rformedViaGithubAppPermissionsActions.g.cs | 49 - ...iaGithubAppPermissionsActionsNullable.g.cs | 56 - ...ViaGithubAppPermissionsAdministration.g.cs | 49 - ...bAppPermissionsAdministrationNullable.g.cs | 56 - ...erformedViaGithubAppPermissionsChecks.g.cs | 49 - ...ViaGithubAppPermissionsChecksNullable.g.cs | 56 - ...GithubAppPermissionsContentReferences.g.cs | 49 - ...pPermissionsContentReferencesNullable.g.cs | 56 - ...formedViaGithubAppPermissionsContents.g.cs | 49 - ...aGithubAppPermissionsContentsNullable.g.cs | 56 - ...medViaGithubAppPermissionsDeployments.g.cs | 49 - ...thubAppPermissionsDeploymentsNullable.g.cs | 56 - ...medViaGithubAppPermissionsDiscussions.g.cs | 49 - ...thubAppPermissionsDiscussionsNullable.g.cs | 56 - ...erformedViaGithubAppPermissionsEmails.g.cs | 49 - ...ViaGithubAppPermissionsEmailsNullable.g.cs | 56 - ...edViaGithubAppPermissionsEnvironments.g.cs | 49 - ...hubAppPermissionsEnvironmentsNullable.g.cs | 56 - ...erformedViaGithubAppPermissionsIssues.g.cs | 49 - ...ViaGithubAppPermissionsIssuesNullable.g.cs | 56 - ...ePerformedViaGithubAppPermissionsKeys.g.cs | 49 - ...edViaGithubAppPermissionsKeysNullable.g.cs | 56 - ...rformedViaGithubAppPermissionsMembers.g.cs | 49 - ...iaGithubAppPermissionsMembersNullable.g.cs | 56 - ...formedViaGithubAppPermissionsMetadata.g.cs | 49 - ...aGithubAppPermissionsMetadataNullable.g.cs | 56 - ...PermissionsOrganizationAdministration.g.cs | 49 - ...onsOrganizationAdministrationNullable.g.cs | 56 - ...GithubAppPermissionsOrganizationHooks.g.cs | 49 - ...pPermissionsOrganizationHooksNullable.g.cs | 56 - ...hubAppPermissionsOrganizationPackages.g.cs | 49 - ...rmissionsOrganizationPackagesNullable.g.cs | 56 - ...aGithubAppPermissionsOrganizationPlan.g.cs | 49 - ...ppPermissionsOrganizationPlanNullable.g.cs | 56 - ...hubAppPermissionsOrganizationProjects.g.cs | 49 - ...rmissionsOrganizationProjectsNullable.g.cs | 56 - ...thubAppPermissionsOrganizationSecrets.g.cs | 49 - ...ermissionsOrganizationSecretsNullable.g.cs | 56 - ...missionsOrganizationSelfHostedRunners.g.cs | 49 - ...OrganizationSelfHostedRunnersNullable.g.cs | 56 - ...ppPermissionsOrganizationUserBlocking.g.cs | 49 - ...sionsOrganizationUserBlockingNullable.g.cs | 56 - ...formedViaGithubAppPermissionsPackages.g.cs | 49 - ...aGithubAppPermissionsPackagesNullable.g.cs | 56 - ...PerformedViaGithubAppPermissionsPages.g.cs | 49 - ...dViaGithubAppPermissionsPagesNullable.g.cs | 56 - ...edViaGithubAppPermissionsPullRequests.g.cs | 49 - ...hubAppPermissionsPullRequestsNullable.g.cs | 56 - ...iaGithubAppPermissionsRepositoryHooks.g.cs | 49 - ...AppPermissionsRepositoryHooksNullable.g.cs | 56 - ...ithubAppPermissionsRepositoryProjects.g.cs | 49 - ...PermissionsRepositoryProjectsNullable.g.cs | 56 - ...hubAppPermissionsSecretScanningAlerts.g.cs | 49 - ...rmissionsSecretScanningAlertsNullable.g.cs | 56 - ...rformedViaGithubAppPermissionsSecrets.g.cs | 49 - ...iaGithubAppPermissionsSecretsNullable.g.cs | 56 - ...ViaGithubAppPermissionsSecurityEvents.g.cs | 49 - ...bAppPermissionsSecurityEventsNullable.g.cs | 56 - ...ubAppPermissionsSecurityScanningAlert.g.cs | 49 - ...missionsSecurityScanningAlertNullable.g.cs | 56 - ...rmedViaGithubAppPermissionsSingleFile.g.cs | 49 - ...ithubAppPermissionsSingleFileNullable.g.cs | 56 - ...formedViaGithubAppPermissionsStatuses.g.cs | 49 - ...aGithubAppPermissionsStatusesNullable.g.cs | 56 - ...iaGithubAppPermissionsTeamDiscussions.g.cs | 49 - ...AppPermissionsTeamDiscussionsNullable.g.cs | 56 - ...thubAppPermissionsVulnerabilityAlerts.g.cs | 49 - ...ermissionsVulnerabilityAlertsNullable.g.cs | 56 - ...ormedViaGithubAppPermissionsWorkflows.g.cs | 49 - ...GithubAppPermissionsWorkflowsNullable.g.cs | 56 - ...verters.WebhookIssuesClosedIssueState.g.cs | 49 - ...WebhookIssuesClosedIssueStateNullable.g.cs | 56 - ...ters.WebhookIssuesClosedIssueUserType.g.cs | 49 - ...hookIssuesClosedIssueUserTypeNullable.g.cs | 56 - ...esClosedIssueVariant1ActiveLockReason.g.cs | 49 + ...IssueVariant1ActiveLockReasonNullable.g.cs | 56 + ...IssuesClosedIssueVariant1AssigneeType.g.cs | 49 + ...ssuesClosedIssueVariant1AssigneeType2.g.cs | 49 + ...sedIssueVariant1AssigneeType2Nullable.g.cs | 56 + ...osedIssueVariant1AssigneeTypeNullable.g.cs | 56 + ...sClosedIssueVariant1AuthorAssociation.g.cs | 49 + ...ssueVariant1AuthorAssociationNullable.g.cs | 56 + ...osedIssueVariant1MilestoneCreatorType.g.cs | 49 + ...eVariant1MilestoneCreatorTypeNullable.g.cs | 56 + ...suesClosedIssueVariant1MilestoneState.g.cs | 49 + ...edIssueVariant1MilestoneStateNullable.g.cs | 56 + ...sueVariant1PerformedViaGithubAppEvent.g.cs | 49 + ...nt1PerformedViaGithubAppEventNullable.g.cs | 56 + ...ariant1PerformedViaGithubAppOwnerType.g.cs | 49 + ...erformedViaGithubAppOwnerTypeNullable.g.cs | 56 + ...rformedViaGithubAppPermissionsActions.g.cs | 49 + ...iaGithubAppPermissionsActionsNullable.g.cs | 56 + ...ViaGithubAppPermissionsAdministration.g.cs | 49 + ...bAppPermissionsAdministrationNullable.g.cs | 56 + ...erformedViaGithubAppPermissionsChecks.g.cs | 49 + ...ViaGithubAppPermissionsChecksNullable.g.cs | 56 + ...GithubAppPermissionsContentReferences.g.cs | 49 + ...pPermissionsContentReferencesNullable.g.cs | 56 + ...formedViaGithubAppPermissionsContents.g.cs | 49 + ...aGithubAppPermissionsContentsNullable.g.cs | 56 + ...medViaGithubAppPermissionsDeployments.g.cs | 49 + ...thubAppPermissionsDeploymentsNullable.g.cs | 56 + ...medViaGithubAppPermissionsDiscussions.g.cs | 49 + ...thubAppPermissionsDiscussionsNullable.g.cs | 56 + ...erformedViaGithubAppPermissionsEmails.g.cs | 49 + ...ViaGithubAppPermissionsEmailsNullable.g.cs | 56 + ...edViaGithubAppPermissionsEnvironments.g.cs | 49 + ...hubAppPermissionsEnvironmentsNullable.g.cs | 56 + ...erformedViaGithubAppPermissionsIssues.g.cs | 49 + ...ViaGithubAppPermissionsIssuesNullable.g.cs | 56 + ...1PerformedViaGithubAppPermissionsKeys.g.cs | 49 + ...edViaGithubAppPermissionsKeysNullable.g.cs | 56 + ...rformedViaGithubAppPermissionsMembers.g.cs | 49 + ...iaGithubAppPermissionsMembersNullable.g.cs | 56 + ...formedViaGithubAppPermissionsMetadata.g.cs | 49 + ...aGithubAppPermissionsMetadataNullable.g.cs | 56 + ...PermissionsOrganizationAdministration.g.cs | 49 + ...onsOrganizationAdministrationNullable.g.cs | 56 + ...GithubAppPermissionsOrganizationHooks.g.cs | 49 + ...pPermissionsOrganizationHooksNullable.g.cs | 56 + ...hubAppPermissionsOrganizationPackages.g.cs | 49 + ...rmissionsOrganizationPackagesNullable.g.cs | 56 + ...aGithubAppPermissionsOrganizationPlan.g.cs | 49 + ...ppPermissionsOrganizationPlanNullable.g.cs | 56 + ...hubAppPermissionsOrganizationProjects.g.cs | 49 + ...rmissionsOrganizationProjectsNullable.g.cs | 56 + ...thubAppPermissionsOrganizationSecrets.g.cs | 49 + ...ermissionsOrganizationSecretsNullable.g.cs | 56 + ...missionsOrganizationSelfHostedRunners.g.cs | 49 + ...OrganizationSelfHostedRunnersNullable.g.cs | 56 + ...ppPermissionsOrganizationUserBlocking.g.cs | 49 + ...sionsOrganizationUserBlockingNullable.g.cs | 56 + ...formedViaGithubAppPermissionsPackages.g.cs | 49 + ...aGithubAppPermissionsPackagesNullable.g.cs | 56 + ...PerformedViaGithubAppPermissionsPages.g.cs | 49 + ...dViaGithubAppPermissionsPagesNullable.g.cs | 56 + ...edViaGithubAppPermissionsPullRequests.g.cs | 49 + ...hubAppPermissionsPullRequestsNullable.g.cs | 56 + ...iaGithubAppPermissionsRepositoryHooks.g.cs | 49 + ...AppPermissionsRepositoryHooksNullable.g.cs | 56 + ...ithubAppPermissionsRepositoryProjects.g.cs | 49 + ...PermissionsRepositoryProjectsNullable.g.cs | 56 + ...hubAppPermissionsSecretScanningAlerts.g.cs | 49 + ...rmissionsSecretScanningAlertsNullable.g.cs | 56 + ...rformedViaGithubAppPermissionsSecrets.g.cs | 49 + ...iaGithubAppPermissionsSecretsNullable.g.cs | 56 + ...ViaGithubAppPermissionsSecurityEvents.g.cs | 49 + ...bAppPermissionsSecurityEventsNullable.g.cs | 56 + ...ubAppPermissionsSecurityScanningAlert.g.cs | 49 + ...missionsSecurityScanningAlertNullable.g.cs | 56 + ...rmedViaGithubAppPermissionsSingleFile.g.cs | 49 + ...ithubAppPermissionsSingleFileNullable.g.cs | 56 + ...formedViaGithubAppPermissionsStatuses.g.cs | 49 + ...aGithubAppPermissionsStatusesNullable.g.cs | 56 + ...iaGithubAppPermissionsTeamDiscussions.g.cs | 49 + ...AppPermissionsTeamDiscussionsNullable.g.cs | 56 + ...thubAppPermissionsVulnerabilityAlerts.g.cs | 49 + ...ermissionsVulnerabilityAlertsNullable.g.cs | 56 + ...ormedViaGithubAppPermissionsWorkflows.g.cs | 49 + ...GithubAppPermissionsWorkflowsNullable.g.cs | 56 + ...WebhookIssuesClosedIssueVariant1State.g.cs | 49 + ...ssuesClosedIssueVariant1StateNullable.g.cs | 56 + ...hookIssuesClosedIssueVariant1UserType.g.cs | 49 + ...esClosedIssueVariant1UserTypeNullable.g.cs | 56 + ...WebhookIssuesClosedIssueVariant2State.g.cs | 49 + ...ssuesClosedIssueVariant2StateNullable.g.cs | 56 + ...ebhookIssuesDeletedIssueAssigneeType2.g.cs | 49 + ...suesDeletedIssueAssigneeType2Nullable.g.cs | 56 + ...ebhookIssuesDeletedIssueAssigneesType.g.cs | 49 - ...suesDeletedIssueAssigneesTypeNullable.g.cs | 56 - ...eletedIssuePerformedViaGithubAppEvent.g.cs | 49 + ...suePerformedViaGithubAppEventNullable.g.cs | 56 + ...letedIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...kIssuesDemilestonedIssueAssigneeType2.g.cs | 49 + ...emilestonedIssueAssigneeType2Nullable.g.cs | 56 + ...kIssuesDemilestonedIssueAssigneesType.g.cs | 49 - ...emilestonedIssueAssigneesTypeNullable.g.cs | 56 - ...stonedIssuePerformedViaGithubAppEvent.g.cs | 49 + ...suePerformedViaGithubAppEventNullable.g.cs | 56 + ...tonedIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...WebhookIssuesEditedIssueAssigneeType2.g.cs | 49 + ...ssuesEditedIssueAssigneeType2Nullable.g.cs | 56 + ...WebhookIssuesEditedIssueAssigneesType.g.cs | 49 - ...ssuesEditedIssueAssigneesTypeNullable.g.cs | 56 - ...EditedIssuePerformedViaGithubAppEvent.g.cs | 49 + ...suePerformedViaGithubAppEventNullable.g.cs | 56 + ...ditedIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...ebhookIssuesLabeledIssueAssigneeType2.g.cs | 49 + ...suesLabeledIssueAssigneeType2Nullable.g.cs | 56 + ...ebhookIssuesLabeledIssueAssigneesType.g.cs | 49 - ...suesLabeledIssueAssigneesTypeNullable.g.cs | 56 - ...abeledIssuePerformedViaGithubAppEvent.g.cs | 49 + ...suePerformedViaGithubAppEventNullable.g.cs | 56 + ...beledIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...WebhookIssuesLockedIssueAssigneeType2.g.cs | 49 + ...ssuesLockedIssueAssigneeType2Nullable.g.cs | 56 + ...WebhookIssuesLockedIssueAssigneesType.g.cs | 49 - ...ssuesLockedIssueAssigneesTypeNullable.g.cs | 56 - ...LockedIssuePerformedViaGithubAppEvent.g.cs | 49 + ...suePerformedViaGithubAppEventNullable.g.cs | 56 + ...ockedIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...ookIssuesMilestonedIssueAssigneeType2.g.cs | 49 + ...sMilestonedIssueAssigneeType2Nullable.g.cs | 56 + ...ookIssuesMilestonedIssueAssigneesType.g.cs | 49 - ...sMilestonedIssueAssigneesTypeNullable.g.cs | 56 - ...stonedIssuePerformedViaGithubAppEvent.g.cs | 49 + ...suePerformedViaGithubAppEventNullable.g.cs | 56 + ...tonedIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...uesOpenedChangesOldIssueAssigneeType2.g.cs | 49 + ...dChangesOldIssueAssigneeType2Nullable.g.cs | 56 + ...uesOpenedChangesOldIssueAssigneesType.g.cs | 49 - ...dChangesOldIssueAssigneesTypeNullable.g.cs | 56 - ...gesOldIssuePerformedViaGithubAppEvent.g.cs | 49 + ...suePerformedViaGithubAppEventNullable.g.cs | 56 + ...esOldIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...WebhookIssuesOpenedIssueAssigneeType2.g.cs | 49 + ...ssuesOpenedIssueAssigneeType2Nullable.g.cs | 56 + ...WebhookIssuesOpenedIssueAssigneesType.g.cs | 49 - ...ssuesOpenedIssueAssigneesTypeNullable.g.cs | 56 - ...OpenedIssuePerformedViaGithubAppEvent.g.cs | 49 + ...suePerformedViaGithubAppEventNullable.g.cs | 56 + ...penedIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...bhookIssuesReopenedIssueAssigneeType2.g.cs | 49 + ...uesReopenedIssueAssigneeType2Nullable.g.cs | 56 + ...bhookIssuesReopenedIssueAssigneesType.g.cs | 49 - ...uesReopenedIssueAssigneesTypeNullable.g.cs | 56 - ...openedIssuePerformedViaGithubAppEvent.g.cs | 49 + ...suePerformedViaGithubAppEventNullable.g.cs | 56 + ...penedIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...ansferredChangesNewIssueAssigneeType2.g.cs | 49 + ...dChangesNewIssueAssigneeType2Nullable.g.cs | 56 + ...ansferredChangesNewIssueAssigneesType.g.cs | 49 - ...dChangesNewIssueAssigneesTypeNullable.g.cs | 56 - ...gesNewIssuePerformedViaGithubAppEvent.g.cs | 49 + ...suePerformedViaGithubAppEventNullable.g.cs | 56 + ...esNewIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...bhookIssuesUnlockedIssueAssigneeType2.g.cs | 49 + ...uesUnlockedIssueAssigneeType2Nullable.g.cs | 56 + ...bhookIssuesUnlockedIssueAssigneesType.g.cs | 49 - ...uesUnlockedIssueAssigneesTypeNullable.g.cs | 56 - ...lockedIssuePerformedViaGithubAppEvent.g.cs | 49 + ...suePerformedViaGithubAppEventNullable.g.cs | 56 + ...ockedIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...onverters.WebhookMetaDeletedHookEvent.g.cs | 49 + ...s.WebhookMetaDeletedHookEventNullable.g.cs | 56 + ...nverters.WebhookMetaDeletedHookEvents.g.cs | 49 - ....WebhookMetaDeletedHookEventsNullable.g.cs | 56 - ...rojectCardMovedProjectCardCreatorType.g.cs | 49 - ...rdMovedProjectCardCreatorTypeNullable.g.cs | 56 - ...rdMovedProjectCardVariant1CreatorType.g.cs | 49 + ...rojectCardVariant1CreatorTypeNullable.g.cs | 56 + ...questAssignedPullRequestAssigneeType2.g.cs | 49 + ...ignedPullRequestAssigneeType2Nullable.g.cs | 56 + ...questAssignedPullRequestAssigneesType.g.cs | 49 - ...ignedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...signedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...ignedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...MergeDisabledPullRequestAssigneeType2.g.cs | 49 + ...abledPullRequestAssigneeType2Nullable.g.cs | 56 + ...MergeDisabledPullRequestAssigneesType.g.cs | 49 - ...abledPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...sabledPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...abledPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...oMergeEnabledPullRequestAssigneeType2.g.cs | 49 + ...abledPullRequestAssigneeType2Nullable.g.cs | 56 + ...oMergeEnabledPullRequestAssigneesType.g.cs | 49 - ...abledPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...nabledPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...abledPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...stClosedPullRequestMergeCommitMessage.g.cs | 49 - ...PullRequestMergeCommitMessageNullable.g.cs | 56 - ...uestClosedPullRequestMergeCommitTitle.g.cs | 49 - ...edPullRequestMergeCommitTitleNullable.g.cs | 56 - ...edPullRequestSquashMergeCommitMessage.g.cs | 49 - ...questSquashMergeCommitMessageNullable.g.cs | 56 - ...osedPullRequestSquashMergeCommitTitle.g.cs | 49 - ...RequestSquashMergeCommitTitleNullable.g.cs | 56 - ...dToDraftPullRequestMergeCommitMessage.g.cs | 49 - ...PullRequestMergeCommitMessageNullable.g.cs | 56 - ...tedToDraftPullRequestMergeCommitTitle.g.cs | 49 - ...ftPullRequestMergeCommitTitleNullable.g.cs | 56 - ...ftPullRequestSquashMergeCommitMessage.g.cs | 49 - ...questSquashMergeCommitMessageNullable.g.cs | 56 - ...raftPullRequestSquashMergeCommitTitle.g.cs | 49 - ...RequestSquashMergeCommitTitleNullable.g.cs | 56 - ...questDequeuedPullRequestAssigneeType2.g.cs | 49 + ...ueuedPullRequestAssigneeType2Nullable.g.cs | 56 + ...questDequeuedPullRequestAssigneesType.g.cs | 49 - ...ueuedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...queuedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...ueuedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...stEditedPullRequestMergeCommitMessage.g.cs | 49 - ...PullRequestMergeCommitMessageNullable.g.cs | 56 - ...uestEditedPullRequestMergeCommitTitle.g.cs | 49 - ...edPullRequestMergeCommitTitleNullable.g.cs | 56 - ...edPullRequestSquashMergeCommitMessage.g.cs | 49 - ...questSquashMergeCommitMessageNullable.g.cs | 56 - ...itedPullRequestSquashMergeCommitTitle.g.cs | 49 - ...RequestSquashMergeCommitTitleNullable.g.cs | 56 - ...questEnqueuedPullRequestAssigneeType2.g.cs | 49 + ...ueuedPullRequestAssigneeType2Nullable.g.cs | 56 + ...questEnqueuedPullRequestAssigneesType.g.cs | 49 - ...ueuedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...queuedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...ueuedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...equestLabeledPullRequestAssigneeType2.g.cs | 49 + ...beledPullRequestAssigneeType2Nullable.g.cs | 56 + ...equestLabeledPullRequestAssigneesType.g.cs | 49 - ...beledPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...abeledPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...beledPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...RequestLockedPullRequestAssigneeType2.g.cs | 49 + ...ockedPullRequestAssigneeType2Nullable.g.cs | 56 + ...RequestLockedPullRequestAssigneesType.g.cs | 49 - ...ockedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...LockedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...ockedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...stOpenedPullRequestMergeCommitMessage.g.cs | 49 - ...PullRequestMergeCommitMessageNullable.g.cs | 56 - ...uestOpenedPullRequestMergeCommitTitle.g.cs | 49 - ...edPullRequestMergeCommitTitleNullable.g.cs | 56 - ...edPullRequestSquashMergeCommitMessage.g.cs | 49 - ...questSquashMergeCommitMessageNullable.g.cs | 56 - ...enedPullRequestSquashMergeCommitTitle.g.cs | 49 - ...RequestSquashMergeCommitTitleNullable.g.cs | 56 - ...orReviewPullRequestMergeCommitMessage.g.cs | 49 - ...PullRequestMergeCommitMessageNullable.g.cs | 56 - ...yForReviewPullRequestMergeCommitTitle.g.cs | 49 - ...ewPullRequestMergeCommitTitleNullable.g.cs | 56 - ...ewPullRequestSquashMergeCommitMessage.g.cs | 49 - ...questSquashMergeCommitMessageNullable.g.cs | 56 - ...viewPullRequestSquashMergeCommitTitle.g.cs | 49 - ...RequestSquashMergeCommitTitleNullable.g.cs | 56 - ...ReopenedPullRequestMergeCommitMessage.g.cs | 49 - ...PullRequestMergeCommitMessageNullable.g.cs | 56 - ...stReopenedPullRequestMergeCommitTitle.g.cs | 49 - ...edPullRequestMergeCommitTitleNullable.g.cs | 56 - ...edPullRequestSquashMergeCommitMessage.g.cs | 49 - ...questSquashMergeCommitMessageNullable.g.cs | 56 - ...enedPullRequestSquashMergeCommitTitle.g.cs | 49 - ...RequestSquashMergeCommitTitleNullable.g.cs | 56 - ...ommentCreatedPullRequestAssigneeType2.g.cs | 49 + ...eatedPullRequestAssigneeType2Nullable.g.cs | 56 + ...ommentCreatedPullRequestAssigneesType.g.cs | 49 - ...eatedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...reatedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...eatedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...ommentDeletedPullRequestAssigneeType2.g.cs | 49 + ...letedPullRequestAssigneeType2Nullable.g.cs | 56 + ...ommentDeletedPullRequestAssigneesType.g.cs | 49 - ...letedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...eletedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...letedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...CommentEditedPullRequestAssigneeType2.g.cs | 49 + ...ditedPullRequestAssigneeType2Nullable.g.cs | 56 + ...CommentEditedPullRequestAssigneesType.g.cs | 49 - ...ditedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...EditedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...ditedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...viewDismissedPullRequestAssigneeType2.g.cs | 49 + ...issedPullRequestAssigneeType2Nullable.g.cs | 56 + ...viewDismissedPullRequestAssigneesType.g.cs | 49 - ...issedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...missedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...issedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...tReviewEditedPullRequestAssigneeType2.g.cs | 49 + ...ditedPullRequestAssigneeType2Nullable.g.cs | 56 + ...tReviewEditedPullRequestAssigneesType.g.cs | 49 - ...ditedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...EditedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...ditedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...movedVariant1PullRequestAssigneeType2.g.cs | 49 + ...iant1PullRequestAssigneeType2Nullable.g.cs | 56 + ...movedVariant1PullRequestAssigneesType.g.cs | 49 - ...iant1PullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...riant1PullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...iant1PullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...movedVariant2PullRequestAssigneeType2.g.cs | 49 + ...iant2PullRequestAssigneeType2Nullable.g.cs | 56 + ...movedVariant2PullRequestAssigneesType.g.cs | 49 - ...iant2PullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...riant2PullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...iant2PullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...estedVariant1PullRequestAssigneeType2.g.cs | 49 + ...iant1PullRequestAssigneeType2Nullable.g.cs | 56 + ...estedVariant1PullRequestAssigneesType.g.cs | 49 - ...iant1PullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...riant1PullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...iant1PullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...estedVariant2PullRequestAssigneeType2.g.cs | 49 + ...iant2PullRequestAssigneeType2Nullable.g.cs | 56 + ...estedVariant2PullRequestAssigneesType.g.cs | 49 - ...iant2PullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...riant2PullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...iant2PullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...viewSubmittedPullRequestAssigneeType2.g.cs | 49 + ...ittedPullRequestAssigneeType2Nullable.g.cs | 56 + ...viewSubmittedPullRequestAssigneesType.g.cs | 49 - ...ittedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...mittedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...ittedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...hreadResolvedPullRequestAssigneeType2.g.cs | 49 + ...olvedPullRequestAssigneeType2Nullable.g.cs | 56 + ...hreadResolvedPullRequestAssigneesType.g.cs | 49 - ...olvedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...solvedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...olvedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...esolvedThreadCommentAuthorAssociation.g.cs | 49 + ...hreadCommentAuthorAssociationNullable.g.cs | 56 + ...ReviewThreadResolvedThreadCommentSide.g.cs | 49 + ...readResolvedThreadCommentSideNullable.g.cs | 56 + ...wThreadResolvedThreadCommentStartSide.g.cs | 49 + ...esolvedThreadCommentStartSideNullable.g.cs | 56 + ...hreadResolvedThreadCommentSubjectType.g.cs | 49 + ...olvedThreadCommentSubjectTypeNullable.g.cs | 56 + ...ewThreadResolvedThreadCommentUserType.g.cs | 49 + ...ResolvedThreadCommentUserTypeNullable.g.cs | 56 + ...solvedThreadCommentsAuthorAssociation.g.cs | 49 - ...readCommentsAuthorAssociationNullable.g.cs | 56 - ...eviewThreadResolvedThreadCommentsSide.g.cs | 49 - ...eadResolvedThreadCommentsSideNullable.g.cs | 56 - ...ThreadResolvedThreadCommentsStartSide.g.cs | 49 - ...solvedThreadCommentsStartSideNullable.g.cs | 56 - ...readResolvedThreadCommentsSubjectType.g.cs | 49 - ...lvedThreadCommentsSubjectTypeNullable.g.cs | 56 - ...wThreadResolvedThreadCommentsUserType.g.cs | 49 - ...esolvedThreadCommentsUserTypeNullable.g.cs | 56 - ...eadUnresolvedPullRequestAssigneeType2.g.cs | 49 + ...olvedPullRequestAssigneeType2Nullable.g.cs | 56 + ...eadUnresolvedPullRequestAssigneesType.g.cs | 49 - ...olvedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...solvedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...olvedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...esolvedThreadCommentAuthorAssociation.g.cs | 49 + ...hreadCommentAuthorAssociationNullable.g.cs | 56 + ...viewThreadUnresolvedThreadCommentSide.g.cs | 49 + ...adUnresolvedThreadCommentSideNullable.g.cs | 56 + ...hreadUnresolvedThreadCommentStartSide.g.cs | 49 + ...esolvedThreadCommentStartSideNullable.g.cs | 56 + ...eadUnresolvedThreadCommentSubjectType.g.cs | 49 + ...olvedThreadCommentSubjectTypeNullable.g.cs | 56 + ...ThreadUnresolvedThreadCommentUserType.g.cs | 49 + ...resolvedThreadCommentUserTypeNullable.g.cs | 56 + ...solvedThreadCommentsAuthorAssociation.g.cs | 49 - ...readCommentsAuthorAssociationNullable.g.cs | 56 - ...iewThreadUnresolvedThreadCommentsSide.g.cs | 49 - ...dUnresolvedThreadCommentsSideNullable.g.cs | 56 - ...readUnresolvedThreadCommentsStartSide.g.cs | 49 - ...solvedThreadCommentsStartSideNullable.g.cs | 56 - ...adUnresolvedThreadCommentsSubjectType.g.cs | 49 - ...lvedThreadCommentsSubjectTypeNullable.g.cs | 56 - ...hreadUnresolvedThreadCommentsUserType.g.cs | 49 - ...esolvedThreadCommentsUserTypeNullable.g.cs | 56 - ...stSynchronizePullRequestAssigneeType2.g.cs | 49 + ...onizePullRequestAssigneeType2Nullable.g.cs | 56 + ...stSynchronizePullRequestAssigneesType.g.cs | 49 - ...onizePullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...ronizePullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...onizePullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...estUnassignedPullRequestAssigneeType2.g.cs | 49 + ...ignedPullRequestAssigneeType2Nullable.g.cs | 56 + ...estUnassignedPullRequestAssigneesType.g.cs | 49 - ...ignedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...signedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...ignedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...uestUnlabeledPullRequestAssigneeType2.g.cs | 49 + ...beledPullRequestAssigneeType2Nullable.g.cs | 56 + ...uestUnlabeledPullRequestAssigneesType.g.cs | 49 - ...beledPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...abeledPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...beledPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...questUnlockedPullRequestAssigneeType2.g.cs | 49 + ...ockedPullRequestAssigneeType2Nullable.g.cs | 56 + ...questUnlockedPullRequestAssigneesType.g.cs | 49 - ...ockedPullRequestAssigneesTypeNullable.g.cs | 56 - ...lRequestRequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...questRequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...PullRequestRequestedTeamParentPrivacy.g.cs | 49 + ...estRequestedTeamParentPrivacyNullable.g.cs | 56 + ...lockedPullRequestRequestedTeamPrivacy.g.cs | 49 + ...llRequestRequestedTeamPrivacyNullable.g.cs | 56 + ...ullRequestRequestedTeamsParentPrivacy.g.cs | 49 - ...stRequestedTeamsParentPrivacyNullable.g.cs | 56 - ...ockedPullRequestRequestedTeamsPrivacy.g.cs | 49 - ...lRequestRequestedTeamsPrivacyNullable.g.cs | 56 - ...okReleasePrereleasedReleaseAssetState.g.cs | 49 + ...ePrereleasedReleaseAssetStateNullable.g.cs | 56 + ...sePrereleasedReleaseAssetUploaderType.g.cs | 49 + ...easedReleaseAssetUploaderTypeNullable.g.cs | 56 + ...kReleasePrereleasedReleaseAssetsState.g.cs | 49 - ...PrereleasedReleaseAssetsStateNullable.g.cs | 56 - ...ePrereleasedReleaseAssetsUploaderType.g.cs | 49 - ...asedReleaseAssetsUploaderTypeNullable.g.cs | 56 - ...esetEditedChangesRulesUpdatedRuleType.g.cs | 49 - ...edChangesRulesUpdatedRuleTypeNullable.g.cs | 56 - ...flowJobCompletedWorkflowJobConclusion.g.cs | 49 - ...ompletedWorkflowJobConclusionNullable.g.cs | 56 - ...WorkflowJobCompletedWorkflowJobStatus.g.cs | 49 - ...JobCompletedWorkflowJobStatusNullable.g.cs | 56 - ...obCompletedWorkflowJobStepsConclusion.g.cs | 49 - ...tedWorkflowJobStepsConclusionNullable.g.cs | 56 - ...lowJobCompletedWorkflowJobStepsStatus.g.cs | 49 - ...mpletedWorkflowJobStepsStatusNullable.g.cs | 56 - ...ompletedWorkflowJobVariant1Conclusion.g.cs | 49 + ...WorkflowJobVariant1ConclusionNullable.g.cs | 56 + ...JobCompletedWorkflowJobVariant1Status.g.cs | 49 + ...etedWorkflowJobVariant1StatusNullable.g.cs | 56 + ...etedWorkflowJobVariant1StepConclusion.g.cs | 49 + ...flowJobVariant1StepConclusionNullable.g.cs | 56 + ...ompletedWorkflowJobVariant1StepStatus.g.cs | 49 + ...WorkflowJobVariant1StepStatusNullable.g.cs | 56 + ...ompletedWorkflowJobVariant2Conclusion.g.cs | 49 + ...WorkflowJobVariant2ConclusionNullable.g.cs | 56 + ...lowJobInProgressWorkflowJobConclusion.g.cs | 49 - ...ProgressWorkflowJobConclusionNullable.g.cs | 56 - ...orkflowJobInProgressWorkflowJobStatus.g.cs | 49 - ...obInProgressWorkflowJobStatusNullable.g.cs | 56 - ...bInProgressWorkflowJobStepsConclusion.g.cs | 49 - ...essWorkflowJobStepsConclusionNullable.g.cs | 56 - ...owJobInProgressWorkflowJobStepsStatus.g.cs | 49 - ...rogressWorkflowJobStepsStatusNullable.g.cs | 56 - ...ProgressWorkflowJobVariant1Conclusion.g.cs | 49 + ...WorkflowJobVariant1ConclusionNullable.g.cs | 56 + ...obInProgressWorkflowJobVariant1Status.g.cs | 49 + ...ressWorkflowJobVariant1StatusNullable.g.cs | 56 + ...ressWorkflowJobVariant1StepConclusion.g.cs | 49 + ...flowJobVariant1StepConclusionNullable.g.cs | 56 + ...ProgressWorkflowJobVariant1StepStatus.g.cs | 49 + ...WorkflowJobVariant1StepStatusNullable.g.cs | 56 + ...obInProgressWorkflowJobVariant2Status.g.cs | 49 + ...ressWorkflowJobVariant2StatusNullable.g.cs | 56 + ...ProgressWorkflowJobVariant2StepStatus.g.cs | 49 + ...WorkflowJobVariant2StepStatusNullable.g.cs | 56 + ...lowJobQueuedWorkflowJobStepConclusion.g.cs | 49 + ...euedWorkflowJobStepConclusionNullable.g.cs | 56 + ...orkflowJobQueuedWorkflowJobStepStatus.g.cs | 49 + ...obQueuedWorkflowJobStepStatusNullable.g.cs | 56 + ...owJobQueuedWorkflowJobStepsConclusion.g.cs | 49 - ...uedWorkflowJobStepsConclusionNullable.g.cs | 56 - ...rkflowJobQueuedWorkflowJobStepsStatus.g.cs | 49 - ...bQueuedWorkflowJobStepsStatusNullable.g.cs | 56 - ...owJobWaitingWorkflowJobStepConclusion.g.cs | 49 + ...tingWorkflowJobStepConclusionNullable.g.cs | 56 + ...rkflowJobWaitingWorkflowJobStepStatus.g.cs | 49 + ...bWaitingWorkflowJobStepStatusNullable.g.cs | 56 + ...wJobWaitingWorkflowJobStepsConclusion.g.cs | 49 - ...ingWorkflowJobStepsConclusionNullable.g.cs | 56 - ...kflowJobWaitingWorkflowJobStepsStatus.g.cs | 49 - ...WaitingWorkflowJobStepsStatusNullable.g.cs | 56 - ...onverters.WebhooksIssue2AssigneeType2.g.cs | 49 + ...s.WebhooksIssue2AssigneeType2Nullable.g.cs | 56 + ...onverters.WebhooksIssue2AssigneesType.g.cs | 49 - ...s.WebhooksIssue2AssigneesTypeNullable.g.cs | 56 - ...hooksIssue2PerformedViaGithubAppEvent.g.cs | 49 + ...ue2PerformedViaGithubAppEventNullable.g.cs | 56 + ...ooksIssue2PerformedViaGithubAppEvents.g.cs | 49 - ...e2PerformedViaGithubAppEventsNullable.g.cs | 56 - ...Converters.WebhooksIssueAssigneeType2.g.cs | 49 + ...rs.WebhooksIssueAssigneeType2Nullable.g.cs | 56 + ...Converters.WebhooksIssueAssigneesType.g.cs | 49 - ...rs.WebhooksIssueAssigneesTypeNullable.g.cs | 56 - ...bhooksIssuePerformedViaGithubAppEvent.g.cs | 49 + ...suePerformedViaGithubAppEventNullable.g.cs | 56 + ...hooksIssuePerformedViaGithubAppEvents.g.cs | 49 - ...uePerformedViaGithubAppEventsNullable.g.cs | 56 - ...ers.WebhooksPullRequest5AssigneeType2.g.cs | 49 + ...ooksPullRequest5AssigneeType2Nullable.g.cs | 56 + ...ers.WebhooksPullRequest5AssigneesType.g.cs | 49 - ...ooksPullRequest5AssigneesTypeNullable.g.cs | 56 - ...Request5RequestedReviewerVariant1Type.g.cs | 49 + ...RequestedReviewerVariant1TypeNullable.g.cs | 56 + ...equestedReviewerVariant2ParentPrivacy.g.cs | 49 + ...ReviewerVariant2ParentPrivacyNullable.g.cs | 56 + ...uest5RequestedReviewerVariant2Privacy.g.cs | 49 + ...uestedReviewerVariant2PrivacyNullable.g.cs | 56 + ...ullRequest5RequestedTeamParentPrivacy.g.cs | 49 + ...st5RequestedTeamParentPrivacyNullable.g.cs | 56 + ...hooksPullRequest5RequestedTeamPrivacy.g.cs | 49 + ...lRequest5RequestedTeamPrivacyNullable.g.cs | 56 + ...llRequest5RequestedTeamsParentPrivacy.g.cs | 49 - ...t5RequestedTeamsParentPrivacyNullable.g.cs | 56 - ...ooksPullRequest5RequestedTeamsPrivacy.g.cs | 49 - ...Request5RequestedTeamsPrivacyNullable.g.cs | 56 - ...Converters.WebhooksRelease1AssetState.g.cs | 49 + ...rs.WebhooksRelease1AssetStateNullable.g.cs | 56 + ...ers.WebhooksRelease1AssetUploaderType.g.cs | 49 + ...ooksRelease1AssetUploaderTypeNullable.g.cs | 56 + ...onverters.WebhooksRelease1AssetsState.g.cs | 49 - ...s.WebhooksRelease1AssetsStateNullable.g.cs | 56 - ...rs.WebhooksRelease1AssetsUploaderType.g.cs | 49 - ...oksRelease1AssetsUploaderTypeNullable.g.cs | 56 - ...nConverters.WebhooksReleaseAssetState.g.cs | 49 + ...ers.WebhooksReleaseAssetStateNullable.g.cs | 56 + ...ters.WebhooksReleaseAssetUploaderType.g.cs | 49 + ...hooksReleaseAssetUploaderTypeNullable.g.cs | 56 + ...Converters.WebhooksReleaseAssetsState.g.cs | 49 - ...rs.WebhooksReleaseAssetsStateNullable.g.cs | 56 - ...ers.WebhooksReleaseAssetsUploaderType.g.cs | 49 - ...ooksReleaseAssetsUploaderTypeNullable.g.cs | 56 - ...nverters.WebhooksReviewerReviewerType.g.cs | 49 + ....WebhooksReviewerReviewerTypeNullable.g.cs | 56 + .../JsonConverters.WebhooksReviewerType.g.cs | 49 + ...nverters.WebhooksReviewerTypeNullable.g.cs | 56 + ...verters.WebhooksReviewersReviewerType.g.cs | 49 - ...WebhooksReviewersReviewerTypeNullable.g.cs | 56 - .../JsonConverters.WebhooksReviewersType.g.cs | 49 - ...verters.WebhooksReviewersTypeNullable.g.cs | 56 - .../Generated/JsonSerializerContext.g.cs | 3105 +-- .../Generated/JsonSerializerContextTypes.g.cs | 16524 +++++++++++----- src/libs/GitHub/Generated/OneOf.21.g.cs | 944 - src/libs/GitHub/Generated/OneOf.5.g.cs | 288 + 4275 files changed, 141867 insertions(+), 113172 deletions(-) create mode 100644 src/libs/GitHub/Generated/AnyOf.5.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ActionsCacheListActionsCache.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ActionsCacheListActionsCaches.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ActionsCreateWorkflowDispatchRequestInputs.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.AppsCreateFromManifestResponse2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.AppsCreateFromManifestResponseVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.AuthenticationTokenPermissions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.BaseGistFiles.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.BaseGistFork.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.BaseGistHistoryItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyApp.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppOwner.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppPermissions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyApps.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppsOwner.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppsPermissions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyTeam.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyTeams.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyUser.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyUsers.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CheckSuitePreferencePreferencesAutoTriggerCheck.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CheckSuitePreferencePreferencesAutoTriggerChecks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestAction.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutput.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutputAnnotation.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutputAnnotationAnnotationLevel.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutputImage.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestStatus.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant1Status.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant2Status.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksSetSuitesPreferencesRequestAutoTriggerCheck.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksSetSuitesPreferencesRequestAutoTriggerChecks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestAction.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutput.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutputAnnotation.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutputAnnotationAnnotationLevel.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutputImage.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestStatus.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant1Status.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant2Status.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningAlertInstanceClassifications.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequestVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequestVariant3.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupLanguage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupLanguages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupUpdateLanguage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupUpdateLanguages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningGetAnalysisResponse2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForOrgSeverity.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForOrgState.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForRepoSeverity.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForRepoState.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysisScannedRepositorie.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysisScannedRepositories.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysisStatus2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeSearchResultItemTextMatches.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeSearchResultItemTextMatchesMatches.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeSecurityDefaultConfiguration.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeSecurityDefaultConfigurations.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeSecurityGetDefaultConfigurationsResponse.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeownersErrorsError.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodeownersErrorsErrors.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponseDevcontainer.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponseDevcontainers.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CommitCommit.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CommitCommit1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CommitCommit1Tree.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CommitCommitTree.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CommitParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CommitParents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemParents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemTextMatches.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemTextMatchesMatches.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ContentDirectory.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryItemLinks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryItemType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryLinks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntrie.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntrieLinks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntries.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntriesLinks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ContributorActivityWeek.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ContributorActivityWeeks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CopilotSeatDetailsAssignee.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CopilotSeatDetailsOrganization.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.CopilotUsageMetricsBreakdown.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.CopilotUsageMetricsBreakdownItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryCwe.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryCwes.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifier.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifierType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifiers.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifiersType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryReference.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryReferences.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiff.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffChangeType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItemChangeType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItemScope.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItemVulnerabilitie.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponse.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponseChangeType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponseScope.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponseVulnerabilities.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffScope.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffVulnerabilities.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackage.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackageExternalRef.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackagesExternalRefs.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.DeploymentPayload.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.EnvironmentApprovalsEnvironment.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.EnvironmentApprovalsEnvironments.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant2Reviewer.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant3.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.EventPayloadPage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.EventPayloadPages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.FileCommitCommitParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.FileCommitCommitParents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.FullRepositoryCustomProperties.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GistSimpleFiles.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GistSimpleFork.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOfFiles.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOfFork.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOfHistoryItem.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.GistSimpleForks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GistsCreateRequestFiles.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GistsUpdateRequestFiles.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GitCommitParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.GitCommitParents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTree.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeItemMode.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeItemType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeMode.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.GitTreeTree.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GitTreeTreeItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCredit.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCredits.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCwe.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCwes.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifier.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifierType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifiers.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifiersType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GpgKeyEmail.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.GpgKeyEmails.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkey.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeyEmail.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeySubkey.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeys.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeysEmails.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.HookDeliveryRequestHeaders.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.HookDeliveryRequestPayload.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.HookDeliveryResponseHeaders.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.HovercardContext.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.HovercardContexts.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ImportProjectChoice.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ImportProjectChoices.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.InteractionsGetRestrictionsForAuthenticatedUserResponse2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.InteractionsGetRestrictionsForOrgResponse2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.InteractionsGetRestrictionsForRepoResponse2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.IssueLabel.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemLabels.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemTextMatches.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemTextMatchesMatches.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant3Label.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant3Labels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant4Item.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.IssuesCreateRequestLabel.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant3Label.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant3Labels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant4Item.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.IssuesUpdateRequestLabel.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.JobStep.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.JobStepStatus.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.JobSteps.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.JobStepsStatus.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.LabelSearchResultItemTextMatches.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.LabelSearchResultItemTextMatchesMatches.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ManifestResolved.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.MarketplacePurchaseMarketplacePurchase.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.MarketplacePurchaseMarketplacePurchase1.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.MigrationsGetStatusForOrgExclude.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.MigrationsGetStatusForOrgExcludeItem.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.MigrationsListForOrgExclude.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.MigrationsListForOrgExcludeItem.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForAuthenticatedUserRequestExclude.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForAuthenticatedUserRequestExcludeItem.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForOrgRequestExclude.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForOrgRequestExcludeItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.NullableIssueLabel.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.NullableRepositoryWebhooksCustomProperties.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditionsVariant1.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditionsVariant2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditionsVariant3.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissionsOrganization.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissionsOther.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissionsRepository.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissionsOrganization.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissionsOther.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissionsRepository.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestation.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationBundle.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationBundleDsseEnvelope.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationBundleVerificationMaterial.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestations.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationsBundle.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PendingDeploymentReviewer.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.PendingDeploymentReviewers.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAddedOrganization.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAddedOther.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAddedRepository.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResultOrganization.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResultOther.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResultRepository.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgradedOrganization.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgradedOther.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgradedRepository.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestRepositorie.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestRepositories.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilitie.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilitiePackage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilities.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilitiesPackage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponse.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponse2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponseError.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponseErrors.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponse2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponse3.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponseError.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponseError2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponseErrors.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ProtectedBranchRequiredStatusCheckCheck.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ProtectedBranchRequiredStatusCheckChecks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.PullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PullRequestSimpleLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.PullRequestSimpleLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PullsCreateReviewRequestComment.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.PullsCreateReviewRequestComments.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PullsMergeResponse2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PullsRequestReviewersRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PullsRequestReviewersRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.PullsRequestReviewersRequestVariant2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepoSearchResultItemTextMatches.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepoSearchResultItemTextMatchesMatches.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposAddAppAccessRestrictionsRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposAddAppAccessRestrictionsRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposAddStatusCheckContextsRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposAddStatusCheckContextsRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposAddTeamAccessRestrictionsRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposAddTeamAccessRestrictionsRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposAddUserAccessRestrictionsRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposAddUserAccessRestrictionsRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreateAttestationRequestBundleDsseEnvelope.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreateAttestationRequestBundleVerificationMaterial.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreateDeploymentRequestPayload.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreateDispatchEventRequestClientPayload.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreateInOrgRequestCustomProperties.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrUpdateEnvironmentRequestReviewer.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrUpdateEnvironmentRequestReviewers.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrgRulesetRequestConditions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestBuildType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestSource.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestSourcePath.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestVariant2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposGetOrgRuleSuitesResponse.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposGetOrgRuleSuitesResponseEvaluationResult.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposGetOrgRuleSuitesResponseResult.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposGetRepoRuleSuitesResponse.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposGetRepoRuleSuitesResponseEvaluationResult.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposGetRepoRuleSuitesResponseResult.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestation.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationBundle.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationBundleDsseEnvelope.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationBundleVerificationMaterial.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestations.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationsBundle.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposRemoveAppAccessRestrictionsRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposRemoveAppAccessRestrictionsRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposRemoveStatusCheckContextsRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposRemoveStatusCheckContextsRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposRemoveTeamAccessRestrictionsRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposRemoveTeamAccessRestrictionsRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposRemoveUserAccessRestrictionsRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposRemoveUserAccessRestrictionsRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposSetAppAccessRestrictionsRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposSetAppAccessRestrictionsRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposSetStatusCheckContextsRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposSetStatusCheckContextsRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposSetTeamAccessRestrictionsRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposSetTeamAccessRestrictionsRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposSetUserAccessRestrictionsRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposSetUserAccessRestrictionsRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredStatusChecksCheck.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredStatusChecksChecks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestBuildType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant3.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant4.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant5.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateOrgRulesetRequestConditions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateStatusCheckProtectionRequestCheck.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ReposUpdateStatusCheckProtectionRequestChecks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateCredit.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateCredits.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilitie.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilitiePackage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilities.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilitiesPackage.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCredit2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCredits.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCwe.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCwes.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifier.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifierType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifiers.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifiersType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateCredit.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateCredits.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilitie.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilitiePackage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilities.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilitiesPackage.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RepositoryWebhooksCustomProperties.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuite2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuiteEvaluationResult2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuiteResult2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluation.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationEnforcement.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationResult.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationRuleSource.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluations.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationsEnforcement.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationsResult.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationsRuleSource.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuites.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuitesEvaluationResult.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.RuleSuitesResult.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.SearchCodeResponse2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.SearchIssuesAndPullRequestsResponse2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.SearchReposResponse2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatche.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatcheMatche.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatches.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatchesMatches.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.SearchUsersResponse2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.SecurityAdvisoriesListGlobalAdvisoriesEcosystem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0DsseEnvelopeSignature.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0DsseEnvelopeSignatures.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrie.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrieLogId.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntries.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntriesInclusionPromise.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntriesKindVersion.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntriesLogId.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificates.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.SnapshotManifests.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.StatusCheckPolicyCheck.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.StatusCheckPolicyChecks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.TimelineCommittedEventParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.TimelineCommittedEventParents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliase.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliaseTopicRelation.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliases.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliasesTopicRelation.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelated.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelatedItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelatedItemTopicRelation.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelatedTopicRelation.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemTextMatches.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemTextMatchesMatches.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.UserSearchResultItemTextMatches.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.UserSearchResultItemTextMatchesMatches.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.UsersAddEmailForAuthenticatedUserRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.UsersAddEmailForAuthenticatedUserRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.UsersDeleteEmailForAuthenticatedUserRequest2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.UsersDeleteEmailForAuthenticatedUserRequestVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.UsersListAttestationsResponseAttestation.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.UsersListAttestationsResponseAttestations.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.ValidationErrorError.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.ValidationErrorErrors.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuiteAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuiteAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestBase.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestBaseRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestHead.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestHeadRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsBase.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsBaseRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsHead.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsHeadRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuiteAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuiteAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestBase.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestBaseRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestHead.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestHeadRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsBase.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsBaseRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsHead.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsHeadRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuiteAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuiteAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestBase.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestBaseRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestHead.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestHeadRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsBase.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsBaseRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsHead.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsHeadRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertDismissedAt.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertDismissedBy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertDismissedReason.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertFixedAt.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlertDismissedBy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertDismissedAt.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertDismissedBy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertDismissedReason.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPayload.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunHeadCommit.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunHeadRepositoryDescription.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPreviousAttemptUrl.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestBase.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestBaseRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestHead.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestHeadRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsBase.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsBaseRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsHead.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsHeadRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunReferencedWorkflow.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunReferencedWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunRepositoryDescription.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewers.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewersReviewer.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewersReviewerType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewersType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowJobRun.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowJobRunConclusion.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowJobRuns.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunHeadCommit.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBase.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBaseRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHead.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHeadRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBase.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBaseRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHead.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHeadRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunReferencedWorkflow.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunReferencedWorkflows.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewers.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewersReviewer.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewersReviewerType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewersType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowJobRun.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowJobRuns.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunHeadCommit.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBase.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBaseRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHead.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHeadRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBase.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBaseRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHead.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHeadRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunReferencedWorkflow.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunReferencedWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewer.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewerReviewer.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewerReviewerType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewerType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewers.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewersReviewer.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewersReviewerType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewersType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowJobRunConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunHeadCommit.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBase.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBaseRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHead.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHeadRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBase.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBaseRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHead.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHeadRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunReferencedWorkflow.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunReferencedWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPayload.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunHeadCommit.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunHeadRepositoryDescription.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPreviousAttemptUrl.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBase.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBaseRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHead.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHeadRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBase.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBaseRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHead.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHeadRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunReferencedWorkflow.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunReferencedWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunRepositoryDescription.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkee.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeLicense.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeOwner.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeOwnerType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeePermissions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1License.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1Owner.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1OwnerType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1Permissions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1Visibility.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2Language.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2License.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2MirrorUrl.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2Owner.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2Topic.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVisibility.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPage.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPageAction.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPagesAction.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationCreatedRepositories.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationDeletedRepositories.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationDeletedRequester.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationNewPermissionsAcceptedRepositories.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationNewPermissionsAcceptedRequester.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAddedRepositoriesAdded.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAddedRepositoriesRemoved.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAddedRepositoriesRemovedItem.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemovedRepositoriesAdded.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemovedRepositoriesRemoved.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemovedRepositoriesRemovedItem.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationSuspendRepositories.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationSuspendRequester.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationTargetRenamedAccountDescription.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationTargetRenamedAccountWebsiteUrl.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationUnsuspendRepositories.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationUnsuspendRequester.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssue.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueActiveLockReason.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssignee.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssigneeType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAuthorAssociation.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueLabels.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestone.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestoneCreator.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestoneCreatorType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestoneState.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubApp.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwner.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePullRequest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueReactions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueState.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueUser.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueUserType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Assignee.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Assignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1AssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Label.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Milestone.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1MilestoneCreator.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1MilestoneState.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubApp.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwner.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Reactions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1State.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1User.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1UserType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Assignee.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Assignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Label.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Milestone.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2PerformedViaGithubApp.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Reactions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2State.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2User.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssue.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueActiveLockReason.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssignee.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssigneeType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAuthorAssociation.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueLabels.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestone.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestoneCreator.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestoneCreatorType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestoneState.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubApp.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwner.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePullRequest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueReactions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueState.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueUser.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueUserType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Assignee.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Assignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1AssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Label.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Milestone.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1MilestoneCreator.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1MilestoneState.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubApp.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwner.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Reactions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1State.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1User.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1UserType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Assignee.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Assignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Label.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Milestone.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2PerformedViaGithubApp.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Reactions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2State.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2User.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssue.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueActiveLockReason.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssignee.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssigneeType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAuthorAssociation.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueLabels.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestone.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestoneCreator.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestoneCreatorType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestoneState.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubApp.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwner.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePullRequest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueReactions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueState.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueUser.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueUserType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1ActiveLockReason.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Assignee.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Assignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1AssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1AuthorAssociation.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Label.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Milestone.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1MilestoneCreator.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1MilestoneState.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubApp.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwner.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Reactions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1State.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1User.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1UserType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Assignee.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Assignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Label.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Milestone.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2PerformedViaGithubApp.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Reactions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2State.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2User.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssue.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueActiveLockReason.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssignee.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssigneeType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAuthorAssociation.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueLabels.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestone.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestoneCreator.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestoneCreatorType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestoneState.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubApp.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppOwner.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePullRequest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueReactions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueState.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueUser.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueUserType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1ActiveLockReason.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Assignee.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Assignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1AssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1AuthorAssociation.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Label.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Milestone.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1MilestoneCreator.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1MilestoneCreatorType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1MilestoneState.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubApp.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwner.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Reactions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1State.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1User.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1UserType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Assignee.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Assignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Label.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Milestone.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2PerformedViaGithubApp.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Reactions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2State.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2User.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssuePerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssuePerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssuePerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssuePerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldRepositoryCustomProperties.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewRepositoryCustomProperties.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchaseFreeTrialEndsOn.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookMetaDeletedHookEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookMetaDeletedHookEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionBody.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionContainerMetadataLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionContainerMetadataManifest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionDockerMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionDockerMetadataItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionMetadataItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataAuthor.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataBin.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataBugs.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataContributor.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDependencies.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDevDependencies.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDirectories.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDist.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataEngines.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataMaintainer.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataMan.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataOptionalDependencies.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataPeerDependencies.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataRepository.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataScripts.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadataItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadataItemValue.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadataValue.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionPackageFile.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionPackageFiles.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionDockerMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionDockerMetadataItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionMetadataItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionPackageFile.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionPackageFiles.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCard.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardCreator.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardCreatorType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant1Creator.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant1CreatorType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant2Creator.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChanges.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesBody.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesFieldValue.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant2Body.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadComment.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinksHtml.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinksPullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinksSelf.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentReactions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentSide.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUser.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUserType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadComments.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksHtml.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksPullRequest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksSelf.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsReactions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsSide.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsUser.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadComment.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinks.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksHtml.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksPullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksSelf.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentReactions.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadComments.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinks.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksHtml.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksPullRequest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksSelf.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsReactions.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUser.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommit.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitAuthor.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitCommitter.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommits.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitsAuthor.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitsCommitter.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookPushRepositoryCustomProperties.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionBody.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataManifest.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionDockerMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionDockerMetadataItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionMetadataItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataAuthor.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataBin.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataBugs.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDependencies.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDevDependencies.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDirectories.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDist.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataEngines.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataMan.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataOptionalDependencies.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataPeerDependencies.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataRepository.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataScripts.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemId.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemValue.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataValue.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionPackageFile.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionPackageFiles.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackageDescription.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionDockerMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionDockerMetadataItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionMetadataItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionPackageFile.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionPackageFiles.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackageRegistry.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAsset.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetState.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetUploader.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetUploaderType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssets.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetsState.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetsUploader.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetsUploaderType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryDispatchSampleClientPayload.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdated.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChanges.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesConditionType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesExclude.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesInclude.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesTarget.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChanges.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesConditionType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesExclude.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesInclude.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesTarget.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdated.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChanges.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesConfiguration.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesPattern.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesRuleType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChanges.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesConfiguration.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesPattern.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesRuleType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedRule.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleParameters.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRubygemsMetadataDependencie.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookRubygemsMetadataMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwe.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwes.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryIdentifier.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryIdentifiers.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryReference.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryReferences.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitie.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitieFirstPatchedVersion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiePackage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilities.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesFirstPatchedVersion.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesPackage.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookStarDeletedStarredAt.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBranche.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBrancheCommit.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBranches.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBranchesCommit.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitAuthor.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitAuthorVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitAuthorVariant2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitCommitter.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitCommitterVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitCommitterVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitParents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookTeamAddedToRepositoryRepositoryCustomProperties.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookTeamCreatedRepositoryCustomProperties.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookTeamDeletedRepositoryCustomProperties.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookTeamEditedRepositoryCustomProperties.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookTeamRemovedFromRepositoryRepositoryCustomProperties.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowDispatchInputs.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJob.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobConclusion.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobStatus.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobSteps.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobStepsStatus.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1Status.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1Step.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant2Step.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJob.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobConclusion.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobStatus.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobSteps.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobStepsStatus.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1Status.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1Step.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2Status.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2Step.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStep.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepStatus.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobSteps.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepsStatus.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStep.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepStatus.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobSteps.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepsStatus.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestBase.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestBaseRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestHead.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestHeadRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsBase.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsBaseRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsHead.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsHeadRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunReferencedWorkflow.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunReferencedWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestBase.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestBaseRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestHead.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestHeadRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsBase.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsBaseRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsHead.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsHeadRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunReferencedWorkflow.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunReferencedWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequest.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestBase.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestBaseRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestHead.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestHeadRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsBase.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsBaseRepo.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsHead.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsHeadRepo.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunReferencedWorkflow.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunReferencedWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksAnswerParentId.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Assignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2AssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Assignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2AssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Label.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Labels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2PerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2PerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueLabel.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueLabels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssuePerformedViaGithubAppEvent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksIssuePerformedViaGithubAppEvents.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPreviousMarketplacePurchaseFreeTrialEndsOn.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Assignee2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5AssigneeType2.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Assignees.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5AssigneesType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Label.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Labels.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2Parent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeam.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamParent.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeams.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamsParent.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamsPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1Asset.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetState.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetUploader.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetUploaderType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1Assets.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetsState.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetsUploader.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetsUploaderType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAsset.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetState.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetUploader.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetUploaderType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssets.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetsState.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetsUploader.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetsUploaderType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositorie.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositories.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositoriesAdded.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositoriesAddedItem.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewer.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewerReviewer.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewerReviewerType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewerType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewers.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewersReviewer.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewersReviewerType.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewersType.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryCwe.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryCwes.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryIdentifier.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryIdentifiers.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryReference.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryReferences.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitie.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitieFirstPatchedVersion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitiePackage.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilities.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitiesFirstPatchedVersion.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitiesPackage.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksWorkflowJobRunConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WebhooksWorkflowJobRunName.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableMACOSJobRun.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableMACOSJobRuns.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableUBUNTUJobRun.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableUBUNTUJobRuns.g.cs create mode 100644 src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableWINDOWSJobRun.g.cs delete mode 100644 src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableWINDOWSJobRuns.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.AnyOf5.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.AnyOfFactory5.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestConclusionNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestOutputAnnotationAnnotationLevel.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestOutputAnnotationAnnotationLevelNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestStatus.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestStatusNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestConclusionNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestOutputAnnotationAnnotationLevel.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestOutputAnnotationAnnotationLevelNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestStatus.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestStatusNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningAlertInstanceClassifications.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningAlertInstanceClassificationsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguage.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguagesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguage.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguagesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgSeverity.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgSeverityNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgState.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgStateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoSeverity.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoSeverityNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoState.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoStateNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningVariantAnalysisStatus2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.CodeScanningVariantAnalysisStatus2Nullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ContentDirectoryItemType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ContentDirectoryItemTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.ContentDirectoryType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.ContentDirectoryTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifierType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifierTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifiersType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifiersTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffChangeType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffChangeTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemChangeType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemChangeTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemScope.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemScopeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseChangeType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseChangeTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseScope.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseScopeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffScope.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffScopeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemMode.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemModeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeMode.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeModeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifierType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifierTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifiersType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifiersTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.JobStepStatus.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.JobStepStatusNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.JobStepsStatus.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.JobStepsStatusNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExclude.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExcludeItem.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExcludeItemNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExcludeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExclude.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExcludeItem.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExcludeItemNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExcludeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExclude.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeItem.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeItemNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExclude.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExcludeItem.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExcludeItemNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExcludeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.OneOf21.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.OneOf5.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.OneOfFactory21.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.OneOfFactory5.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestBuildType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestBuildTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestSourcePath.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestSourcePathNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseEvaluationResult.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseEvaluationResultNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseResult.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseResultNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseEvaluationResult.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseEvaluationResultNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseResult.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseResultNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestBuildType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestBuildTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1Nullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifierType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifierTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifiersType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifiersTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuiteEvaluationResult2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuiteEvaluationResult2Nullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuiteResult2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuiteResult2Nullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationEnforcement.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationEnforcementNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationResult.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationResultNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsEnforcement.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsEnforcementNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsResult.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsResultNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuitesEvaluationResult.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuitesEvaluationResultNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuitesResult.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.RuleSuitesResultNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesEcosystem.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesEcosystemNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersReviewerType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersReviewerTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersReviewerType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersReviewerTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerReviewerType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerReviewerTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersReviewerType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersReviewerTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeOwnerType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeOwnerTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1OwnerType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1OwnerTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1Visibility.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1VisibilityNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVisibility.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVisibilityNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookGollumPageAction.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookGollumPageActionNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookGollumPagesAction.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookGollumPagesActionNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueActiveLockReason.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueActiveLockReasonNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneeType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneeTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneesTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAuthorAssociation.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAuthorAssociationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneCreatorType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneCreatorTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneState.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneStateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEventsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueState.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueStateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueUserType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueUserTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType2Nullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AuthorAssociationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneState.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneStateNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEventNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1State.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1StateNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1UserType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1UserTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2AssigneeTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2State.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2StateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueActiveLockReason.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueActiveLockReasonNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneeType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneeTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneesTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAuthorAssociation.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAuthorAssociationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneCreatorType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneCreatorTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneState.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneStateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEventsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueState.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueStateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueUserType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueUserTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType2Nullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AuthorAssociationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneState.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneStateNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEventNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1State.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1StateNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1UserType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1UserTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2AssigneeTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2State.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2StateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueActiveLockReason.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueActiveLockReasonNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneeType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneeTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneesTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAuthorAssociation.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAuthorAssociationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneCreatorType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneCreatorTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneState.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneStateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppEventsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueState.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueStateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueUserType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueUserTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1ActiveLockReason.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1ActiveLockReasonNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType2Nullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AuthorAssociation.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AuthorAssociationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneState.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneStateNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEventNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1State.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1StateNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1UserType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1UserTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2AssigneeTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2State.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2StateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueActiveLockReason.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueActiveLockReasonNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneeType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneeTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneesTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAuthorAssociation.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAuthorAssociationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneCreatorType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneCreatorTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneState.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneStateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppEventsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueState.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueStateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueUserType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueUserTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1ActiveLockReason.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1ActiveLockReasonNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType2Nullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AuthorAssociation.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AuthorAssociationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneCreatorType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneState.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneStateNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEventNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1State.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1StateNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1UserType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1UserTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant2State.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant2StateNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEventsNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardCreatorType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardCreatorTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardVariant1CreatorType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardVariant1CreatorTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitMessageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitTitleNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitMessageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitTitleNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitMessageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitTitleNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitMessageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitTitleNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitMessageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitTitleNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitMessageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitTitleNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSide.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSideNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentStartSideNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentUserType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSide.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSideNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSideNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetState.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetStateNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetUploaderType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetUploaderTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsState.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsStateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsUploaderType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsUploaderTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobConclusion.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobConclusionNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStatus.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStatusNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsConclusionNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsStatus.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsStatusNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1Status.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StatusNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobConclusion.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobConclusionNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStatus.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStatusNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsConclusionNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsStatus.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsStatusNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1Status.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StatusNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2Status.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StatusNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepConclusionNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepStatus.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepStatusNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsConclusionNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsStatus.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsStatusNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepConclusion.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepConclusionNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepStatus.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepStatusNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsConclusionNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsStatus.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsStatusNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEvent.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEventNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEvents.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEventsNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneeType2.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneeType2Nullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneesType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneesTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant1Type.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant1TypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2Privacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2PrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamParentPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamParentPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamPrivacy.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsParentPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsParentPrivacyNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsPrivacy.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsPrivacyNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetState.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetStateNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetUploaderType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetUploaderTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsState.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsStateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsUploaderType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsUploaderTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetState.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetStateNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetUploaderType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetUploaderTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsState.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsStateNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsUploaderType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsUploaderTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerReviewerType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerReviewerTypeNullable.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerType.g.cs create mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersReviewerType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersReviewerTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersType.g.cs delete mode 100644 src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersTypeNullable.g.cs delete mode 100644 src/libs/GitHub/Generated/OneOf.21.g.cs create mode 100644 src/libs/GitHub/Generated/OneOf.5.g.cs diff --git a/src/libs/GitHub/Generated/AnyOf.5.g.cs b/src/libs/GitHub/Generated/AnyOf.5.g.cs new file mode 100644 index 00000000..5766c495 --- /dev/null +++ b/src/libs/GitHub/Generated/AnyOf.5.g.cs @@ -0,0 +1,288 @@ +using System.Linq; + +#nullable enable + +namespace System +{ + /// + /// + /// + public readonly partial struct AnyOf : global::System.IEquatable> + { + /// + /// + /// +#if NET6_0_OR_GREATER + public T1? Value1 { get; init; } +#else + public T1? Value1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] +#endif + public bool IsValue1 => Value1 != null; + + /// + /// + /// + public static implicit operator AnyOf(T1 value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator T1?(AnyOf @this) => @this.Value1; + + /// + /// + /// + public AnyOf(T1? value) + { + Value1 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public T2? Value2 { get; init; } +#else + public T2? Value2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] +#endif + public bool IsValue2 => Value2 != null; + + /// + /// + /// + public static implicit operator AnyOf(T2 value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator T2?(AnyOf @this) => @this.Value2; + + /// + /// + /// + public AnyOf(T2? value) + { + Value2 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public T3? Value3 { get; init; } +#else + public T3? Value3 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value3))] +#endif + public bool IsValue3 => Value3 != null; + + /// + /// + /// + public static implicit operator AnyOf(T3 value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator T3?(AnyOf @this) => @this.Value3; + + /// + /// + /// + public AnyOf(T3? value) + { + Value3 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public T4? Value4 { get; init; } +#else + public T4? Value4 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value4))] +#endif + public bool IsValue4 => Value4 != null; + + /// + /// + /// + public static implicit operator AnyOf(T4 value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator T4?(AnyOf @this) => @this.Value4; + + /// + /// + /// + public AnyOf(T4? value) + { + Value4 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public T5? Value5 { get; init; } +#else + public T5? Value5 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value5))] +#endif + public bool IsValue5 => Value5 != null; + + /// + /// + /// + public static implicit operator AnyOf(T5 value) => new AnyOf(value); + + /// + /// + /// + public static implicit operator T5?(AnyOf @this) => @this.Value5; + + /// + /// + /// + public AnyOf(T5? value) + { + Value5 = value; + } + + /// + /// + /// + public AnyOf( + T1? value1, + T2? value2, + T3? value3, + T4? value4, + T5? value5 + ) + { + Value1 = value1; + Value2 = value2; + Value3 = value3; + Value4 = value4; + Value5 = value5; + } + + /// + /// + /// + public object? Object => + Value5 as object ?? + Value4 as object ?? + Value3 as object ?? + Value2 as object ?? + Value1 as object + ; + + /// + /// + /// + public bool Validate() + { + return IsValue1 || IsValue2 || IsValue3 || IsValue4 || IsValue5; + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Value1, + typeof(T1), + Value2, + typeof(T2), + Value3, + typeof(T3), + Value4, + typeof(T4), + Value5, + typeof(T5), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + return fields.Aggregate(offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(AnyOf other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value3, other.Value3) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value4, other.Value4) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value5, other.Value5) + ; + } + + /// + /// + /// + public static bool operator ==(AnyOf obj1, AnyOf obj2) + { + return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AnyOf obj1, AnyOf obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AnyOf o && Equals(o); + } + } +} diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsCreateWorkflowDispatch.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsCreateWorkflowDispatch.g.cs index 843b2828..8d2283f5 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsCreateWorkflowDispatch.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsCreateWorkflowDispatch.g.cs @@ -9,14 +9,14 @@ partial void PrepareActionsCreateWorkflowDispatchArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::System.OneOf workflowId, + ref global::System.OneOf workflowId, global::GitHub.ActionsCreateWorkflowDispatchRequest request); partial void PrepareActionsCreateWorkflowDispatchRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::System.OneOf workflowId, + global::System.OneOf workflowId, global::GitHub.ActionsCreateWorkflowDispatchRequest request); partial void ProcessActionsCreateWorkflowDispatchResponse( global::System.Net.Http.HttpClient httpClient, @@ -37,7 +37,7 @@ partial void ProcessActionsCreateWorkflowDispatchResponse( public async global::System.Threading.Tasks.Task ActionsCreateWorkflowDispatchAsync( string owner, string repo, - global::System.OneOf workflowId, + global::System.OneOf workflowId, global::GitHub.ActionsCreateWorkflowDispatchRequest request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -106,9 +106,9 @@ partial void ProcessActionsCreateWorkflowDispatchResponse( public async global::System.Threading.Tasks.Task ActionsCreateWorkflowDispatchAsync( string owner, string repo, - global::System.OneOf workflowId, + global::System.OneOf workflowId, string @ref, - object? inputs = default, + global::GitHub.ActionsCreateWorkflowDispatchRequestInputs? inputs = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.ActionsCreateWorkflowDispatchRequest diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsDeleteActionsCacheByKey.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsDeleteActionsCacheByKey.g.cs index 87713bd0..ffe91af8 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsDeleteActionsCacheByKey.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsDeleteActionsCacheByKey.g.cs @@ -10,14 +10,14 @@ partial void PrepareActionsDeleteActionsCacheByKeyArguments( ref string owner, ref string repo, ref string key, - ref string @ref); + ref string? @ref); partial void PrepareActionsDeleteActionsCacheByKeyRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string key, - string @ref); + string? @ref); partial void ProcessActionsDeleteActionsCacheByKeyResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -42,7 +42,7 @@ partial void ProcessActionsDeleteActionsCacheByKeyResponseContent( string owner, string repo, string key, - string @ref, + string? @ref, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsDisableWorkflow.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsDisableWorkflow.g.cs index 2b0a8d56..f5d71e0a 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsDisableWorkflow.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsDisableWorkflow.g.cs @@ -9,13 +9,13 @@ partial void PrepareActionsDisableWorkflowArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::System.OneOf workflowId); + ref global::System.OneOf workflowId); partial void PrepareActionsDisableWorkflowRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::System.OneOf workflowId); + global::System.OneOf workflowId); partial void ProcessActionsDisableWorkflowResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -33,7 +33,7 @@ partial void ProcessActionsDisableWorkflowResponse( public async global::System.Threading.Tasks.Task ActionsDisableWorkflowAsync( string owner, string repo, - global::System.OneOf workflowId, + global::System.OneOf workflowId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsEnableWorkflow.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsEnableWorkflow.g.cs index 486e71b8..cab0711e 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsEnableWorkflow.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsEnableWorkflow.g.cs @@ -9,13 +9,13 @@ partial void PrepareActionsEnableWorkflowArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::System.OneOf workflowId); + ref global::System.OneOf workflowId); partial void PrepareActionsEnableWorkflowRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::System.OneOf workflowId); + global::System.OneOf workflowId); partial void ProcessActionsEnableWorkflowResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -33,7 +33,7 @@ partial void ProcessActionsEnableWorkflowResponse( public async global::System.Threading.Tasks.Task ActionsEnableWorkflowAsync( string owner, string repo, - global::System.OneOf workflowId, + global::System.OneOf workflowId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsGetActionsCacheList.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsGetActionsCacheList.g.cs index 46110192..39b2bb3f 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsGetActionsCacheList.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsGetActionsCacheList.g.cs @@ -11,10 +11,10 @@ partial void PrepareActionsGetActionsCacheListArguments( ref string repo, ref int perPage, ref int page, - ref string @ref, - ref string key, - ref global::GitHub.ActionsGetActionsCacheListSort sort, - ref global::GitHub.ActionsGetActionsCacheListDirection direction); + ref string? @ref, + ref string? key, + ref global::GitHub.ActionsGetActionsCacheListSort? sort, + ref global::GitHub.ActionsGetActionsCacheListDirection? direction); partial void PrepareActionsGetActionsCacheListRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, @@ -22,10 +22,10 @@ partial void PrepareActionsGetActionsCacheListRequest( string repo, int perPage, int page, - string @ref, - string key, - global::GitHub.ActionsGetActionsCacheListSort sort, - global::GitHub.ActionsGetActionsCacheListDirection direction); + string? @ref, + string? key, + global::GitHub.ActionsGetActionsCacheListSort? sort, + global::GitHub.ActionsGetActionsCacheListDirection? direction); partial void ProcessActionsGetActionsCacheListResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -63,10 +63,10 @@ partial void ProcessActionsGetActionsCacheListResponseContent( string repo, int perPage, int page, - string @ref, - string key, - global::GitHub.ActionsGetActionsCacheListSort sort, - global::GitHub.ActionsGetActionsCacheListDirection direction, + string? @ref, + string? key, + global::GitHub.ActionsGetActionsCacheListSort? sort, + global::GitHub.ActionsGetActionsCacheListDirection? direction, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsGetWorkflow.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsGetWorkflow.g.cs index 9f921680..97852f63 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsGetWorkflow.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsGetWorkflow.g.cs @@ -9,13 +9,13 @@ partial void PrepareActionsGetWorkflowArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::System.OneOf workflowId); + ref global::System.OneOf workflowId); partial void PrepareActionsGetWorkflowRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::System.OneOf workflowId); + global::System.OneOf workflowId); partial void ProcessActionsGetWorkflowResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -40,7 +40,7 @@ partial void ProcessActionsGetWorkflowResponseContent( public async global::System.Threading.Tasks.Task ActionsGetWorkflowAsync( string owner, string repo, - global::System.OneOf workflowId, + global::System.OneOf workflowId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsGetWorkflowUsage.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsGetWorkflowUsage.g.cs index b50f5848..ee846660 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsGetWorkflowUsage.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsGetWorkflowUsage.g.cs @@ -9,13 +9,13 @@ partial void PrepareActionsGetWorkflowUsageArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::System.OneOf workflowId); + ref global::System.OneOf workflowId); partial void PrepareActionsGetWorkflowUsageRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::System.OneOf workflowId); + global::System.OneOf workflowId); partial void ProcessActionsGetWorkflowUsageResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -40,7 +40,7 @@ partial void ProcessActionsGetWorkflowUsageResponseContent( public async global::System.Threading.Tasks.Task ActionsGetWorkflowUsageAsync( string owner, string repo, - global::System.OneOf workflowId, + global::System.OneOf workflowId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListArtifactsForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListArtifactsForRepo.g.cs index 1c3fe92e..7d8d2700 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListArtifactsForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListArtifactsForRepo.g.cs @@ -11,7 +11,7 @@ partial void PrepareActionsListArtifactsForRepoArguments( ref string repo, ref int perPage, ref int page, - ref string name); + ref string? name); partial void PrepareActionsListArtifactsForRepoRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, @@ -19,7 +19,7 @@ partial void PrepareActionsListArtifactsForRepoRequest( string repo, int perPage, int page, - string name); + string? name); partial void ProcessActionsListArtifactsForRepoResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessActionsListArtifactsForRepoResponseContent( string repo, int perPage, int page, - string name, + string? name, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListJobsForWorkflowRun.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListJobsForWorkflowRun.g.cs index d1721de9..b51e7ff9 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListJobsForWorkflowRun.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListJobsForWorkflowRun.g.cs @@ -10,7 +10,7 @@ partial void PrepareActionsListJobsForWorkflowRunArguments( ref string owner, ref string repo, ref int runId, - ref global::GitHub.ActionsListJobsForWorkflowRunFilter filter, + ref global::GitHub.ActionsListJobsForWorkflowRunFilter? filter, ref int perPage, ref int page); partial void PrepareActionsListJobsForWorkflowRunRequest( @@ -19,7 +19,7 @@ partial void PrepareActionsListJobsForWorkflowRunRequest( string owner, string repo, int runId, - global::GitHub.ActionsListJobsForWorkflowRunFilter filter, + global::GitHub.ActionsListJobsForWorkflowRunFilter? filter, int perPage, int page); partial void ProcessActionsListJobsForWorkflowRunResponse( @@ -56,7 +56,7 @@ partial void ProcessActionsListJobsForWorkflowRunResponseContent( string owner, string repo, int runId, - global::GitHub.ActionsListJobsForWorkflowRunFilter filter, + global::GitHub.ActionsListJobsForWorkflowRunFilter? filter, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListSelfHostedRunnersForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListSelfHostedRunnersForOrg.g.cs index da82b3ec..1a2e631b 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListSelfHostedRunnersForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListSelfHostedRunnersForOrg.g.cs @@ -7,14 +7,14 @@ public partial class ActionsClient { partial void PrepareActionsListSelfHostedRunnersForOrgArguments( global::System.Net.Http.HttpClient httpClient, - ref string name, + ref string? name, ref string org, ref int perPage, ref int page); partial void PrepareActionsListSelfHostedRunnersForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string name, + string? name, string org, int perPage, int page); @@ -44,7 +44,7 @@ partial void ProcessActionsListSelfHostedRunnersForOrgResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ActionsListSelfHostedRunnersForOrgAsync( - string name, + string? name, string org, int perPage, int page, diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListSelfHostedRunnersForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListSelfHostedRunnersForRepo.g.cs index b40ccc88..8be56f29 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListSelfHostedRunnersForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListSelfHostedRunnersForRepo.g.cs @@ -7,7 +7,7 @@ public partial class ActionsClient { partial void PrepareActionsListSelfHostedRunnersForRepoArguments( global::System.Net.Http.HttpClient httpClient, - ref string name, + ref string? name, ref string owner, ref string repo, ref int perPage, @@ -15,7 +15,7 @@ partial void PrepareActionsListSelfHostedRunnersForRepoArguments( partial void PrepareActionsListSelfHostedRunnersForRepoRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string name, + string? name, string owner, string repo, int perPage, @@ -47,7 +47,7 @@ partial void ProcessActionsListSelfHostedRunnersForRepoResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ActionsListSelfHostedRunnersForRepoAsync( - string name, + string? name, string owner, string repo, int perPage, diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListWorkflowRunArtifacts.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListWorkflowRunArtifacts.g.cs index 0df72ded..633e75e3 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListWorkflowRunArtifacts.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListWorkflowRunArtifacts.g.cs @@ -12,7 +12,7 @@ partial void PrepareActionsListWorkflowRunArtifactsArguments( ref int runId, ref int perPage, ref int page, - ref string name); + ref string? name); partial void PrepareActionsListWorkflowRunArtifactsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, @@ -21,7 +21,7 @@ partial void PrepareActionsListWorkflowRunArtifactsRequest( int runId, int perPage, int page, - string name); + string? name); partial void ProcessActionsListWorkflowRunArtifactsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessActionsListWorkflowRunArtifactsResponseContent( int runId, int perPage, int page, - string name, + string? name, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListWorkflowRuns.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListWorkflowRuns.g.cs index 1fe6de5b..f6f1cf18 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListWorkflowRuns.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListWorkflowRuns.g.cs @@ -9,33 +9,33 @@ partial void PrepareActionsListWorkflowRunsArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::System.OneOf workflowId, - ref string actor, - ref string branch, - ref string @event, - ref global::GitHub.ActionsListWorkflowRunsStatus status, + ref global::System.OneOf workflowId, + ref string? actor, + ref string? branch, + ref string? @event, + ref global::GitHub.ActionsListWorkflowRunsStatus? status, ref int perPage, ref int page, global::System.DateTime created, ref bool excludePullRequests, ref int checkSuiteId, - ref string headSha); + ref string? headSha); partial void PrepareActionsListWorkflowRunsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::System.OneOf workflowId, - string actor, - string branch, - string @event, - global::GitHub.ActionsListWorkflowRunsStatus status, + global::System.OneOf workflowId, + string? actor, + string? branch, + string? @event, + global::GitHub.ActionsListWorkflowRunsStatus? status, int perPage, int page, global::System.DateTime created, bool excludePullRequests, int checkSuiteId, - string headSha); + string? headSha); partial void ProcessActionsListWorkflowRunsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -75,17 +75,17 @@ partial void ProcessActionsListWorkflowRunsResponseContent( public async global::System.Threading.Tasks.Task ActionsListWorkflowRunsAsync( string owner, string repo, - global::System.OneOf workflowId, - string actor, - string branch, - string @event, - global::GitHub.ActionsListWorkflowRunsStatus status, + global::System.OneOf workflowId, + string? actor, + string? branch, + string? @event, + global::GitHub.ActionsListWorkflowRunsStatus? status, int perPage, int page, global::System.DateTime created, bool excludePullRequests, int checkSuiteId, - string headSha, + string? headSha, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListWorkflowRunsForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListWorkflowRunsForRepo.g.cs index 21ecf7b2..b786235b 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListWorkflowRunsForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsListWorkflowRunsForRepo.g.cs @@ -9,31 +9,31 @@ partial void PrepareActionsListWorkflowRunsForRepoArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string actor, - ref string branch, - ref string @event, - ref global::GitHub.ActionsListWorkflowRunsForRepoStatus status, + ref string? actor, + ref string? branch, + ref string? @event, + ref global::GitHub.ActionsListWorkflowRunsForRepoStatus? status, ref int perPage, ref int page, global::System.DateTime created, ref bool excludePullRequests, ref int checkSuiteId, - ref string headSha); + ref string? headSha); partial void PrepareActionsListWorkflowRunsForRepoRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string actor, - string branch, - string @event, - global::GitHub.ActionsListWorkflowRunsForRepoStatus status, + string? actor, + string? branch, + string? @event, + global::GitHub.ActionsListWorkflowRunsForRepoStatus? status, int perPage, int page, global::System.DateTime created, bool excludePullRequests, int checkSuiteId, - string headSha); + string? headSha); partial void ProcessActionsListWorkflowRunsForRepoResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -73,16 +73,16 @@ partial void ProcessActionsListWorkflowRunsForRepoResponseContent( public async global::System.Threading.Tasks.Task ActionsListWorkflowRunsForRepoAsync( string owner, string repo, - string actor, - string branch, - string @event, - global::GitHub.ActionsListWorkflowRunsForRepoStatus status, + string? actor, + string? branch, + string? @event, + global::GitHub.ActionsListWorkflowRunsForRepoStatus? status, int perPage, int page, global::System.DateTime created, bool excludePullRequests, int checkSuiteId, - string headSha, + string? headSha, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsReviewCustomGatesForRun.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsReviewCustomGatesForRun.g.cs index 971d62f0..e2fae52d 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsReviewCustomGatesForRun.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsReviewCustomGatesForRun.g.cs @@ -10,14 +10,14 @@ partial void PrepareActionsReviewCustomGatesForRunArguments( ref string owner, ref string repo, ref int runId, - global::System.AnyOf request); + global::System.AnyOf request); partial void PrepareActionsReviewCustomGatesForRunRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, int runId, - global::System.AnyOf request); + global::System.AnyOf request); partial void ProcessActionsReviewCustomGatesForRunResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -39,11 +39,9 @@ partial void ProcessActionsReviewCustomGatesForRunResponse( string owner, string repo, int runId, - global::System.AnyOf request, + global::System.AnyOf request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareActionsReviewCustomGatesForRunArguments( @@ -105,7 +103,7 @@ partial void ProcessActionsReviewCustomGatesForRunResponse( int runId, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.AnyOf + var request = new global::System.AnyOf { }; diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsSetAllowedActionsOrganization.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsSetAllowedActionsOrganization.g.cs index 12cbbaf2..c76be9ba 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsSetAllowedActionsOrganization.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsSetAllowedActionsOrganization.g.cs @@ -96,7 +96,7 @@ partial void ProcessActionsSetAllowedActionsOrganizationResponse( string org, bool githubOwnedAllowed = default, bool verifiedAllowed = default, - global::System.Collections.Generic.IList? patternsAllowed = default, + global::System.Collections.Generic.IList? patternsAllowed = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.SelectedActions diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsSetAllowedActionsRepository.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsSetAllowedActionsRepository.g.cs index d2fa4592..37b1cd76 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsSetAllowedActionsRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsSetAllowedActionsRepository.g.cs @@ -104,7 +104,7 @@ partial void ProcessActionsSetAllowedActionsRepositoryResponse( string repo, bool githubOwnedAllowed = default, bool verifiedAllowed = default, - global::System.Collections.Generic.IList? patternsAllowed = default, + global::System.Collections.Generic.IList? patternsAllowed = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.SelectedActions diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.cs index d5e83ecf..38731f74 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.cs @@ -126,7 +126,7 @@ partial void ProcessActionsSetCustomOidcSubClaimForRepoResponseContent( string owner, string repo, bool useDefault, - global::System.Collections.Generic.IList? includeClaimKeys = default, + global::System.Collections.Generic.IList? includeClaimKeys = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.ActionsSetCustomOidcSubClaimForRepoRequest diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsUpdateEnvironmentVariable.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsUpdateEnvironmentVariable.g.cs index bc85b901..ea3dd8c2 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsUpdateEnvironmentVariable.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsUpdateEnvironmentVariable.g.cs @@ -58,7 +58,7 @@ partial void ProcessActionsUpdateEnvironmentVariableResponse( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/environments/{environmentName}/variables/{name}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ActionsUpdateEnvironmentVariableRequest), diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsUpdateOrgVariable.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsUpdateOrgVariable.g.cs index 9523f87e..2824928e 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsUpdateOrgVariable.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsUpdateOrgVariable.g.cs @@ -48,7 +48,7 @@ partial void ProcessActionsUpdateOrgVariableResponse( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/actions/variables/{name}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ActionsUpdateOrgVariableRequest), diff --git a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsUpdateRepoVariable.g.cs b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsUpdateRepoVariable.g.cs index 0dde9017..070842a6 100644 --- a/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsUpdateRepoVariable.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActionsClient.ActionsUpdateRepoVariable.g.cs @@ -53,7 +53,7 @@ partial void ProcessActionsUpdateRepoVariableResponse( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/actions/variables/{name}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ActionsUpdateRepoVariableRequest), diff --git a/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityListReposStarredByAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityListReposStarredByAuthenticatedUser.g.cs index 768b0670..ec3ee23a 100644 --- a/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityListReposStarredByAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityListReposStarredByAuthenticatedUser.g.cs @@ -7,15 +7,15 @@ public partial class ActivityClient { partial void PrepareActivityListReposStarredByAuthenticatedUserArguments( global::System.Net.Http.HttpClient httpClient, - ref global::GitHub.ActivityListReposStarredByAuthenticatedUserSort sort, - ref global::GitHub.ActivityListReposStarredByAuthenticatedUserDirection direction, + ref global::GitHub.ActivityListReposStarredByAuthenticatedUserSort? sort, + ref global::GitHub.ActivityListReposStarredByAuthenticatedUserDirection? direction, ref int perPage, ref int page); partial void PrepareActivityListReposStarredByAuthenticatedUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::GitHub.ActivityListReposStarredByAuthenticatedUserSort sort, - global::GitHub.ActivityListReposStarredByAuthenticatedUserDirection direction, + global::GitHub.ActivityListReposStarredByAuthenticatedUserSort? sort, + global::GitHub.ActivityListReposStarredByAuthenticatedUserDirection? direction, int perPage, int page); partial void ProcessActivityListReposStarredByAuthenticatedUserResponse( @@ -48,8 +48,8 @@ partial void ProcessActivityListReposStarredByAuthenticatedUserResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ActivityListReposStarredByAuthenticatedUserAsync( - global::GitHub.ActivityListReposStarredByAuthenticatedUserSort sort, - global::GitHub.ActivityListReposStarredByAuthenticatedUserDirection direction, + global::GitHub.ActivityListReposStarredByAuthenticatedUserSort? sort, + global::GitHub.ActivityListReposStarredByAuthenticatedUserDirection? direction, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityListReposStarredByUser.g.cs b/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityListReposStarredByUser.g.cs index bad94fb5..6a74fb08 100644 --- a/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityListReposStarredByUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityListReposStarredByUser.g.cs @@ -8,16 +8,16 @@ public partial class ActivityClient partial void PrepareActivityListReposStarredByUserArguments( global::System.Net.Http.HttpClient httpClient, ref string username, - ref global::GitHub.ActivityListReposStarredByUserSort sort, - ref global::GitHub.ActivityListReposStarredByUserDirection direction, + ref global::GitHub.ActivityListReposStarredByUserSort? sort, + ref global::GitHub.ActivityListReposStarredByUserDirection? direction, ref int perPage, ref int page); partial void PrepareActivityListReposStarredByUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string username, - global::GitHub.ActivityListReposStarredByUserSort sort, - global::GitHub.ActivityListReposStarredByUserDirection direction, + global::GitHub.ActivityListReposStarredByUserSort? sort, + global::GitHub.ActivityListReposStarredByUserDirection? direction, int perPage, int page); partial void ProcessActivityListReposStarredByUserResponse( @@ -50,10 +50,10 @@ partial void ProcessActivityListReposStarredByUserResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ActivityListReposStarredByUserAsync( + public async global::System.Threading.Tasks.Task?, global::System.Collections.Generic.IList?>> ActivityListReposStarredByUserAsync( string username, - global::GitHub.ActivityListReposStarredByUserSort sort, - global::GitHub.ActivityListReposStarredByUserDirection direction, + global::GitHub.ActivityListReposStarredByUserSort? sort, + global::GitHub.ActivityListReposStarredByUserDirection? direction, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityListStargazersForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityListStargazersForRepo.g.cs index c977b5d4..764fc6e5 100644 --- a/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityListStargazersForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityListStargazersForRepo.g.cs @@ -43,7 +43,7 @@ partial void ProcessActivityListStargazersForRepoResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ActivityListStargazersForRepoAsync( + public async global::System.Threading.Tasks.Task?, global::System.Collections.Generic.IList?>> ActivityListStargazersForRepoAsync( string owner, string repo, int perPage, diff --git a/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityMarkThreadAsRead.g.cs b/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityMarkThreadAsRead.g.cs index a4694454..13ee7d98 100644 --- a/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityMarkThreadAsRead.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ActivityClient.ActivityMarkThreadAsRead.g.cs @@ -39,7 +39,7 @@ partial void ProcessActivityMarkThreadAsReadResponseContent( threadId: ref threadId); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/notifications/threads/{threadId}", global::System.UriKind.RelativeOrAbsolute)); PrepareRequest( diff --git a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsCreateFromManifest.g.cs b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsCreateFromManifest.g.cs index 9e69a64c..f0418d3b 100644 --- a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsCreateFromManifest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsCreateFromManifest.g.cs @@ -28,7 +28,7 @@ partial void ProcessAppsCreateFromManifestResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> AppsCreateFromManifestAsync( + public async global::System.Threading.Tasks.Task> AppsCreateFromManifestAsync( string code, global::System.Threading.CancellationToken cancellationToken = default) { @@ -83,7 +83,7 @@ partial void ProcessAppsCreateFromManifestResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.NullableAllOfIntegrationAppsCreateFromManifestResponse) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.NullableAllOfIntegrationAppsCreateFromManifestResponse2) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsCreateInstallationAccessToken.g.cs b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsCreateInstallationAccessToken.g.cs index 59275408..ee060ff3 100644 --- a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsCreateInstallationAccessToken.g.cs +++ b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsCreateInstallationAccessToken.g.cs @@ -127,7 +127,7 @@ partial void ProcessAppsCreateInstallationAccessTokenResponseContent( /// public async global::System.Threading.Tasks.Task AppsCreateInstallationAccessTokenAsync( int installationId, - global::System.Collections.Generic.IList? repositories = default, + global::System.Collections.Generic.IList? repositories = default, global::System.Collections.Generic.IList? repositoryIds = default, global::GitHub.AppPermissions? permissions = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsGetAuthenticated.g.cs b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsGetAuthenticated.g.cs index cb2c4bcd..fbbcc599 100644 --- a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsGetAuthenticated.g.cs +++ b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsGetAuthenticated.g.cs @@ -26,7 +26,7 @@ partial void ProcessAppsGetAuthenticatedResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task AppsGetAuthenticatedAsync( + public async global::System.Threading.Tasks.Task AppsGetAuthenticatedAsync( global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsGetBySlug.g.cs b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsGetBySlug.g.cs index 49af95d1..b3e235bc 100644 --- a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsGetBySlug.g.cs +++ b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsGetBySlug.g.cs @@ -29,7 +29,7 @@ partial void ProcessAppsGetBySlugResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task AppsGetBySlugAsync( + public async global::System.Threading.Tasks.Task AppsGetBySlugAsync( string appSlug, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListAccountsForPlan.g.cs b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListAccountsForPlan.g.cs index 19877445..0f30c84e 100644 --- a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListAccountsForPlan.g.cs +++ b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListAccountsForPlan.g.cs @@ -8,16 +8,16 @@ public partial class AppsClient partial void PrepareAppsListAccountsForPlanArguments( global::System.Net.Http.HttpClient httpClient, ref int planId, - ref global::GitHub.AppsListAccountsForPlanSort sort, - ref global::GitHub.AppsListAccountsForPlanDirection direction, + ref global::GitHub.AppsListAccountsForPlanSort? sort, + ref global::GitHub.AppsListAccountsForPlanDirection? direction, ref int perPage, ref int page); partial void PrepareAppsListAccountsForPlanRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int planId, - global::GitHub.AppsListAccountsForPlanSort sort, - global::GitHub.AppsListAccountsForPlanDirection direction, + global::GitHub.AppsListAccountsForPlanSort? sort, + global::GitHub.AppsListAccountsForPlanDirection? direction, int perPage, int page); partial void ProcessAppsListAccountsForPlanResponse( @@ -49,8 +49,8 @@ partial void ProcessAppsListAccountsForPlanResponseContent( /// public async global::System.Threading.Tasks.Task> AppsListAccountsForPlanAsync( int planId, - global::GitHub.AppsListAccountsForPlanSort sort, - global::GitHub.AppsListAccountsForPlanDirection direction, + global::GitHub.AppsListAccountsForPlanSort? sort, + global::GitHub.AppsListAccountsForPlanDirection? direction, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListAccountsForPlanStubbed.g.cs b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListAccountsForPlanStubbed.g.cs index 45eeeb19..dc4ad5fe 100644 --- a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListAccountsForPlanStubbed.g.cs +++ b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListAccountsForPlanStubbed.g.cs @@ -8,16 +8,16 @@ public partial class AppsClient partial void PrepareAppsListAccountsForPlanStubbedArguments( global::System.Net.Http.HttpClient httpClient, ref int planId, - ref global::GitHub.AppsListAccountsForPlanStubbedSort sort, - ref global::GitHub.AppsListAccountsForPlanStubbedDirection direction, + ref global::GitHub.AppsListAccountsForPlanStubbedSort? sort, + ref global::GitHub.AppsListAccountsForPlanStubbedDirection? direction, ref int perPage, ref int page); partial void PrepareAppsListAccountsForPlanStubbedRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int planId, - global::GitHub.AppsListAccountsForPlanStubbedSort sort, - global::GitHub.AppsListAccountsForPlanStubbedDirection direction, + global::GitHub.AppsListAccountsForPlanStubbedSort? sort, + global::GitHub.AppsListAccountsForPlanStubbedDirection? direction, int perPage, int page); partial void ProcessAppsListAccountsForPlanStubbedResponse( @@ -49,8 +49,8 @@ partial void ProcessAppsListAccountsForPlanStubbedResponseContent( /// public async global::System.Threading.Tasks.Task> AppsListAccountsForPlanStubbedAsync( int planId, - global::GitHub.AppsListAccountsForPlanStubbedSort sort, - global::GitHub.AppsListAccountsForPlanStubbedDirection direction, + global::GitHub.AppsListAccountsForPlanStubbedSort? sort, + global::GitHub.AppsListAccountsForPlanStubbedDirection? direction, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListInstallations.g.cs b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListInstallations.g.cs index 98d2f0bd..8f104948 100644 --- a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListInstallations.g.cs +++ b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListInstallations.g.cs @@ -10,14 +10,14 @@ partial void PrepareAppsListInstallationsArguments( ref int perPage, ref int page, global::System.DateTime since, - ref string outdated); + ref string? outdated); partial void PrepareAppsListInstallationsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int perPage, int page, global::System.DateTime since, - string outdated); + string? outdated); partial void ProcessAppsListInstallationsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessAppsListInstallationsResponseContent( int perPage, int page, global::System.DateTime since, - string outdated, + string? outdated, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListWebhookDeliveries.g.cs b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListWebhookDeliveries.g.cs index 04e5f2a3..b43a447d 100644 --- a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListWebhookDeliveries.g.cs +++ b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsListWebhookDeliveries.g.cs @@ -8,13 +8,13 @@ public partial class AppsClient partial void PrepareAppsListWebhookDeliveriesArguments( global::System.Net.Http.HttpClient httpClient, ref int perPage, - ref string cursor, + ref string? cursor, ref bool redelivery); partial void PrepareAppsListWebhookDeliveriesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int perPage, - string cursor, + string? cursor, bool redelivery); partial void ProcessAppsListWebhookDeliveriesResponse( global::System.Net.Http.HttpClient httpClient, @@ -39,7 +39,7 @@ partial void ProcessAppsListWebhookDeliveriesResponseContent( /// public async global::System.Threading.Tasks.Task> AppsListWebhookDeliveriesAsync( int perPage, - string cursor, + string? cursor, bool redelivery, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsRedeliverWebhookDelivery.g.cs b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsRedeliverWebhookDelivery.g.cs index 7cb9844f..028e94f0 100644 --- a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsRedeliverWebhookDelivery.g.cs +++ b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsRedeliverWebhookDelivery.g.cs @@ -29,7 +29,7 @@ partial void ProcessAppsRedeliverWebhookDeliveryResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task AppsRedeliverWebhookDeliveryAsync( + public async global::System.Threading.Tasks.Task AppsRedeliverWebhookDeliveryAsync( int deliveryId, global::System.Threading.CancellationToken cancellationToken = default) { @@ -84,7 +84,7 @@ partial void ProcessAppsRedeliverWebhookDeliveryResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.Object) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.AppsRedeliverWebhookDeliveryResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsResetToken.g.cs b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsResetToken.g.cs index 8d87b378..8017d8e8 100644 --- a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsResetToken.g.cs +++ b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsResetToken.g.cs @@ -46,7 +46,7 @@ partial void ProcessAppsResetTokenResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/applications/{clientId}/token", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.AppsResetTokenRequest), diff --git a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsScopeToken.g.cs b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsScopeToken.g.cs index c20fb821..19e53dc3 100644 --- a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsScopeToken.g.cs +++ b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsScopeToken.g.cs @@ -140,7 +140,7 @@ partial void ProcessAppsScopeTokenResponseContent( string accessToken, string? target = default, int targetId = default, - global::System.Collections.Generic.IList? repositories = default, + global::System.Collections.Generic.IList? repositories = default, global::System.Collections.Generic.IList? repositoryIds = default, global::GitHub.AppPermissions? permissions = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsUpdateWebhookConfigForApp.g.cs b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsUpdateWebhookConfigForApp.g.cs index 57f3d122..769ec53e 100644 --- a/src/libs/GitHub/Generated/GitHub.AppsClient.AppsUpdateWebhookConfigForApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.AppsClient.AppsUpdateWebhookConfigForApp.g.cs @@ -42,7 +42,7 @@ partial void ProcessAppsUpdateWebhookConfigForAppResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/app/hook/config", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.AppsUpdateWebhookConfigForAppRequest), @@ -119,7 +119,7 @@ partial void ProcessAppsUpdateWebhookConfigForAppResponseContent( string? url = default, string? contentType = default, string? secret = default, - global::System.OneOf? insecureSsl = default, + global::GitHub.WebhookConfigInsecureSsl? insecureSsl = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.AppsUpdateWebhookConfigForAppRequest diff --git a/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksCreate.g.cs b/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksCreate.g.cs index 850e8e36..43af5975 100644 --- a/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksCreate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksCreate.g.cs @@ -44,8 +44,6 @@ partial void ProcessChecksCreateResponseContent( global::GitHub.ChecksCreateRequest request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareChecksCreateArguments( @@ -120,15 +118,67 @@ partial void ProcessChecksCreateResponseContent( /// /// /// + /// + /// The name of the check. For example, "code-coverage". + /// + /// + /// The SHA of the commit. + /// + /// + /// The URL of the integrator's site that has the full details of the check. If the integrator does not provide this, then the homepage of the GitHub app is used. + /// + /// + /// A reference for the run on the integrator's system. + /// + /// + /// The current status of the check run. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`.
+ /// Default Value: queued + /// + /// + /// The time that the check run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + /// + /// **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check.
+ /// **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. You cannot change a check run conclusion to `stale`, only GitHub can set this. + /// + /// + /// The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + /// + /// Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. + /// + /// + /// Displays a button on GitHub that can be clicked to alert your app to do additional tasks. For example, a code linting app can display a button that automatically fixes detected errors. The button created in this object is displayed after the check run completes. When a user clicks the button, GitHub sends the [`check_run.requested_action` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) to your app. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://docs.github.com/rest/guides/using-the-rest-api-to-interact-with-checks#check-runs-and-requested-actions)." + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ChecksCreateAsync( string owner, string repo, + string name, + string headSha, + string? detailsUrl = default, + string? externalId = default, + global::GitHub.ChecksCreateRequestStatus? status = global::GitHub.ChecksCreateRequestStatus.Queued, + global::System.DateTime startedAt = default, + global::GitHub.ChecksCreateRequestConclusion? conclusion = default, + global::System.DateTime completedAt = default, + global::GitHub.ChecksCreateRequestOutput? output = default, + global::System.Collections.Generic.IList? actions = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.ChecksCreateRequest { + Name = name, + HeadSha = headSha, + DetailsUrl = detailsUrl, + ExternalId = externalId, + Status = status, + StartedAt = startedAt, + Conclusion = conclusion, + CompletedAt = completedAt, + Output = output, + Actions = actions, }; return await ChecksCreateAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksListForRef.g.cs b/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksListForRef.g.cs index 57e22007..dc74e90e 100644 --- a/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksListForRef.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksListForRef.g.cs @@ -10,9 +10,9 @@ partial void PrepareChecksListForRefArguments( ref string owner, ref string repo, ref string @ref, - ref string checkName, - ref global::GitHub.ChecksListForRefStatus status, - ref global::GitHub.ChecksListForRefFilter filter, + ref string? checkName, + ref global::GitHub.ChecksListForRefStatus? status, + ref global::GitHub.ChecksListForRefFilter? filter, ref int perPage, ref int page, ref int appId); @@ -22,9 +22,9 @@ partial void PrepareChecksListForRefRequest( string owner, string repo, string @ref, - string checkName, - global::GitHub.ChecksListForRefStatus status, - global::GitHub.ChecksListForRefFilter filter, + string? checkName, + global::GitHub.ChecksListForRefStatus? status, + global::GitHub.ChecksListForRefFilter? filter, int perPage, int page, int appId); @@ -66,9 +66,9 @@ partial void ProcessChecksListForRefResponseContent( string owner, string repo, string @ref, - string checkName, - global::GitHub.ChecksListForRefStatus status, - global::GitHub.ChecksListForRefFilter filter, + string? checkName, + global::GitHub.ChecksListForRefStatus? status, + global::GitHub.ChecksListForRefFilter? filter, int perPage, int page, int appId, diff --git a/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksListForSuite.g.cs b/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksListForSuite.g.cs index 0b1cdfce..6095d56f 100644 --- a/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksListForSuite.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksListForSuite.g.cs @@ -10,9 +10,9 @@ partial void PrepareChecksListForSuiteArguments( ref string owner, ref string repo, ref int checkSuiteId, - ref string checkName, - ref global::GitHub.ChecksListForSuiteStatus status, - ref global::GitHub.ChecksListForSuiteFilter filter, + ref string? checkName, + ref global::GitHub.ChecksListForSuiteStatus? status, + ref global::GitHub.ChecksListForSuiteFilter? filter, ref int perPage, ref int page); partial void PrepareChecksListForSuiteRequest( @@ -21,9 +21,9 @@ partial void PrepareChecksListForSuiteRequest( string owner, string repo, int checkSuiteId, - string checkName, - global::GitHub.ChecksListForSuiteStatus status, - global::GitHub.ChecksListForSuiteFilter filter, + string? checkName, + global::GitHub.ChecksListForSuiteStatus? status, + global::GitHub.ChecksListForSuiteFilter? filter, int perPage, int page); partial void ProcessChecksListForSuiteResponse( @@ -62,9 +62,9 @@ partial void ProcessChecksListForSuiteResponseContent( string owner, string repo, int checkSuiteId, - string checkName, - global::GitHub.ChecksListForSuiteStatus status, - global::GitHub.ChecksListForSuiteFilter filter, + string? checkName, + global::GitHub.ChecksListForSuiteStatus? status, + global::GitHub.ChecksListForSuiteFilter? filter, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksListSuitesForRef.g.cs b/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksListSuitesForRef.g.cs index d148257e..420347f4 100644 --- a/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksListSuitesForRef.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksListSuitesForRef.g.cs @@ -11,7 +11,7 @@ partial void PrepareChecksListSuitesForRefArguments( ref string repo, ref string @ref, ref int appId, - ref string checkName, + ref string? checkName, ref int perPage, ref int page); partial void PrepareChecksListSuitesForRefRequest( @@ -21,7 +21,7 @@ partial void PrepareChecksListSuitesForRefRequest( string repo, string @ref, int appId, - string checkName, + string? checkName, int perPage, int page); partial void ProcessChecksListSuitesForRefResponse( @@ -58,7 +58,7 @@ partial void ProcessChecksListSuitesForRefResponseContent( string repo, string @ref, int appId, - string checkName, + string? checkName, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksSetSuitesPreferences.g.cs b/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksSetSuitesPreferences.g.cs index 1dd6c27c..d7a299e8 100644 --- a/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksSetSuitesPreferences.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksSetSuitesPreferences.g.cs @@ -52,7 +52,7 @@ partial void ProcessChecksSetSuitesPreferencesResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/check-suites/preferences", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ChecksSetSuitesPreferencesRequest), @@ -122,7 +122,7 @@ partial void ProcessChecksSetSuitesPreferencesResponseContent( public async global::System.Threading.Tasks.Task ChecksSetSuitesPreferencesAsync( string owner, string repo, - global::System.Collections.Generic.IList? autoTriggerChecks = default, + global::System.Collections.Generic.IList? autoTriggerChecks = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.ChecksSetSuitesPreferencesRequest diff --git a/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksUpdate.g.cs b/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksUpdate.g.cs index 27286ea0..56969d8d 100644 --- a/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksUpdate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ChecksClient.ChecksUpdate.g.cs @@ -47,8 +47,6 @@ partial void ProcessChecksUpdateResponseContent( global::GitHub.ChecksUpdateRequest request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareChecksUpdateArguments( @@ -59,7 +57,7 @@ partial void ProcessChecksUpdateResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/check-runs/{checkRunId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ChecksUpdateRequest), @@ -125,16 +123,62 @@ partial void ProcessChecksUpdateResponseContent( /// /// /// + /// + /// The name of the check. For example, "code-coverage". + /// + /// + /// The URL of the integrator's site that has the full details of the check. + /// + /// + /// A reference for the run on the integrator's system. + /// + /// + /// This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + /// + /// The current status of the check run. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`. + /// + /// + /// **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check.
+ /// **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. You cannot change a check run conclusion to `stale`, only GitHub can set this. + /// + /// + /// The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + /// + /// Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. + /// + /// + /// Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://docs.github.com/rest/guides/using-the-rest-api-to-interact-with-checks#check-runs-and-requested-actions)." + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ChecksUpdateAsync( string owner, string repo, int checkRunId, + string? name = default, + string? detailsUrl = default, + string? externalId = default, + global::System.DateTime startedAt = default, + global::GitHub.ChecksUpdateRequestStatus? status = default, + global::GitHub.ChecksUpdateRequestConclusion? conclusion = default, + global::System.DateTime completedAt = default, + global::GitHub.ChecksUpdateRequestOutput? output = default, + global::System.Collections.Generic.IList? actions = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.ChecksUpdateRequest { + Name = name, + DetailsUrl = detailsUrl, + ExternalId = externalId, + StartedAt = startedAt, + Status = status, + Conclusion = conclusion, + CompletedAt = completedAt, + Output = output, + Actions = actions, }; return await ChecksUpdateAsync( diff --git a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningCreateVariantAnalysis.g.cs b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningCreateVariantAnalysis.g.cs index 7b19eccc..3eadfca6 100644 --- a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningCreateVariantAnalysis.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningCreateVariantAnalysis.g.cs @@ -44,8 +44,6 @@ partial void ProcessCodeScanningCreateVariantAnalysisResponseContent( global::GitHub.CodeScanningCreateVariantAnalysisRequest request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareCodeScanningCreateVariantAnalysisArguments( @@ -120,15 +118,40 @@ partial void ProcessCodeScanningCreateVariantAnalysisResponseContent( /// /// /// + /// + /// The language targeted by the CodeQL query + /// + /// + /// A Base64-encoded tarball containing a CodeQL query and all its dependencies + /// + /// + /// List of repository names (in the form `owner/repo-name`) to run the query against. Precisely one property from `repositories`, `repository_lists` and `repository_owners` is required. + /// + /// + /// List of repository lists to run the query against. Precisely one property from `repositories`, `repository_lists` and `repository_owners` is required. + /// + /// + /// List of organization or user names whose repositories the query should be run against. Precisely one property from `repositories`, `repository_lists` and `repository_owners` is required. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CodeScanningCreateVariantAnalysisAsync( string owner, string repo, + global::GitHub.CodeScanningVariantAnalysisLanguage language, + string queryPack, + global::System.Collections.Generic.IList? repositories = default, + global::System.Collections.Generic.IList? repositoryLists = default, + global::System.Collections.Generic.IList? repositoryOwners = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.CodeScanningCreateVariantAnalysisRequest { + Language = language, + QueryPack = queryPack, + Repositories = repositories, + RepositoryLists = repositoryLists, + RepositoryOwners = repositoryOwners, }; return await CodeScanningCreateVariantAnalysisAsync( diff --git a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListAlertInstances.g.cs b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListAlertInstances.g.cs index 410f9bad..d8ee4938 100644 --- a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListAlertInstances.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListAlertInstances.g.cs @@ -12,7 +12,7 @@ partial void PrepareCodeScanningListAlertInstancesArguments( ref int alertNumber, ref int page, ref int perPage, - ref string @ref); + ref string? @ref); partial void PrepareCodeScanningListAlertInstancesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, @@ -21,7 +21,7 @@ partial void PrepareCodeScanningListAlertInstancesRequest( int alertNumber, int page, int perPage, - string @ref); + string? @ref); partial void ProcessCodeScanningListAlertInstancesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -59,7 +59,7 @@ partial void ProcessCodeScanningListAlertInstancesResponseContent( int alertNumber, int page, int perPage, - string @ref, + string? @ref, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListAlertsForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListAlertsForOrg.g.cs index 5a381566..3f85ee54 100644 --- a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListAlertsForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListAlertsForOrg.g.cs @@ -8,30 +8,30 @@ public partial class CodeScanningClient partial void PrepareCodeScanningListAlertsForOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref string toolName, + ref string? toolName, ref string? toolGuid, - ref string before, - ref string after, + ref string? before, + ref string? after, ref int page, ref int perPage, - ref global::GitHub.CodeScanningListAlertsForOrgDirection direction, - ref global::GitHub.CodeScanningAlertStateQuery state, - ref global::GitHub.CodeScanningListAlertsForOrgSort sort, - ref global::GitHub.CodeScanningAlertSeverity severity); + ref global::GitHub.CodeScanningListAlertsForOrgDirection? direction, + ref global::GitHub.CodeScanningAlertStateQuery? state, + ref global::GitHub.CodeScanningListAlertsForOrgSort? sort, + ref global::GitHub.CodeScanningAlertSeverity? severity); partial void PrepareCodeScanningListAlertsForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - string toolName, + string? toolName, string? toolGuid, - string before, - string after, + string? before, + string? after, int page, int perPage, - global::GitHub.CodeScanningListAlertsForOrgDirection direction, - global::GitHub.CodeScanningAlertStateQuery state, - global::GitHub.CodeScanningListAlertsForOrgSort sort, - global::GitHub.CodeScanningAlertSeverity severity); + global::GitHub.CodeScanningListAlertsForOrgDirection? direction, + global::GitHub.CodeScanningAlertStateQuery? state, + global::GitHub.CodeScanningListAlertsForOrgSort? sort, + global::GitHub.CodeScanningAlertSeverity? severity); partial void ProcessCodeScanningListAlertsForOrgResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -78,16 +78,16 @@ partial void ProcessCodeScanningListAlertsForOrgResponseContent( /// public async global::System.Threading.Tasks.Task> CodeScanningListAlertsForOrgAsync( string org, - string toolName, + string? toolName, string? toolGuid, - string before, - string after, + string? before, + string? after, int page, int perPage, - global::GitHub.CodeScanningListAlertsForOrgDirection direction, - global::GitHub.CodeScanningAlertStateQuery state, - global::GitHub.CodeScanningListAlertsForOrgSort sort, - global::GitHub.CodeScanningAlertSeverity severity, + global::GitHub.CodeScanningListAlertsForOrgDirection? direction, + global::GitHub.CodeScanningAlertStateQuery? state, + global::GitHub.CodeScanningListAlertsForOrgSort? sort, + global::GitHub.CodeScanningAlertSeverity? severity, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListAlertsForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListAlertsForRepo.g.cs index ac6f45f4..5c9f1c42 100644 --- a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListAlertsForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListAlertsForRepo.g.cs @@ -9,29 +9,29 @@ partial void PrepareCodeScanningListAlertsForRepoArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string toolName, + ref string? toolName, ref string? toolGuid, ref int page, ref int perPage, - ref string @ref, - ref global::GitHub.CodeScanningListAlertsForRepoDirection direction, - ref global::GitHub.CodeScanningListAlertsForRepoSort sort, - ref global::GitHub.CodeScanningAlertStateQuery state, - ref global::GitHub.CodeScanningAlertSeverity severity); + ref string? @ref, + ref global::GitHub.CodeScanningListAlertsForRepoDirection? direction, + ref global::GitHub.CodeScanningListAlertsForRepoSort? sort, + ref global::GitHub.CodeScanningAlertStateQuery? state, + ref global::GitHub.CodeScanningAlertSeverity? severity); partial void PrepareCodeScanningListAlertsForRepoRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string toolName, + string? toolName, string? toolGuid, int page, int perPage, - string @ref, - global::GitHub.CodeScanningListAlertsForRepoDirection direction, - global::GitHub.CodeScanningListAlertsForRepoSort sort, - global::GitHub.CodeScanningAlertStateQuery state, - global::GitHub.CodeScanningAlertSeverity severity); + string? @ref, + global::GitHub.CodeScanningListAlertsForRepoDirection? direction, + global::GitHub.CodeScanningListAlertsForRepoSort? sort, + global::GitHub.CodeScanningAlertStateQuery? state, + global::GitHub.CodeScanningAlertSeverity? severity); partial void ProcessCodeScanningListAlertsForRepoResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -84,15 +84,15 @@ partial void ProcessCodeScanningListAlertsForRepoResponseContent( public async global::System.Threading.Tasks.Task> CodeScanningListAlertsForRepoAsync( string owner, string repo, - string toolName, + string? toolName, string? toolGuid, int page, int perPage, - string @ref, - global::GitHub.CodeScanningListAlertsForRepoDirection direction, - global::GitHub.CodeScanningListAlertsForRepoSort sort, - global::GitHub.CodeScanningAlertStateQuery state, - global::GitHub.CodeScanningAlertSeverity severity, + string? @ref, + global::GitHub.CodeScanningListAlertsForRepoDirection? direction, + global::GitHub.CodeScanningListAlertsForRepoSort? sort, + global::GitHub.CodeScanningAlertStateQuery? state, + global::GitHub.CodeScanningAlertSeverity? severity, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListRecentAnalyses.g.cs b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListRecentAnalyses.g.cs index 3692f616..c56df628 100644 --- a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListRecentAnalyses.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningListRecentAnalyses.g.cs @@ -9,27 +9,27 @@ partial void PrepareCodeScanningListRecentAnalysesArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string toolName, + ref string? toolName, ref string? toolGuid, ref int page, ref int perPage, - ref string @ref, - ref string sarifId, - ref global::GitHub.CodeScanningListRecentAnalysesDirection direction, - ref global::GitHub.CodeScanningListRecentAnalysesSort sort); + ref string? @ref, + ref string? sarifId, + ref global::GitHub.CodeScanningListRecentAnalysesDirection? direction, + ref global::GitHub.CodeScanningListRecentAnalysesSort? sort); partial void PrepareCodeScanningListRecentAnalysesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string toolName, + string? toolName, string? toolGuid, int page, int perPage, - string @ref, - string sarifId, - global::GitHub.CodeScanningListRecentAnalysesDirection direction, - global::GitHub.CodeScanningListRecentAnalysesSort sort); + string? @ref, + string? sarifId, + global::GitHub.CodeScanningListRecentAnalysesDirection? direction, + global::GitHub.CodeScanningListRecentAnalysesSort? sort); partial void ProcessCodeScanningListRecentAnalysesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -87,14 +87,14 @@ partial void ProcessCodeScanningListRecentAnalysesResponseContent( public async global::System.Threading.Tasks.Task> CodeScanningListRecentAnalysesAsync( string owner, string repo, - string toolName, + string? toolName, string? toolGuid, int page, int perPage, - string @ref, - string sarifId, - global::GitHub.CodeScanningListRecentAnalysesDirection direction, - global::GitHub.CodeScanningListRecentAnalysesSort sort, + string? @ref, + string? sarifId, + global::GitHub.CodeScanningListRecentAnalysesDirection? direction, + global::GitHub.CodeScanningListRecentAnalysesSort? sort, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningUpdateAlert.g.cs b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningUpdateAlert.g.cs index acc0b484..3863b55c 100644 --- a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningUpdateAlert.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningUpdateAlert.g.cs @@ -59,7 +59,7 @@ partial void ProcessCodeScanningUpdateAlertResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/code-scanning/alerts/{alertNumber}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.CodeScanningUpdateAlertRequest), diff --git a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningUpdateDefaultSetup.g.cs b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningUpdateDefaultSetup.g.cs index a1bb7b88..894fb7ba 100644 --- a/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningUpdateDefaultSetup.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodeScanningClient.CodeScanningUpdateDefaultSetup.g.cs @@ -52,7 +52,7 @@ partial void ProcessCodeScanningUpdateDefaultSetupResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/code-scanning/default-setup", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.CodeScanningDefaultSetupUpdate), @@ -130,7 +130,7 @@ partial void ProcessCodeScanningUpdateDefaultSetupResponseContent( string repo, global::GitHub.CodeScanningDefaultSetupUpdateState? state = default, global::GitHub.CodeScanningDefaultSetupUpdateQuerySuite? querySuite = default, - global::System.Collections.Generic.IList? languages = default, + global::System.Collections.Generic.IList? languages = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.CodeScanningDefaultSetupUpdate diff --git a/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityAttachConfiguration.g.cs b/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityAttachConfiguration.g.cs index f41559b9..b12d3e0e 100644 --- a/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityAttachConfiguration.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityAttachConfiguration.g.cs @@ -37,7 +37,7 @@ partial void ProcessCodeSecurityAttachConfigurationResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CodeSecurityAttachConfigurationAsync( + public async global::System.Threading.Tasks.Task CodeSecurityAttachConfigurationAsync( string org, int configurationId, global::GitHub.CodeSecurityAttachConfigurationRequest request, @@ -105,7 +105,7 @@ partial void ProcessCodeSecurityAttachConfigurationResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.Object) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.CodeSecurityAttachConfigurationResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } @@ -126,7 +126,7 @@ partial void ProcessCodeSecurityAttachConfigurationResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CodeSecurityAttachConfigurationAsync( + public async global::System.Threading.Tasks.Task CodeSecurityAttachConfigurationAsync( string org, int configurationId, global::GitHub.CodeSecurityAttachConfigurationRequestScope scope, diff --git a/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.cs index b0240603..278b0baa 100644 --- a/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityGetConfigurationsForOrg.g.cs @@ -8,18 +8,18 @@ public partial class CodeSecurityClient partial void PrepareCodeSecurityGetConfigurationsForOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref global::GitHub.CodeSecurityGetConfigurationsForOrgTargetType targetType, + ref global::GitHub.CodeSecurityGetConfigurationsForOrgTargetType? targetType, ref int perPage, - ref string before, - ref string after); + ref string? before, + ref string? after); partial void PrepareCodeSecurityGetConfigurationsForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - global::GitHub.CodeSecurityGetConfigurationsForOrgTargetType targetType, + global::GitHub.CodeSecurityGetConfigurationsForOrgTargetType? targetType, int perPage, - string before, - string after); + string? before, + string? after); partial void ProcessCodeSecurityGetConfigurationsForOrgResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -48,10 +48,10 @@ partial void ProcessCodeSecurityGetConfigurationsForOrgResponseContent( /// public async global::System.Threading.Tasks.Task> CodeSecurityGetConfigurationsForOrgAsync( string org, - global::GitHub.CodeSecurityGetConfigurationsForOrgTargetType targetType, + global::GitHub.CodeSecurityGetConfigurationsForOrgTargetType? targetType, int perPage, - string before, - string after, + string? before, + string? after, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.cs b/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.cs index 83905b02..f2eb5a92 100644 --- a/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityGetDefaultConfigurations.g.cs @@ -30,7 +30,7 @@ partial void ProcessCodeSecurityGetDefaultConfigurationsResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> CodeSecurityGetDefaultConfigurationsAsync( + public async global::System.Threading.Tasks.Task> CodeSecurityGetDefaultConfigurationsAsync( string org, global::System.Threading.CancellationToken cancellationToken = default) { @@ -85,7 +85,7 @@ partial void ProcessCodeSecurityGetDefaultConfigurationsResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.IListCodeSecurityDefaultConfigurations) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.IListCodeSecurityDefaultConfiguration) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.cs b/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.cs index f889b4c6..eed6d7a7 100644 --- a/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityGetRepositoriesForConfiguration.g.cs @@ -10,18 +10,18 @@ partial void PrepareCodeSecurityGetRepositoriesForConfigurationArguments( ref string org, ref int configurationId, ref int perPage, - ref string before, - ref string after, - ref string status); + ref string? before, + ref string? after, + ref string? status); partial void PrepareCodeSecurityGetRepositoriesForConfigurationRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, int configurationId, int perPage, - string before, - string after, - string status); + string? before, + string? after, + string? status); partial void ProcessCodeSecurityGetRepositoriesForConfigurationResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -53,9 +53,9 @@ partial void ProcessCodeSecurityGetRepositoriesForConfigurationResponseContent( string org, int configurationId, int perPage, - string before, - string after, - string status, + string? before, + string? after, + string? status, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityUpdateConfiguration.g.cs b/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityUpdateConfiguration.g.cs index 7f202871..6ec26871 100644 --- a/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityUpdateConfiguration.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodeSecurityClient.CodeSecurityUpdateConfiguration.g.cs @@ -53,7 +53,7 @@ partial void ProcessCodeSecurityUpdateConfigurationResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/code-security/configurations/{configurationId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.CodeSecurityUpdateConfigurationRequest), diff --git a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesCreateForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesCreateForAuthenticatedUser.g.cs index cb5e0a15..39a485b5 100644 --- a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesCreateForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesCreateForAuthenticatedUser.g.cs @@ -7,11 +7,11 @@ public partial class CodespacesClient { partial void PrepareCodespacesCreateForAuthenticatedUserArguments( global::System.Net.Http.HttpClient httpClient, - global::System.OneOf request); + global::System.OneOf request); partial void PrepareCodespacesCreateForAuthenticatedUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::System.OneOf request); + global::System.OneOf request); partial void ProcessCodespacesCreateForAuthenticatedUserResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -31,11 +31,9 @@ partial void ProcessCodespacesCreateForAuthenticatedUserResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CodespacesCreateForAuthenticatedUserAsync( - global::System.OneOf request, + global::System.OneOf request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareCodespacesCreateForAuthenticatedUserArguments( @@ -46,7 +44,7 @@ partial void ProcessCodespacesCreateForAuthenticatedUserResponseContent( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/user/codespaces", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfCodespacesCreateForAuthenticatedUserRequestCodespacesCreateForAuthenticatedUserRequest), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfCodespacesCreateForAuthenticatedUserRequestVariant1CodespacesCreateForAuthenticatedUserRequestVariant2), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -102,73 +100,13 @@ partial void ProcessCodespacesCreateForAuthenticatedUserResponseContent( /// This endpoint requires either a `repository_id` OR a `pull_request` but not both.
/// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. /// - /// - /// Repository id for this codespace - /// - /// - /// Git ref (typically a branch name) for this codespace - /// - /// - /// The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided. - /// - /// - /// The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces `location`, which is being deprecated. - /// - /// - /// IP for location auto-detection when proxying a request - /// - /// - /// Machine type to use for this codespace - /// - /// - /// Path to devcontainer.json config to use for this codespace - /// - /// - /// Whether to authorize requested permissions from devcontainer.json - /// - /// - /// Working directory for this codespace - /// - /// - /// Time in minutes before codespace stops from inactivity - /// - /// - /// Display name for this codespace - /// - /// - /// Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days). - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CodespacesCreateForAuthenticatedUserAsync( - int repositoryId, - string? @ref = default, - string? location = default, - global::GitHub.CodespacesCreateForAuthenticatedUserRequestVariant1Geo? geo = default, - string? clientIp = default, - string? machine = default, - string? devcontainerPath = default, - bool multiRepoPermissionsOptOut = default, - string? workingDirectory = default, - int idleTimeoutMinutes = default, - string? displayName = default, - int retentionPeriodMinutes = default, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf + var request = new global::System.OneOf { - RepositoryId = repositoryId, - Ref = @ref, - Location = location, - Geo = geo, - ClientIp = clientIp, - Machine = machine, - DevcontainerPath = devcontainerPath, - MultiRepoPermissionsOptOut = multiRepoPermissionsOptOut, - WorkingDirectory = workingDirectory, - IdleTimeoutMinutes = idleTimeoutMinutes, - DisplayName = displayName, - RetentionPeriodMinutes = retentionPeriodMinutes, }; return await CodespacesCreateForAuthenticatedUserAsync( diff --git a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.cs index 47085320..79fb5eec 100644 --- a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.cs @@ -126,7 +126,7 @@ partial void ProcessCodespacesCreateOrUpdateSecretForAuthenticatedUserResponseCo string secretName, string keyId, string? encryptedValue = default, - global::System.Collections.Generic.IList?>? selectedRepositoryIds = default, + global::System.Collections.Generic.IList>? selectedRepositoryIds = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.CodespacesCreateOrUpdateSecretForAuthenticatedUserRequest diff --git a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesDeleteForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesDeleteForAuthenticatedUser.g.cs index 8b1bd1eb..851231e2 100644 --- a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesDeleteForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesDeleteForAuthenticatedUser.g.cs @@ -29,7 +29,7 @@ partial void ProcessCodespacesDeleteForAuthenticatedUserResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CodespacesDeleteForAuthenticatedUserAsync( + public async global::System.Threading.Tasks.Task CodespacesDeleteForAuthenticatedUserAsync( string codespaceName, global::System.Threading.CancellationToken cancellationToken = default) { @@ -84,7 +84,7 @@ partial void ProcessCodespacesDeleteForAuthenticatedUserResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.Object) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.CodespacesDeleteForAuthenticatedUserResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesDeleteFromOrganization.g.cs b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesDeleteFromOrganization.g.cs index 3ca5d92c..94dd6c18 100644 --- a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesDeleteFromOrganization.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesDeleteFromOrganization.g.cs @@ -35,7 +35,7 @@ partial void ProcessCodespacesDeleteFromOrganizationResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CodespacesDeleteFromOrganizationAsync( + public async global::System.Threading.Tasks.Task CodespacesDeleteFromOrganizationAsync( string org, string username, string codespaceName, @@ -96,7 +96,7 @@ partial void ProcessCodespacesDeleteFromOrganizationResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.Object) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.CodespacesDeleteFromOrganizationResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.cs index 21ae1dd2..0a56160b 100644 --- a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.cs @@ -9,15 +9,15 @@ partial void PrepareCodespacesPreFlightWithRepoForAuthenticatedUserArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string @ref, - ref string clientIp); + ref string? @ref, + ref string? clientIp); partial void PrepareCodespacesPreFlightWithRepoForAuthenticatedUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string @ref, - string clientIp); + string? @ref, + string? clientIp); partial void ProcessCodespacesPreFlightWithRepoForAuthenticatedUserResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -45,8 +45,8 @@ partial void ProcessCodespacesPreFlightWithRepoForAuthenticatedUserResponseConte public async global::System.Threading.Tasks.Task CodespacesPreFlightWithRepoForAuthenticatedUserAsync( string owner, string repo, - string @ref, - string clientIp, + string? @ref, + string? clientIp, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.cs index 47d7f377..9aca7fea 100644 --- a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.cs @@ -9,17 +9,17 @@ partial void PrepareCodespacesRepoMachinesForAuthenticatedUserArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string location, - ref string clientIp, - ref string @ref); + ref string? location, + ref string? clientIp, + ref string? @ref); partial void PrepareCodespacesRepoMachinesForAuthenticatedUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string location, - string clientIp, - string @ref); + string? location, + string? clientIp, + string? @ref); partial void ProcessCodespacesRepoMachinesForAuthenticatedUserResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -48,9 +48,9 @@ partial void ProcessCodespacesRepoMachinesForAuthenticatedUserResponseContent( public async global::System.Threading.Tasks.Task CodespacesRepoMachinesForAuthenticatedUserAsync( string owner, string repo, - string location, - string clientIp, - string @ref, + string? location, + string? clientIp, + string? @ref, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesSetCodespacesAccess.g.cs b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesSetCodespacesAccess.g.cs index 4380d0ec..7422c6de 100644 --- a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesSetCodespacesAccess.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesSetCodespacesAccess.g.cs @@ -120,7 +120,7 @@ partial void ProcessCodespacesSetCodespacesAccessResponseContent( public async global::System.Threading.Tasks.Task CodespacesSetCodespacesAccessAsync( string org, global::GitHub.CodespacesSetCodespacesAccessRequestVisibility visibility, - global::System.Collections.Generic.IList? selectedUsernames = default, + global::System.Collections.Generic.IList? selectedUsernames = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.CodespacesSetCodespacesAccessRequest diff --git a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesUpdateForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesUpdateForAuthenticatedUser.g.cs index 3b0b06b5..9395bca5 100644 --- a/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesUpdateForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CodespacesClient.CodespacesUpdateForAuthenticatedUser.g.cs @@ -48,7 +48,7 @@ partial void ProcessCodespacesUpdateForAuthenticatedUserResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/codespaces/{codespaceName}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.CodespacesUpdateForAuthenticatedUserRequest), @@ -124,7 +124,7 @@ partial void ProcessCodespacesUpdateForAuthenticatedUserResponseContent( string codespaceName, string? machine = default, string? displayName = default, - global::System.Collections.Generic.IList? recentFolders = default, + global::System.Collections.Generic.IList? recentFolders = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.CodespacesUpdateForAuthenticatedUserRequest diff --git a/src/libs/GitHub/Generated/GitHub.CopilotClient.CopilotUsageMetricsForEnterprise.g.cs b/src/libs/GitHub/Generated/GitHub.CopilotClient.CopilotUsageMetricsForEnterprise.g.cs index 7df79296..90ef2fd0 100644 --- a/src/libs/GitHub/Generated/GitHub.CopilotClient.CopilotUsageMetricsForEnterprise.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CopilotClient.CopilotUsageMetricsForEnterprise.g.cs @@ -8,16 +8,16 @@ public partial class CopilotClient partial void PrepareCopilotUsageMetricsForEnterpriseArguments( global::System.Net.Http.HttpClient httpClient, ref string enterprise, - ref string since, - ref string until, + ref string? since, + ref string? until, ref int page, ref int perPage); partial void PrepareCopilotUsageMetricsForEnterpriseRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string enterprise, - string since, - string until, + string? since, + string? until, int page, int perPage); partial void ProcessCopilotUsageMetricsForEnterpriseResponse( @@ -55,8 +55,8 @@ partial void ProcessCopilotUsageMetricsForEnterpriseResponseContent( /// public async global::System.Threading.Tasks.Task> CopilotUsageMetricsForEnterpriseAsync( string enterprise, - string since, - string until, + string? since, + string? until, int page, int perPage, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.CopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.cs b/src/libs/GitHub/Generated/GitHub.CopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.cs index 08075dc9..8734bbc6 100644 --- a/src/libs/GitHub/Generated/GitHub.CopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CopilotClient.CopilotUsageMetricsForEnterpriseTeam.g.cs @@ -9,8 +9,8 @@ partial void PrepareCopilotUsageMetricsForEnterpriseTeamArguments( global::System.Net.Http.HttpClient httpClient, ref string enterprise, ref string teamSlug, - ref string since, - ref string until, + ref string? since, + ref string? until, ref int page, ref int perPage); partial void PrepareCopilotUsageMetricsForEnterpriseTeamRequest( @@ -18,8 +18,8 @@ partial void PrepareCopilotUsageMetricsForEnterpriseTeamRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string enterprise, string teamSlug, - string since, - string until, + string? since, + string? until, int page, int perPage); partial void ProcessCopilotUsageMetricsForEnterpriseTeamResponse( @@ -61,8 +61,8 @@ partial void ProcessCopilotUsageMetricsForEnterpriseTeamResponseContent( public async global::System.Threading.Tasks.Task> CopilotUsageMetricsForEnterpriseTeamAsync( string enterprise, string teamSlug, - string since, - string until, + string? since, + string? until, int page, int perPage, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.CopilotClient.CopilotUsageMetricsForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.CopilotClient.CopilotUsageMetricsForOrg.g.cs index 6ab39c1d..9ea169b5 100644 --- a/src/libs/GitHub/Generated/GitHub.CopilotClient.CopilotUsageMetricsForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.CopilotClient.CopilotUsageMetricsForOrg.g.cs @@ -8,16 +8,16 @@ public partial class CopilotClient partial void PrepareCopilotUsageMetricsForOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref string since, - ref string until, + ref string? since, + ref string? until, ref int page, ref int perPage); partial void PrepareCopilotUsageMetricsForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - string since, - string until, + string? since, + string? until, int page, int perPage); partial void ProcessCopilotUsageMetricsForOrgResponse( @@ -55,8 +55,8 @@ partial void ProcessCopilotUsageMetricsForOrgResponseContent( /// public async global::System.Threading.Tasks.Task> CopilotUsageMetricsForOrgAsync( string org, - string since, - string until, + string? since, + string? until, int page, int perPage, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotCreateOrUpdateOrgSecret.g.cs b/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotCreateOrUpdateOrgSecret.g.cs index 07292d38..925b9482 100644 --- a/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotCreateOrUpdateOrgSecret.g.cs +++ b/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotCreateOrUpdateOrgSecret.g.cs @@ -136,7 +136,7 @@ partial void ProcessDependabotCreateOrUpdateOrgSecretResponseContent( global::GitHub.DependabotCreateOrUpdateOrgSecretRequestVisibility visibility, string? encryptedValue = default, string? keyId = default, - global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.DependabotCreateOrUpdateOrgSecretRequest diff --git a/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotListAlertsForEnterprise.g.cs b/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotListAlertsForEnterprise.g.cs index 6df61a44..7230d4ec 100644 --- a/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotListAlertsForEnterprise.g.cs +++ b/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotListAlertsForEnterprise.g.cs @@ -8,15 +8,15 @@ public partial class DependabotClient partial void PrepareDependabotListAlertsForEnterpriseArguments( global::System.Net.Http.HttpClient httpClient, ref string enterprise, - ref string state, - ref string severity, - ref string ecosystem, - ref string package, - ref global::GitHub.DependabotListAlertsForEnterpriseScope scope, - ref global::GitHub.DependabotListAlertsForEnterpriseSort sort, - ref global::GitHub.DependabotListAlertsForEnterpriseDirection direction, - ref string before, - ref string after, + ref string? state, + ref string? severity, + ref string? ecosystem, + ref string? package, + ref global::GitHub.DependabotListAlertsForEnterpriseScope? scope, + ref global::GitHub.DependabotListAlertsForEnterpriseSort? sort, + ref global::GitHub.DependabotListAlertsForEnterpriseDirection? direction, + ref string? before, + ref string? after, ref int first, ref int last, ref int perPage); @@ -24,15 +24,15 @@ partial void PrepareDependabotListAlertsForEnterpriseRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string enterprise, - string state, - string severity, - string ecosystem, - string package, - global::GitHub.DependabotListAlertsForEnterpriseScope scope, - global::GitHub.DependabotListAlertsForEnterpriseSort sort, - global::GitHub.DependabotListAlertsForEnterpriseDirection direction, - string before, - string after, + string? state, + string? severity, + string? ecosystem, + string? package, + global::GitHub.DependabotListAlertsForEnterpriseScope? scope, + global::GitHub.DependabotListAlertsForEnterpriseSort? sort, + global::GitHub.DependabotListAlertsForEnterpriseDirection? direction, + string? before, + string? after, int first, int last, int perPage); @@ -77,15 +77,15 @@ partial void ProcessDependabotListAlertsForEnterpriseResponseContent( /// public async global::System.Threading.Tasks.Task> DependabotListAlertsForEnterpriseAsync( string enterprise, - string state, - string severity, - string ecosystem, - string package, - global::GitHub.DependabotListAlertsForEnterpriseScope scope, - global::GitHub.DependabotListAlertsForEnterpriseSort sort, - global::GitHub.DependabotListAlertsForEnterpriseDirection direction, - string before, - string after, + string? state, + string? severity, + string? ecosystem, + string? package, + global::GitHub.DependabotListAlertsForEnterpriseScope? scope, + global::GitHub.DependabotListAlertsForEnterpriseSort? sort, + global::GitHub.DependabotListAlertsForEnterpriseDirection? direction, + string? before, + string? after, int first, int last, int perPage, diff --git a/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotListAlertsForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotListAlertsForOrg.g.cs index fe2ba549..f79c5190 100644 --- a/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotListAlertsForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotListAlertsForOrg.g.cs @@ -8,15 +8,15 @@ public partial class DependabotClient partial void PrepareDependabotListAlertsForOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref string state, - ref string severity, - ref string ecosystem, - ref string package, - ref global::GitHub.DependabotListAlertsForOrgScope scope, - ref global::GitHub.DependabotListAlertsForOrgSort sort, - ref global::GitHub.DependabotListAlertsForOrgDirection direction, - ref string before, - ref string after, + ref string? state, + ref string? severity, + ref string? ecosystem, + ref string? package, + ref global::GitHub.DependabotListAlertsForOrgScope? scope, + ref global::GitHub.DependabotListAlertsForOrgSort? sort, + ref global::GitHub.DependabotListAlertsForOrgDirection? direction, + ref string? before, + ref string? after, ref int first, ref int last, ref int perPage); @@ -24,15 +24,15 @@ partial void PrepareDependabotListAlertsForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - string state, - string severity, - string ecosystem, - string package, - global::GitHub.DependabotListAlertsForOrgScope scope, - global::GitHub.DependabotListAlertsForOrgSort sort, - global::GitHub.DependabotListAlertsForOrgDirection direction, - string before, - string after, + string? state, + string? severity, + string? ecosystem, + string? package, + global::GitHub.DependabotListAlertsForOrgScope? scope, + global::GitHub.DependabotListAlertsForOrgSort? sort, + global::GitHub.DependabotListAlertsForOrgDirection? direction, + string? before, + string? after, int first, int last, int perPage); @@ -76,15 +76,15 @@ partial void ProcessDependabotListAlertsForOrgResponseContent( /// public async global::System.Threading.Tasks.Task> DependabotListAlertsForOrgAsync( string org, - string state, - string severity, - string ecosystem, - string package, - global::GitHub.DependabotListAlertsForOrgScope scope, - global::GitHub.DependabotListAlertsForOrgSort sort, - global::GitHub.DependabotListAlertsForOrgDirection direction, - string before, - string after, + string? state, + string? severity, + string? ecosystem, + string? package, + global::GitHub.DependabotListAlertsForOrgScope? scope, + global::GitHub.DependabotListAlertsForOrgSort? sort, + global::GitHub.DependabotListAlertsForOrgDirection? direction, + string? before, + string? after, int first, int last, int perPage, diff --git a/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotListAlertsForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotListAlertsForRepo.g.cs index cc44d0c0..72c62f0d 100644 --- a/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotListAlertsForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotListAlertsForRepo.g.cs @@ -9,18 +9,18 @@ partial void PrepareDependabotListAlertsForRepoArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string state, - ref string severity, - ref string ecosystem, - ref string package, - ref string manifest, - ref global::GitHub.DependabotListAlertsForRepoScope scope, - ref global::GitHub.DependabotListAlertsForRepoSort sort, - ref global::GitHub.DependabotListAlertsForRepoDirection direction, + ref string? state, + ref string? severity, + ref string? ecosystem, + ref string? package, + ref string? manifest, + ref global::GitHub.DependabotListAlertsForRepoScope? scope, + ref global::GitHub.DependabotListAlertsForRepoSort? sort, + ref global::GitHub.DependabotListAlertsForRepoDirection? direction, ref int page, ref int perPage, - ref string before, - ref string after, + ref string? before, + ref string? after, ref int first, ref int last); partial void PrepareDependabotListAlertsForRepoRequest( @@ -28,18 +28,18 @@ partial void PrepareDependabotListAlertsForRepoRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string state, - string severity, - string ecosystem, - string package, - string manifest, - global::GitHub.DependabotListAlertsForRepoScope scope, - global::GitHub.DependabotListAlertsForRepoSort sort, - global::GitHub.DependabotListAlertsForRepoDirection direction, + string? state, + string? severity, + string? ecosystem, + string? package, + string? manifest, + global::GitHub.DependabotListAlertsForRepoScope? scope, + global::GitHub.DependabotListAlertsForRepoSort? sort, + global::GitHub.DependabotListAlertsForRepoDirection? direction, int page, int perPage, - string before, - string after, + string? before, + string? after, int first, int last); partial void ProcessDependabotListAlertsForRepoResponse( @@ -86,18 +86,18 @@ partial void ProcessDependabotListAlertsForRepoResponseContent( public async global::System.Threading.Tasks.Task> DependabotListAlertsForRepoAsync( string owner, string repo, - string state, - string severity, - string ecosystem, - string package, - string manifest, - global::GitHub.DependabotListAlertsForRepoScope scope, - global::GitHub.DependabotListAlertsForRepoSort sort, - global::GitHub.DependabotListAlertsForRepoDirection direction, + string? state, + string? severity, + string? ecosystem, + string? package, + string? manifest, + global::GitHub.DependabotListAlertsForRepoScope? scope, + global::GitHub.DependabotListAlertsForRepoSort? sort, + global::GitHub.DependabotListAlertsForRepoDirection? direction, int page, int perPage, - string before, - string after, + string? before, + string? after, int first, int last, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotUpdateAlert.g.cs b/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotUpdateAlert.g.cs index 51f353f3..841830d9 100644 --- a/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotUpdateAlert.g.cs +++ b/src/libs/GitHub/Generated/GitHub.DependabotClient.DependabotUpdateAlert.g.cs @@ -59,7 +59,7 @@ partial void ProcessDependabotUpdateAlertResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/dependabot/alerts/{alertNumber}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.DependabotUpdateAlertRequest), diff --git a/src/libs/GitHub/Generated/GitHub.DependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.cs b/src/libs/GitHub/Generated/GitHub.DependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.cs index 011d9a4f..6d867d8c 100644 --- a/src/libs/GitHub/Generated/GitHub.DependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.cs +++ b/src/libs/GitHub/Generated/GitHub.DependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.cs @@ -152,7 +152,7 @@ partial void ProcessDependencyGraphCreateRepositorySnapshotResponseContent( global::GitHub.SnapshotDetector detector, global::System.DateTime scanned, global::GitHub.Metadata? metadata = default, - object? manifests = default, + global::GitHub.SnapshotManifests? manifests = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.Snapshot diff --git a/src/libs/GitHub/Generated/GitHub.DependencyGraphClient.DependencyGraphDiffRange.g.cs b/src/libs/GitHub/Generated/GitHub.DependencyGraphClient.DependencyGraphDiffRange.g.cs index b251769e..2c313f61 100644 --- a/src/libs/GitHub/Generated/GitHub.DependencyGraphClient.DependencyGraphDiffRange.g.cs +++ b/src/libs/GitHub/Generated/GitHub.DependencyGraphClient.DependencyGraphDiffRange.g.cs @@ -10,14 +10,14 @@ partial void PrepareDependencyGraphDiffRangeArguments( ref string owner, ref string repo, ref string basehead, - ref string name); + ref string? name); partial void PrepareDependencyGraphDiffRangeRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string basehead, - string name); + string? name); partial void ProcessDependencyGraphDiffRangeResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -37,11 +37,11 @@ partial void ProcessDependencyGraphDiffRangeResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> DependencyGraphDiffRangeAsync( + public async global::System.Threading.Tasks.Task> DependencyGraphDiffRangeAsync( string owner, string repo, string basehead, - string name, + string? name, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -101,7 +101,7 @@ partial void ProcessDependencyGraphDiffRangeResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.IListDependencyGraphDiff) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.IListDependencyGraphDiffItem) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.EmojisClient.EmojisGet.g.cs b/src/libs/GitHub/Generated/GitHub.EmojisClient.EmojisGet.g.cs index fddb71e3..f0ffb549 100644 --- a/src/libs/GitHub/Generated/GitHub.EmojisClient.EmojisGet.g.cs +++ b/src/libs/GitHub/Generated/GitHub.EmojisClient.EmojisGet.g.cs @@ -25,7 +25,7 @@ partial void ProcessEmojisGetResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task EmojisGetAsync( + public async global::System.Threading.Tasks.Task EmojisGetAsync( global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -77,7 +77,7 @@ partial void ProcessEmojisGetResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.Object) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.EmojisGetResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.GistsClient.GistsCheckIsStarred.g.cs b/src/libs/GitHub/Generated/GitHub.GistsClient.GistsCheckIsStarred.g.cs index 41e5dd43..58707d43 100644 --- a/src/libs/GitHub/Generated/GitHub.GistsClient.GistsCheckIsStarred.g.cs +++ b/src/libs/GitHub/Generated/GitHub.GistsClient.GistsCheckIsStarred.g.cs @@ -27,7 +27,7 @@ partial void ProcessGistsCheckIsStarredResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task GistsCheckIsStarredAsync( + public async global::System.Threading.Tasks.Task GistsCheckIsStarredAsync( string gistId, global::System.Threading.CancellationToken cancellationToken = default) { @@ -82,7 +82,7 @@ partial void ProcessGistsCheckIsStarredResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.Object) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.GistsCheckIsStarredResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.GistsClient.GistsCreate.g.cs b/src/libs/GitHub/Generated/GitHub.GistsClient.GistsCreate.g.cs index 1f293e3a..c504c99d 100644 --- a/src/libs/GitHub/Generated/GitHub.GistsClient.GistsCreate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.GistsClient.GistsCreate.g.cs @@ -113,7 +113,7 @@ partial void ProcessGistsCreateResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task GistsCreateAsync( - object files, + global::GitHub.GistsCreateRequestFiles files, string? description = default, global::System.OneOf? @public = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.GistsClient.GistsUpdate.g.cs b/src/libs/GitHub/Generated/GitHub.GistsClient.GistsUpdate.g.cs index bd959ad2..58d6a025 100644 --- a/src/libs/GitHub/Generated/GitHub.GistsClient.GistsUpdate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.GistsClient.GistsUpdate.g.cs @@ -52,7 +52,7 @@ partial void ProcessGistsUpdateResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/gists/{gistId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.GistsUpdateRequest), @@ -132,7 +132,7 @@ partial void ProcessGistsUpdateResponseContent( public async global::System.Threading.Tasks.Task GistsUpdateAsync( string gistId, string? description = default, - object? files = default, + global::GitHub.GistsUpdateRequestFiles? files = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.GistsUpdateRequest diff --git a/src/libs/GitHub/Generated/GitHub.GistsClient.GistsUpdateComment.g.cs b/src/libs/GitHub/Generated/GitHub.GistsClient.GistsUpdateComment.g.cs index 60dd6764..632f3881 100644 --- a/src/libs/GitHub/Generated/GitHub.GistsClient.GistsUpdateComment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.GistsClient.GistsUpdateComment.g.cs @@ -54,7 +54,7 @@ partial void ProcessGistsUpdateCommentResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/gists/{gistId}/comments/{commentId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.GistsUpdateCommentRequest), diff --git a/src/libs/GitHub/Generated/GitHub.GitClient.GitCreateCommit.g.cs b/src/libs/GitHub/Generated/GitHub.GitClient.GitCreateCommit.g.cs index 028fd3ea..f88c8945 100644 --- a/src/libs/GitHub/Generated/GitHub.GitClient.GitCreateCommit.g.cs +++ b/src/libs/GitHub/Generated/GitHub.GitClient.GitCreateCommit.g.cs @@ -185,7 +185,7 @@ partial void ProcessGitCreateCommitResponseContent( string repo, string message, string tree, - global::System.Collections.Generic.IList? parents = default, + global::System.Collections.Generic.IList? parents = default, global::GitHub.GitCreateCommitRequestAuthor? author = default, global::GitHub.GitCreateCommitRequestCommitter? committer = default, string? signature = default, diff --git a/src/libs/GitHub/Generated/GitHub.GitClient.GitCreateTree.g.cs b/src/libs/GitHub/Generated/GitHub.GitClient.GitCreateTree.g.cs index 575a9a9f..984a1d8e 100644 --- a/src/libs/GitHub/Generated/GitHub.GitClient.GitCreateTree.g.cs +++ b/src/libs/GitHub/Generated/GitHub.GitClient.GitCreateTree.g.cs @@ -128,7 +128,7 @@ partial void ProcessGitCreateTreeResponseContent( public async global::System.Threading.Tasks.Task GitCreateTreeAsync( string owner, string repo, - global::System.Collections.Generic.IList tree, + global::System.Collections.Generic.IList tree, string? baseTree = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/GitHub/Generated/GitHub.GitClient.GitGetTree.g.cs b/src/libs/GitHub/Generated/GitHub.GitClient.GitGetTree.g.cs index 0b845a66..de5763a7 100644 --- a/src/libs/GitHub/Generated/GitHub.GitClient.GitGetTree.g.cs +++ b/src/libs/GitHub/Generated/GitHub.GitClient.GitGetTree.g.cs @@ -10,14 +10,14 @@ partial void PrepareGitGetTreeArguments( ref string owner, ref string repo, ref string treeSha, - ref string recursive); + ref string? recursive); partial void PrepareGitGetTreeRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string treeSha, - string recursive); + string? recursive); partial void ProcessGitGetTreeResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -44,7 +44,7 @@ partial void ProcessGitGetTreeResponseContent( string owner, string repo, string treeSha, - string recursive, + string? recursive, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.GitClient.GitUpdateRef.g.cs b/src/libs/GitHub/Generated/GitHub.GitClient.GitUpdateRef.g.cs index 2bee6a4d..b99229e2 100644 --- a/src/libs/GitHub/Generated/GitHub.GitClient.GitUpdateRef.g.cs +++ b/src/libs/GitHub/Generated/GitHub.GitClient.GitUpdateRef.g.cs @@ -56,7 +56,7 @@ partial void ProcessGitUpdateRefResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/git/refs/{@ref}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.GitUpdateRefRequest), diff --git a/src/libs/GitHub/Generated/GitHub.InteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.InteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.cs index 735febca..0344fd3a 100644 --- a/src/libs/GitHub/Generated/GitHub.InteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.InteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.cs @@ -25,7 +25,7 @@ partial void ProcessInteractionsGetRestrictionsForAuthenticatedUserResponseConte /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> InteractionsGetRestrictionsForAuthenticatedUserAsync( + public async global::System.Threading.Tasks.Task> InteractionsGetRestrictionsForAuthenticatedUserAsync( global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -77,7 +77,7 @@ partial void ProcessInteractionsGetRestrictionsForAuthenticatedUserResponseConte } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.NullableAnyOfInteractionLimitResponseObject) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.NullableAnyOfInteractionLimitResponseInteractionsGetRestrictionsForAuthenticatedUserResponse2) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.InteractionsClient.InteractionsGetRestrictionsForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.InteractionsClient.InteractionsGetRestrictionsForOrg.g.cs index 851de5c5..1caa9829 100644 --- a/src/libs/GitHub/Generated/GitHub.InteractionsClient.InteractionsGetRestrictionsForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.InteractionsClient.InteractionsGetRestrictionsForOrg.g.cs @@ -28,7 +28,7 @@ partial void ProcessInteractionsGetRestrictionsForOrgResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> InteractionsGetRestrictionsForOrgAsync( + public async global::System.Threading.Tasks.Task> InteractionsGetRestrictionsForOrgAsync( string org, global::System.Threading.CancellationToken cancellationToken = default) { @@ -83,7 +83,7 @@ partial void ProcessInteractionsGetRestrictionsForOrgResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.NullableAnyOfInteractionLimitResponseObject) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.NullableAnyOfInteractionLimitResponseInteractionsGetRestrictionsForOrgResponse2) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.InteractionsClient.InteractionsGetRestrictionsForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.InteractionsClient.InteractionsGetRestrictionsForRepo.g.cs index 8ab35db8..f2c74971 100644 --- a/src/libs/GitHub/Generated/GitHub.InteractionsClient.InteractionsGetRestrictionsForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.InteractionsClient.InteractionsGetRestrictionsForRepo.g.cs @@ -31,7 +31,7 @@ partial void ProcessInteractionsGetRestrictionsForRepoResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> InteractionsGetRestrictionsForRepoAsync( + public async global::System.Threading.Tasks.Task> InteractionsGetRestrictionsForRepoAsync( string owner, string repo, global::System.Threading.CancellationToken cancellationToken = default) @@ -89,7 +89,7 @@ partial void ProcessInteractionsGetRestrictionsForRepoResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.NullableAnyOfInteractionLimitResponseObject) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.NullableAnyOfInteractionLimitResponseInteractionsGetRestrictionsForRepoResponse2) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesAddAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesAddAssignees.g.cs index 3142a0c7..da302c76 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesAddAssignees.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesAddAssignees.g.cs @@ -128,7 +128,7 @@ partial void ProcessIssuesAddAssigneesResponseContent( string owner, string repo, int issueNumber, - global::System.Collections.Generic.IList? assignees = default, + global::System.Collections.Generic.IList? assignees = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.IssuesAddAssigneesRequest diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesAddLabels.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesAddLabels.g.cs index 82326a28..57bbf053 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesAddLabels.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesAddLabels.g.cs @@ -10,14 +10,14 @@ partial void PrepareIssuesAddLabelsArguments( ref string owner, ref string repo, ref int issueNumber, - global::System.OneOf, global::GitHub.IssuesAddLabelsRequest, global::System.Collections.Generic.IList, string> request); + global::System.OneOf?, global::GitHub.IssuesAddLabelsRequestVariant3?, global::System.Collections.Generic.IList?, string?> request); partial void PrepareIssuesAddLabelsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, int issueNumber, - global::System.OneOf, global::GitHub.IssuesAddLabelsRequest, global::System.Collections.Generic.IList, string> request); + global::System.OneOf?, global::GitHub.IssuesAddLabelsRequestVariant3?, global::System.Collections.Generic.IList?, string?> request); partial void ProcessIssuesAddLabelsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -41,11 +41,9 @@ partial void ProcessIssuesAddLabelsResponseContent( string owner, string repo, int issueNumber, - global::System.OneOf, global::GitHub.IssuesAddLabelsRequest, global::System.Collections.Generic.IList, string> request, + global::System.OneOf?, global::GitHub.IssuesAddLabelsRequestVariant3?, global::System.Collections.Generic.IList?, string?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareIssuesAddLabelsArguments( @@ -59,7 +57,7 @@ partial void ProcessIssuesAddLabelsResponseContent( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/issues/{issueNumber}/labels", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfIssuesAddLabelsRequestIListStringIssuesAddLabelsRequestIListIssuesAddLabelsRequestString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfIssuesAddLabelsRequestVariant1IListStringIssuesAddLabelsRequestVariant3IListIssuesAddLabelsRequestVariant4ItemString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -119,21 +117,16 @@ partial void ProcessIssuesAddLabelsResponseContent( /// /// /// - /// - /// The names of the labels to add to the issue's existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also replace all of the labels for an issue. For more information, see "[Set labels for an issue](https://docs.github.com/rest/issues/labels#set-labels-for-an-issue)." - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> IssuesAddLabelsAsync( string owner, string repo, int issueNumber, - global::System.Collections.Generic.IList? labels = default, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf, global::GitHub.IssuesAddLabelsRequest, global::System.Collections.Generic.IList, string> + var request = new global::System.OneOf?, global::GitHub.IssuesAddLabelsRequestVariant3?, global::System.Collections.Generic.IList?, string?> { - Labels = labels, }; return await IssuesAddLabelsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesCreate.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesCreate.g.cs index 9e9cfbdd..6efa992a 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesCreate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesCreate.g.cs @@ -147,12 +147,12 @@ partial void ProcessIssuesCreateResponseContent( public async global::System.Threading.Tasks.Task IssuesCreateAsync( string owner, string repo, - global::System.OneOf title, + global::System.OneOf title, string? body = default, string? assignee = default, global::System.OneOf? milestone = default, - global::System.Collections.Generic.IList?>? labels = default, - global::System.Collections.Generic.IList? assignees = default, + global::System.Collections.Generic.IList>? labels = default, + global::System.Collections.Generic.IList? assignees = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.IssuesCreateRequest diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesList.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesList.g.cs index 815fcd10..f3ae947b 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesList.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesList.g.cs @@ -7,11 +7,11 @@ public partial class IssuesClient { partial void PrepareIssuesListArguments( global::System.Net.Http.HttpClient httpClient, - ref global::GitHub.IssuesListFilter filter, - ref global::GitHub.IssuesListState state, - ref string labels, - ref global::GitHub.IssuesListSort sort, - ref global::GitHub.IssuesListDirection direction, + ref global::GitHub.IssuesListFilter? filter, + ref global::GitHub.IssuesListState? state, + ref string? labels, + ref global::GitHub.IssuesListSort? sort, + ref global::GitHub.IssuesListDirection? direction, global::System.DateTime since, ref bool collab, ref bool orgs, @@ -22,11 +22,11 @@ partial void PrepareIssuesListArguments( partial void PrepareIssuesListRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::GitHub.IssuesListFilter filter, - global::GitHub.IssuesListState state, - string labels, - global::GitHub.IssuesListSort sort, - global::GitHub.IssuesListDirection direction, + global::GitHub.IssuesListFilter? filter, + global::GitHub.IssuesListState? state, + string? labels, + global::GitHub.IssuesListSort? sort, + global::GitHub.IssuesListDirection? direction, global::System.DateTime since, bool collab, bool orgs, @@ -83,11 +83,11 @@ partial void ProcessIssuesListResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> IssuesListAsync( - global::GitHub.IssuesListFilter filter, - global::GitHub.IssuesListState state, - string labels, - global::GitHub.IssuesListSort sort, - global::GitHub.IssuesListDirection direction, + global::GitHub.IssuesListFilter? filter, + global::GitHub.IssuesListState? state, + string? labels, + global::GitHub.IssuesListSort? sort, + global::GitHub.IssuesListDirection? direction, global::System.DateTime since, bool collab, bool orgs, diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListCommentsForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListCommentsForRepo.g.cs index 481e478c..d9724e82 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListCommentsForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListCommentsForRepo.g.cs @@ -9,8 +9,8 @@ partial void PrepareIssuesListCommentsForRepoArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::GitHub.IssuesListCommentsForRepoSort sort, - ref global::GitHub.IssuesListCommentsForRepoDirection direction, + ref global::GitHub.IssuesListCommentsForRepoSort? sort, + ref global::GitHub.IssuesListCommentsForRepoDirection? direction, global::System.DateTime since, ref int perPage, ref int page); @@ -19,8 +19,8 @@ partial void PrepareIssuesListCommentsForRepoRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::GitHub.IssuesListCommentsForRepoSort sort, - global::GitHub.IssuesListCommentsForRepoDirection direction, + global::GitHub.IssuesListCommentsForRepoSort? sort, + global::GitHub.IssuesListCommentsForRepoDirection? direction, global::System.DateTime since, int perPage, int page); @@ -61,8 +61,8 @@ partial void ProcessIssuesListCommentsForRepoResponseContent( public async global::System.Threading.Tasks.Task> IssuesListCommentsForRepoAsync( string owner, string repo, - global::GitHub.IssuesListCommentsForRepoSort sort, - global::GitHub.IssuesListCommentsForRepoDirection direction, + global::GitHub.IssuesListCommentsForRepoSort? sort, + global::GitHub.IssuesListCommentsForRepoDirection? direction, global::System.DateTime since, int perPage, int page, diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListForAuthenticatedUser.g.cs index cfa50bf0..cad0ad39 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListForAuthenticatedUser.g.cs @@ -7,22 +7,22 @@ public partial class IssuesClient { partial void PrepareIssuesListForAuthenticatedUserArguments( global::System.Net.Http.HttpClient httpClient, - ref global::GitHub.IssuesListForAuthenticatedUserFilter filter, - ref global::GitHub.IssuesListForAuthenticatedUserState state, - ref string labels, - ref global::GitHub.IssuesListForAuthenticatedUserSort sort, - ref global::GitHub.IssuesListForAuthenticatedUserDirection direction, + ref global::GitHub.IssuesListForAuthenticatedUserFilter? filter, + ref global::GitHub.IssuesListForAuthenticatedUserState? state, + ref string? labels, + ref global::GitHub.IssuesListForAuthenticatedUserSort? sort, + ref global::GitHub.IssuesListForAuthenticatedUserDirection? direction, global::System.DateTime since, ref int perPage, ref int page); partial void PrepareIssuesListForAuthenticatedUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::GitHub.IssuesListForAuthenticatedUserFilter filter, - global::GitHub.IssuesListForAuthenticatedUserState state, - string labels, - global::GitHub.IssuesListForAuthenticatedUserSort sort, - global::GitHub.IssuesListForAuthenticatedUserDirection direction, + global::GitHub.IssuesListForAuthenticatedUserFilter? filter, + global::GitHub.IssuesListForAuthenticatedUserState? state, + string? labels, + global::GitHub.IssuesListForAuthenticatedUserSort? sort, + global::GitHub.IssuesListForAuthenticatedUserDirection? direction, global::System.DateTime since, int perPage, int page); @@ -69,11 +69,11 @@ partial void ProcessIssuesListForAuthenticatedUserResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> IssuesListForAuthenticatedUserAsync( - global::GitHub.IssuesListForAuthenticatedUserFilter filter, - global::GitHub.IssuesListForAuthenticatedUserState state, - string labels, - global::GitHub.IssuesListForAuthenticatedUserSort sort, - global::GitHub.IssuesListForAuthenticatedUserDirection direction, + global::GitHub.IssuesListForAuthenticatedUserFilter? filter, + global::GitHub.IssuesListForAuthenticatedUserState? state, + string? labels, + global::GitHub.IssuesListForAuthenticatedUserSort? sort, + global::GitHub.IssuesListForAuthenticatedUserDirection? direction, global::System.DateTime since, int perPage, int page, diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListForOrg.g.cs index 4565d6c0..0fa94431 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListForOrg.g.cs @@ -8,11 +8,11 @@ public partial class IssuesClient partial void PrepareIssuesListForOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref global::GitHub.IssuesListForOrgFilter filter, - ref global::GitHub.IssuesListForOrgState state, - ref string labels, - ref global::GitHub.IssuesListForOrgSort sort, - ref global::GitHub.IssuesListForOrgDirection direction, + ref global::GitHub.IssuesListForOrgFilter? filter, + ref global::GitHub.IssuesListForOrgState? state, + ref string? labels, + ref global::GitHub.IssuesListForOrgSort? sort, + ref global::GitHub.IssuesListForOrgDirection? direction, global::System.DateTime since, ref int perPage, ref int page); @@ -20,11 +20,11 @@ partial void PrepareIssuesListForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - global::GitHub.IssuesListForOrgFilter filter, - global::GitHub.IssuesListForOrgState state, - string labels, - global::GitHub.IssuesListForOrgSort sort, - global::GitHub.IssuesListForOrgDirection direction, + global::GitHub.IssuesListForOrgFilter? filter, + global::GitHub.IssuesListForOrgState? state, + string? labels, + global::GitHub.IssuesListForOrgSort? sort, + global::GitHub.IssuesListForOrgDirection? direction, global::System.DateTime since, int perPage, int page); @@ -73,11 +73,11 @@ partial void ProcessIssuesListForOrgResponseContent( /// public async global::System.Threading.Tasks.Task> IssuesListForOrgAsync( string org, - global::GitHub.IssuesListForOrgFilter filter, - global::GitHub.IssuesListForOrgState state, - string labels, - global::GitHub.IssuesListForOrgSort sort, - global::GitHub.IssuesListForOrgDirection direction, + global::GitHub.IssuesListForOrgFilter? filter, + global::GitHub.IssuesListForOrgState? state, + string? labels, + global::GitHub.IssuesListForOrgSort? sort, + global::GitHub.IssuesListForOrgDirection? direction, global::System.DateTime since, int perPage, int page, diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListForRepo.g.cs index 95f70d90..f6b9bd6b 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListForRepo.g.cs @@ -9,14 +9,14 @@ partial void PrepareIssuesListForRepoArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string milestone, - ref global::GitHub.IssuesListForRepoState state, - ref string assignee, - ref string creator, - ref string mentioned, - ref string labels, - ref global::GitHub.IssuesListForRepoSort sort, - ref global::GitHub.IssuesListForRepoDirection direction, + ref string? milestone, + ref global::GitHub.IssuesListForRepoState? state, + ref string? assignee, + ref string? creator, + ref string? mentioned, + ref string? labels, + ref global::GitHub.IssuesListForRepoSort? sort, + ref global::GitHub.IssuesListForRepoDirection? direction, global::System.DateTime since, ref int perPage, ref int page); @@ -25,14 +25,14 @@ partial void PrepareIssuesListForRepoRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string milestone, - global::GitHub.IssuesListForRepoState state, - string assignee, - string creator, - string mentioned, - string labels, - global::GitHub.IssuesListForRepoSort sort, - global::GitHub.IssuesListForRepoDirection direction, + string? milestone, + global::GitHub.IssuesListForRepoState? state, + string? assignee, + string? creator, + string? mentioned, + string? labels, + global::GitHub.IssuesListForRepoSort? sort, + global::GitHub.IssuesListForRepoDirection? direction, global::System.DateTime since, int perPage, int page); @@ -84,14 +84,14 @@ partial void ProcessIssuesListForRepoResponseContent( public async global::System.Threading.Tasks.Task> IssuesListForRepoAsync( string owner, string repo, - string milestone, - global::GitHub.IssuesListForRepoState state, - string assignee, - string creator, - string mentioned, - string labels, - global::GitHub.IssuesListForRepoSort sort, - global::GitHub.IssuesListForRepoDirection direction, + string? milestone, + global::GitHub.IssuesListForRepoState? state, + string? assignee, + string? creator, + string? mentioned, + string? labels, + global::GitHub.IssuesListForRepoSort? sort, + global::GitHub.IssuesListForRepoDirection? direction, global::System.DateTime since, int perPage, int page, diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListMilestones.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListMilestones.g.cs index c62d19e1..af6687b0 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListMilestones.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesListMilestones.g.cs @@ -9,9 +9,9 @@ partial void PrepareIssuesListMilestonesArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::GitHub.IssuesListMilestonesState state, - ref global::GitHub.IssuesListMilestonesSort sort, - ref global::GitHub.IssuesListMilestonesDirection direction, + ref global::GitHub.IssuesListMilestonesState? state, + ref global::GitHub.IssuesListMilestonesSort? sort, + ref global::GitHub.IssuesListMilestonesDirection? direction, ref int perPage, ref int page); partial void PrepareIssuesListMilestonesRequest( @@ -19,9 +19,9 @@ partial void PrepareIssuesListMilestonesRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::GitHub.IssuesListMilestonesState state, - global::GitHub.IssuesListMilestonesSort sort, - global::GitHub.IssuesListMilestonesDirection direction, + global::GitHub.IssuesListMilestonesState? state, + global::GitHub.IssuesListMilestonesSort? sort, + global::GitHub.IssuesListMilestonesDirection? direction, int perPage, int page); partial void ProcessIssuesListMilestonesResponse( @@ -59,9 +59,9 @@ partial void ProcessIssuesListMilestonesResponseContent( public async global::System.Threading.Tasks.Task> IssuesListMilestonesAsync( string owner, string repo, - global::GitHub.IssuesListMilestonesState state, - global::GitHub.IssuesListMilestonesSort sort, - global::GitHub.IssuesListMilestonesDirection direction, + global::GitHub.IssuesListMilestonesState? state, + global::GitHub.IssuesListMilestonesSort? sort, + global::GitHub.IssuesListMilestonesDirection? direction, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesRemoveAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesRemoveAssignees.g.cs index 62192902..391911a9 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesRemoveAssignees.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesRemoveAssignees.g.cs @@ -128,7 +128,7 @@ partial void ProcessIssuesRemoveAssigneesResponseContent( string owner, string repo, int issueNumber, - global::System.Collections.Generic.IList? assignees = default, + global::System.Collections.Generic.IList? assignees = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.IssuesRemoveAssigneesRequest diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesSetLabels.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesSetLabels.g.cs index d1b61d91..0b02c976 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesSetLabels.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesSetLabels.g.cs @@ -10,14 +10,14 @@ partial void PrepareIssuesSetLabelsArguments( ref string owner, ref string repo, ref int issueNumber, - global::System.OneOf, global::GitHub.IssuesSetLabelsRequest, global::System.Collections.Generic.IList, string> request); + global::System.OneOf?, global::GitHub.IssuesSetLabelsRequestVariant3?, global::System.Collections.Generic.IList?, string?> request); partial void PrepareIssuesSetLabelsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, int issueNumber, - global::System.OneOf, global::GitHub.IssuesSetLabelsRequest, global::System.Collections.Generic.IList, string> request); + global::System.OneOf?, global::GitHub.IssuesSetLabelsRequestVariant3?, global::System.Collections.Generic.IList?, string?> request); partial void ProcessIssuesSetLabelsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -41,11 +41,9 @@ partial void ProcessIssuesSetLabelsResponseContent( string owner, string repo, int issueNumber, - global::System.OneOf, global::GitHub.IssuesSetLabelsRequest, global::System.Collections.Generic.IList, string> request, + global::System.OneOf?, global::GitHub.IssuesSetLabelsRequestVariant3?, global::System.Collections.Generic.IList?, string?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareIssuesSetLabelsArguments( @@ -59,7 +57,7 @@ partial void ProcessIssuesSetLabelsResponseContent( method: global::System.Net.Http.HttpMethod.Put, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/issues/{issueNumber}/labels", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfIssuesSetLabelsRequestIListStringIssuesSetLabelsRequestIListIssuesSetLabelsRequestString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfIssuesSetLabelsRequestVariant1IListStringIssuesSetLabelsRequestVariant3IListIssuesSetLabelsRequestVariant4ItemString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -119,21 +117,16 @@ partial void ProcessIssuesSetLabelsResponseContent( /// /// /// - /// - /// The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see "[Add labels to an issue](https://docs.github.com/rest/issues/labels#add-labels-to-an-issue)." - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> IssuesSetLabelsAsync( string owner, string repo, int issueNumber, - global::System.Collections.Generic.IList? labels = default, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf, global::GitHub.IssuesSetLabelsRequest, global::System.Collections.Generic.IList, string> + var request = new global::System.OneOf?, global::GitHub.IssuesSetLabelsRequestVariant3?, global::System.Collections.Generic.IList?, string?> { - Labels = labels, }; return await IssuesSetLabelsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdate.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdate.g.cs index 7ff770e5..a7782205 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdate.g.cs @@ -61,7 +61,7 @@ partial void ProcessIssuesUpdateResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/issues/{issueNumber}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.IssuesUpdateRequest), @@ -164,8 +164,8 @@ partial void ProcessIssuesUpdateResponseContent( global::GitHub.IssuesUpdateRequestState? state = default, global::GitHub.IssuesUpdateRequestStateReason? stateReason = default, global::System.OneOf? milestone = default, - global::System.Collections.Generic.IList?>? labels = default, - global::System.Collections.Generic.IList? assignees = default, + global::System.Collections.Generic.IList>? labels = default, + global::System.Collections.Generic.IList? assignees = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.IssuesUpdateRequest diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdateComment.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdateComment.g.cs index ea44fd11..a7ce6b8b 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdateComment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdateComment.g.cs @@ -61,7 +61,7 @@ partial void ProcessIssuesUpdateCommentResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/issues/comments/{commentId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.IssuesUpdateCommentRequest), diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdateLabel.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdateLabel.g.cs index db225eab..984273de 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdateLabel.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdateLabel.g.cs @@ -56,7 +56,7 @@ partial void ProcessIssuesUpdateLabelResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/labels/{name}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.IssuesUpdateLabelRequest), diff --git a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdateMilestone.g.cs b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdateMilestone.g.cs index 9729421b..5d2d8b1e 100644 --- a/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdateMilestone.g.cs +++ b/src/libs/GitHub/Generated/GitHub.IssuesClient.IssuesUpdateMilestone.g.cs @@ -55,7 +55,7 @@ partial void ProcessIssuesUpdateMilestoneResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/milestones/{milestoneNumber}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.IssuesUpdateMilestoneRequest), diff --git a/src/libs/GitHub/Generated/GitHub.LicensesClient.LicensesGetForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.LicensesClient.LicensesGetForRepo.g.cs index fa3ef98a..07423118 100644 --- a/src/libs/GitHub/Generated/GitHub.LicensesClient.LicensesGetForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.LicensesClient.LicensesGetForRepo.g.cs @@ -9,13 +9,13 @@ partial void PrepareLicensesGetForRepoArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string @ref); + ref string? @ref); partial void PrepareLicensesGetForRepoRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string @ref); + string? @ref); partial void ProcessLicensesGetForRepoResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -43,7 +43,7 @@ partial void ProcessLicensesGetForRepoResponseContent( public async global::System.Threading.Tasks.Task LicensesGetForRepoAsync( string owner, string repo, - string @ref, + string? @ref, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.MarkdownClient.MarkdownRenderRaw.g.cs b/src/libs/GitHub/Generated/GitHub.MarkdownClient.MarkdownRenderRaw.g.cs index 9555e3e9..6f43add0 100644 --- a/src/libs/GitHub/Generated/GitHub.MarkdownClient.MarkdownRenderRaw.g.cs +++ b/src/libs/GitHub/Generated/GitHub.MarkdownClient.MarkdownRenderRaw.g.cs @@ -93,23 +93,5 @@ partial void ProcessMarkdownRenderRawResponseContent( global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.String) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } - - /// - /// Render a Markdown document in raw mode
- /// You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less. - ///
- /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task MarkdownRenderRawAsync( - global::System.Threading.CancellationToken cancellationToken = default) - { - var request = new string - { - }; - - return await MarkdownRenderRawAsync( - request: request, - cancellationToken: cancellationToken).ConfigureAwait(false); - } } } \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.MetaClient.MetaGetOctocat.g.cs b/src/libs/GitHub/Generated/GitHub.MetaClient.MetaGetOctocat.g.cs index bf76b25b..1c679827 100644 --- a/src/libs/GitHub/Generated/GitHub.MetaClient.MetaGetOctocat.g.cs +++ b/src/libs/GitHub/Generated/GitHub.MetaClient.MetaGetOctocat.g.cs @@ -7,11 +7,11 @@ public partial class MetaClient { partial void PrepareMetaGetOctocatArguments( global::System.Net.Http.HttpClient httpClient, - ref string s); + ref string? s); partial void PrepareMetaGetOctocatRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string s); + string? s); partial void ProcessMetaGetOctocatResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -29,7 +29,7 @@ partial void ProcessMetaGetOctocatResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task MetaGetOctocatAsync( - string s, + string? s, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.cs index b4e6f910..289f0a67 100644 --- a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.cs @@ -9,12 +9,12 @@ public partial class MigrationsClient partial void PrepareMigrationsGetStatusForAuthenticatedUserArguments( global::System.Net.Http.HttpClient httpClient, ref int migrationId, - global::System.Collections.Generic.IList exclude); + global::System.Collections.Generic.IList? exclude); partial void PrepareMigrationsGetStatusForAuthenticatedUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int migrationId, - global::System.Collections.Generic.IList exclude); + global::System.Collections.Generic.IList? exclude); partial void ProcessMigrationsGetStatusForAuthenticatedUserResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -39,7 +39,7 @@ partial void ProcessMigrationsGetStatusForAuthenticatedUserResponseContent( /// public async global::System.Threading.Tasks.Task MigrationsGetStatusForAuthenticatedUserAsync( int migrationId, - global::System.Collections.Generic.IList exclude, + global::System.Collections.Generic.IList? exclude, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -51,7 +51,7 @@ partial void ProcessMigrationsGetStatusForAuthenticatedUserResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations/{migrationId}?{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations/{migrationId}?{string.Join("&", exclude?.Select(static x => $"exclude={x}") ?? global::System.Array.Empty())}", global::System.UriKind.RelativeOrAbsolute)); PrepareRequest( client: _httpClient, diff --git a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsGetStatusForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsGetStatusForOrg.g.cs index 80041bd6..7ee3ad1c 100644 --- a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsGetStatusForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsGetStatusForOrg.g.cs @@ -10,13 +10,13 @@ partial void PrepareMigrationsGetStatusForOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, ref int migrationId, - global::System.Collections.Generic.IList exclude); + global::System.Collections.Generic.IList? exclude); partial void PrepareMigrationsGetStatusForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, int migrationId, - global::System.Collections.Generic.IList exclude); + global::System.Collections.Generic.IList? exclude); partial void ProcessMigrationsGetStatusForOrgResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -43,7 +43,7 @@ partial void ProcessMigrationsGetStatusForOrgResponseContent( public async global::System.Threading.Tasks.Task MigrationsGetStatusForOrgAsync( string org, int migrationId, - global::System.Collections.Generic.IList exclude, + global::System.Collections.Generic.IList? exclude, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -56,7 +56,7 @@ partial void ProcessMigrationsGetStatusForOrgResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations/{migrationId}?{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations/{migrationId}?{string.Join("&", exclude?.Select(static x => $"exclude={x}") ?? global::System.Array.Empty())}", global::System.UriKind.RelativeOrAbsolute)); PrepareRequest( client: _httpClient, diff --git a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsListForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsListForOrg.g.cs index d694f9d4..d3711429 100644 --- a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsListForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsListForOrg.g.cs @@ -11,14 +11,14 @@ partial void PrepareMigrationsListForOrgArguments( ref string org, ref int perPage, ref int page, - global::System.Collections.Generic.IList exclude); + global::System.Collections.Generic.IList? exclude); partial void PrepareMigrationsListForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, int perPage, int page, - global::System.Collections.Generic.IList exclude); + global::System.Collections.Generic.IList? exclude); partial void ProcessMigrationsListForOrgResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -47,7 +47,7 @@ partial void ProcessMigrationsListForOrgResponseContent( string org, int perPage, int page, - global::System.Collections.Generic.IList exclude, + global::System.Collections.Generic.IList? exclude, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -61,7 +61,7 @@ partial void ProcessMigrationsListForOrgResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations?per_page={perPage}&page={page}&{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations?per_page={perPage}&page={page}&{string.Join("&", exclude?.Select(static x => $"exclude={x}") ?? global::System.Array.Empty())}", global::System.UriKind.RelativeOrAbsolute)); PrepareRequest( client: _httpClient, diff --git a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsMapCommitAuthor.g.cs b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsMapCommitAuthor.g.cs index f0a13fd3..9313d8eb 100644 --- a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsMapCommitAuthor.g.cs +++ b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsMapCommitAuthor.g.cs @@ -60,7 +60,7 @@ partial void ProcessMigrationsMapCommitAuthorResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import/authors/{authorId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.MigrationsMapCommitAuthorRequest), diff --git a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsSetLfsPreference.g.cs b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsSetLfsPreference.g.cs index 474c6576..cac594f5 100644 --- a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsSetLfsPreference.g.cs +++ b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsSetLfsPreference.g.cs @@ -57,7 +57,7 @@ partial void ProcessMigrationsSetLfsPreferenceResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import/lfs", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.MigrationsSetLfsPreferenceRequest), diff --git a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsStartForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsStartForAuthenticatedUser.g.cs index dbac0b94..620f8ee1 100644 --- a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsStartForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsStartForAuthenticatedUser.g.cs @@ -143,7 +143,7 @@ partial void ProcessMigrationsStartForAuthenticatedUserResponseContent( bool excludeReleases = default, bool excludeOwnerProjects = default, bool orgMetadataOnly = false, - global::System.Collections.Generic.IList? exclude = default, + global::System.Collections.Generic.IList? exclude = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.MigrationsStartForAuthenticatedUserRequest diff --git a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsStartForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsStartForOrg.g.cs index c8fdb8c7..eba76449 100644 --- a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsStartForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsStartForOrg.g.cs @@ -156,7 +156,7 @@ partial void ProcessMigrationsStartForOrgResponseContent( bool excludeReleases = false, bool excludeOwnerProjects = false, bool orgMetadataOnly = false, - global::System.Collections.Generic.IList? exclude = default, + global::System.Collections.Generic.IList? exclude = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.MigrationsStartForOrgRequest diff --git a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsUpdateImport.g.cs b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsUpdateImport.g.cs index c7821182..04fbae3e 100644 --- a/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsUpdateImport.g.cs +++ b/src/libs/GitHub/Generated/GitHub.MigrationsClient.MigrationsUpdateImport.g.cs @@ -58,7 +58,7 @@ partial void ProcessMigrationsUpdateImportResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.MigrationsUpdateImportRequest), diff --git a/src/libs/GitHub/Generated/GitHub.Models.ActionsCacheList.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ActionsCacheList.g.cs index ba521e85..f9a9c0b0 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ActionsCacheList.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ActionsCacheList.g.cs @@ -21,7 +21,7 @@ public sealed partial class ActionsCacheList /// [global::System.Text.Json.Serialization.JsonPropertyName("actions_caches")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList ActionsCaches { get; set; } + public required global::System.Collections.Generic.IList ActionsCaches { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ActionsCacheListActionsCache.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ActionsCacheListActionsCache.g.cs new file mode 100644 index 00000000..606bb1bc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ActionsCacheListActionsCache.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ActionsCacheListActionsCache + { + /// + /// Example: 2 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// Example: refs/heads/main + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + public string? Ref { get; set; } + + /// + /// Example: Linux-node-958aff96db2d75d67787d1e634ae70b659de937b + /// + [global::System.Text.Json.Serialization.JsonPropertyName("key")] + public string? Key { get; set; } + + /// + /// Example: 73885106f58cc52a7df9ec4d4a5622a5614813162cb516c759a30af6bf56e6f0 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("version")] + public string? Version { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("last_accessed_at")] + public global::System.DateTime LastAccessedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public global::System.DateTime CreatedAt { get; set; } + + /// + /// Example: 1024 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size_in_bytes")] + public int SizeInBytes { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ActionsCacheListActionsCaches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ActionsCacheListActionsCaches.g.cs deleted file mode 100644 index 23aae8e6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ActionsCacheListActionsCaches.g.cs +++ /dev/null @@ -1,59 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ActionsCacheListActionsCaches - { - /// - /// Example: 2 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// Example: refs/heads/main - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - public string? Ref { get; set; } - - /// - /// Example: Linux-node-958aff96db2d75d67787d1e634ae70b659de937b - /// - [global::System.Text.Json.Serialization.JsonPropertyName("key")] - public string? Key { get; set; } - - /// - /// Example: 73885106f58cc52a7df9ec4d4a5622a5614813162cb516c759a30af6bf56e6f0 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("version")] - public string? Version { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_accessed_at")] - public global::System.DateTime LastAccessedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public global::System.DateTime CreatedAt { get; set; } - - /// - /// Example: 1024 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("size_in_bytes")] - public int SizeInBytes { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ActionsCreateWorkflowDispatchRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ActionsCreateWorkflowDispatchRequest.g.cs index 821d7335..ba9b72b8 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ActionsCreateWorkflowDispatchRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ActionsCreateWorkflowDispatchRequest.g.cs @@ -19,7 +19,7 @@ public sealed partial class ActionsCreateWorkflowDispatchRequest /// Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted. /// [global::System.Text.Json.Serialization.JsonPropertyName("inputs")] - public object? Inputs { get; set; } + public global::GitHub.ActionsCreateWorkflowDispatchRequestInputs? Inputs { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ActionsCreateWorkflowDispatchRequestInputs.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ActionsCreateWorkflowDispatchRequestInputs.g.cs new file mode 100644 index 00000000..c74d75a5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ActionsCreateWorkflowDispatchRequestInputs.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted. + /// + public sealed partial class ActionsCreateWorkflowDispatchRequestInputs + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ActionsSetCustomOidcSubClaimForRepoRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ActionsSetCustomOidcSubClaimForRepoRequest.g.cs index 6c35f16a..dd1e70ce 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ActionsSetCustomOidcSubClaimForRepoRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ActionsSetCustomOidcSubClaimForRepoRequest.g.cs @@ -19,7 +19,7 @@ public sealed partial class ActionsSetCustomOidcSubClaimForRepoRequest /// Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. /// [global::System.Text.Json.Serialization.JsonPropertyName("include_claim_keys")] - public global::System.Collections.Generic.IList? IncludeClaimKeys { get; set; } + public global::System.Collections.Generic.IList? IncludeClaimKeys { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ApiOverview.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ApiOverview.g.cs index d9ec15e8..253fa909 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ApiOverview.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ApiOverview.g.cs @@ -25,79 +25,79 @@ public sealed partial class ApiOverview /// Example: [ssh-ed25519 ABCDEFGHIJKLMNOPQRSTUVWXYZ] /// [global::System.Text.Json.Serialization.JsonPropertyName("ssh_keys")] - public global::System.Collections.Generic.IList? SshKeys { get; set; } + public global::System.Collections.Generic.IList? SshKeys { get; set; } /// /// Example: [192.0.2.1] /// [global::System.Text.Json.Serialization.JsonPropertyName("hooks")] - public global::System.Collections.Generic.IList? Hooks { get; set; } + public global::System.Collections.Generic.IList? Hooks { get; set; } /// /// Example: [192.0.2.1] /// [global::System.Text.Json.Serialization.JsonPropertyName("github_enterprise_importer")] - public global::System.Collections.Generic.IList? GithubEnterpriseImporter { get; set; } + public global::System.Collections.Generic.IList? GithubEnterpriseImporter { get; set; } /// /// Example: [192.0.2.1] /// [global::System.Text.Json.Serialization.JsonPropertyName("web")] - public global::System.Collections.Generic.IList? Web { get; set; } + public global::System.Collections.Generic.IList? Web { get; set; } /// /// Example: [192.0.2.1] /// [global::System.Text.Json.Serialization.JsonPropertyName("api")] - public global::System.Collections.Generic.IList? Api { get; set; } + public global::System.Collections.Generic.IList? Api { get; set; } /// /// Example: [192.0.2.1] /// [global::System.Text.Json.Serialization.JsonPropertyName("git")] - public global::System.Collections.Generic.IList? Git { get; set; } + public global::System.Collections.Generic.IList? Git { get; set; } /// /// Example: [192.0.2.1] /// [global::System.Text.Json.Serialization.JsonPropertyName("packages")] - public global::System.Collections.Generic.IList? Packages { get; set; } + public global::System.Collections.Generic.IList? Packages { get; set; } /// /// Example: [192.0.2.1] /// [global::System.Text.Json.Serialization.JsonPropertyName("pages")] - public global::System.Collections.Generic.IList? Pages { get; set; } + public global::System.Collections.Generic.IList? Pages { get; set; } /// /// Example: [192.0.2.1] /// [global::System.Text.Json.Serialization.JsonPropertyName("importer")] - public global::System.Collections.Generic.IList? Importer { get; set; } + public global::System.Collections.Generic.IList? Importer { get; set; } /// /// Example: [192.0.2.1] /// [global::System.Text.Json.Serialization.JsonPropertyName("actions")] - public global::System.Collections.Generic.IList? Actions { get; set; } + public global::System.Collections.Generic.IList? Actions { get; set; } /// /// Example: [192.0.2.1] /// [global::System.Text.Json.Serialization.JsonPropertyName("actions_macos")] - public global::System.Collections.Generic.IList? ActionsMacos { get; set; } + public global::System.Collections.Generic.IList? ActionsMacos { get; set; } /// /// Example: [192.0.2.1] /// [global::System.Text.Json.Serialization.JsonPropertyName("dependabot")] - public global::System.Collections.Generic.IList? Dependabot { get; set; } + public global::System.Collections.Generic.IList? Dependabot { get; set; } /// /// Example: [192.0.2.1] /// [global::System.Text.Json.Serialization.JsonPropertyName("copilot")] - public global::System.Collections.Generic.IList? Copilot { get; set; } + public global::System.Collections.Generic.IList? Copilot { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.ApiOverviewDomains.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ApiOverviewDomains.g.cs index 5cfca8d1..2b3efb4a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ApiOverviewDomains.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ApiOverviewDomains.g.cs @@ -12,31 +12,31 @@ public sealed partial class ApiOverviewDomains /// /// [global::System.Text.Json.Serialization.JsonPropertyName("website")] - public global::System.Collections.Generic.IList? Website { get; set; } + public global::System.Collections.Generic.IList? Website { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("codespaces")] - public global::System.Collections.Generic.IList? Codespaces { get; set; } + public global::System.Collections.Generic.IList? Codespaces { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("copilot")] - public global::System.Collections.Generic.IList? Copilot { get; set; } + public global::System.Collections.Generic.IList? Copilot { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("packages")] - public global::System.Collections.Generic.IList? Packages { get; set; } + public global::System.Collections.Generic.IList? Packages { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("actions")] - public global::System.Collections.Generic.IList? Actions { get; set; } + public global::System.Collections.Generic.IList? Actions { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.AppsCreateFromManifestResponse2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.AppsCreateFromManifestResponse2.g.cs new file mode 100644 index 00000000..6243f930 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.AppsCreateFromManifestResponse2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class AppsCreateFromManifestResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("client_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ClientId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("client_secret")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ClientSecret { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("webhook_secret")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? WebhookSecret { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pem")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Pem { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.AppsCreateFromManifestResponseVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.AppsCreateFromManifestResponseVariant2.g.cs deleted file mode 100644 index 4c916886..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.AppsCreateFromManifestResponseVariant2.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class AppsCreateFromManifestResponseVariant2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("client_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ClientId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("client_secret")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ClientSecret { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("webhook_secret")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? WebhookSecret { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pem")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Pem { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.AppsCreateInstallationAccessTokenRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.AppsCreateInstallationAccessTokenRequest.g.cs index 74324c39..06dd0c48 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.AppsCreateInstallationAccessTokenRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.AppsCreateInstallationAccessTokenRequest.g.cs @@ -12,7 +12,7 @@ public sealed partial class AppsCreateInstallationAccessTokenRequest /// List of repository names that the token should have access to /// [global::System.Text.Json.Serialization.JsonPropertyName("repositories")] - public global::System.Collections.Generic.IList? Repositories { get; set; } + public global::System.Collections.Generic.IList? Repositories { get; set; } /// /// List of repository IDs that the token should have access to
diff --git a/src/libs/GitHub/Generated/GitHub.Models.AppsScopeTokenRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.AppsScopeTokenRequest.g.cs index 2961aadf..53a005dc 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.AppsScopeTokenRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.AppsScopeTokenRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class AppsScopeTokenRequest /// The list of repository names to scope the user access token to. `repositories` may not be specified if `repository_ids` is specified. ///
[global::System.Text.Json.Serialization.JsonPropertyName("repositories")] - public global::System.Collections.Generic.IList? Repositories { get; set; } + public global::System.Collections.Generic.IList? Repositories { get; set; } /// /// The list of repository IDs to scope the user access token to. `repository_ids` may not be specified if `repositories` is specified.
diff --git a/src/libs/GitHub/Generated/GitHub.Models.AppsUpdateWebhookConfigForAppRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.AppsUpdateWebhookConfigForAppRequest.g.cs index 8eb04652..d8ad9129 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.AppsUpdateWebhookConfigForAppRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.AppsUpdateWebhookConfigForAppRequest.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -35,8 +33,8 @@ public sealed partial class AppsUpdateWebhookConfigForAppRequest /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("insecure_ssl")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? InsecureSsl { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookConfigInsecureSslJsonConverter))] + public global::GitHub.WebhookConfigInsecureSsl? InsecureSsl { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.AuthenticationToken.g.cs b/src/libs/GitHub/Generated/GitHub.Models.AuthenticationToken.g.cs index 2ae53c5f..d883cfce 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.AuthenticationToken.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.AuthenticationToken.g.cs @@ -27,7 +27,7 @@ public sealed partial class AuthenticationToken /// /// [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] - public object? Permissions { get; set; } + public global::GitHub.AuthenticationTokenPermissions? Permissions { get; set; } /// /// The repositories this token has access to diff --git a/src/libs/GitHub/Generated/GitHub.Models.AuthenticationTokenPermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.AuthenticationTokenPermissions.g.cs new file mode 100644 index 00000000..525573a7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.AuthenticationTokenPermissions.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class AuthenticationTokenPermissions + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.BaseGist.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BaseGist.g.cs index 8a80c26a..aaf8328a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.BaseGist.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.BaseGist.g.cs @@ -69,7 +69,7 @@ public sealed partial class BaseGist /// [global::System.Text.Json.Serialization.JsonPropertyName("files")] [global::System.Text.Json.Serialization.JsonRequired] - public required object Files { get; set; } + public required global::GitHub.BaseGistFiles Files { get; set; } /// /// @@ -136,13 +136,13 @@ public sealed partial class BaseGist /// /// [global::System.Text.Json.Serialization.JsonPropertyName("forks")] - public global::System.Collections.Generic.IList? Forks { get; set; } + public global::System.Collections.Generic.IList? Forks { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("history")] - public global::System.Collections.Generic.IList? History { get; set; } + public global::System.Collections.Generic.IList? History { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.BaseGistFiles.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BaseGistFiles.g.cs new file mode 100644 index 00000000..fa38ec9b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.BaseGistFiles.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class BaseGistFiles + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.BaseGistFork.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BaseGistFork.g.cs new file mode 100644 index 00000000..7ec67e50 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.BaseGistFork.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class BaseGistFork + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.BaseGistHistoryItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BaseGistHistoryItem.g.cs new file mode 100644 index 00000000..ce248ce6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.BaseGistHistoryItem.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class BaseGistHistoryItem + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicy.g.cs index 9859fb6e..1d1a7d15 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicy.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicy.g.cs @@ -41,21 +41,21 @@ public sealed partial class BranchRestrictionPolicy /// [global::System.Text.Json.Serialization.JsonPropertyName("users")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Users { get; set; } + public required global::System.Collections.Generic.IList Users { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Teams { get; set; } + public required global::System.Collections.Generic.IList Teams { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("apps")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Apps { get; set; } + public required global::System.Collections.Generic.IList Apps { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyApp.g.cs new file mode 100644 index 00000000..e689eb48 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyApp.g.cs @@ -0,0 +1,89 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class BranchRestrictionPolicyApp + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("owner")] + public global::GitHub.BranchRestrictionPolicyAppOwner? Owner { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("external_url")] + public string? ExternalUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public string? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public string? UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] + public global::GitHub.BranchRestrictionPolicyAppPermissions? Permissions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events")] + public global::System.Collections.Generic.IList? Events { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppOwner.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppOwner.g.cs new file mode 100644 index 00000000..8d9aa814 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppOwner.g.cs @@ -0,0 +1,155 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class BranchRestrictionPolicyAppOwner + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + public string? Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hooks_url")] + public string? HooksUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("issues_url")] + public string? IssuesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("public_members_url")] + public string? PublicMembersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Example: "" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// Example: "https://github.com/testorg-ea8ec76d71c3af4b" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// Example: "Organization" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// Example: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppPermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppPermissions.g.cs new file mode 100644 index 00000000..7d4f6ad5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppPermissions.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class BranchRestrictionPolicyAppPermissions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] + public string? Metadata { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contents")] + public string? Contents { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("issues")] + public string? Issues { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("single_file")] + public string? SingleFile { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyApps.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyApps.g.cs deleted file mode 100644 index 97744da2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyApps.g.cs +++ /dev/null @@ -1,89 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class BranchRestrictionPolicyApps - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("owner")] - public global::GitHub.BranchRestrictionPolicyAppsOwner? Owner { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("external_url")] - public string? ExternalUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public string? CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - public string? UpdatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] - public global::GitHub.BranchRestrictionPolicyAppsPermissions? Permissions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppsOwner.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppsOwner.g.cs deleted file mode 100644 index e4be038f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppsOwner.g.cs +++ /dev/null @@ -1,155 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class BranchRestrictionPolicyAppsOwner - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - public string? Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("hooks_url")] - public string? HooksUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("issues_url")] - public string? IssuesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("public_members_url")] - public string? PublicMembersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// Example: "" - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// Example: "https://github.com/testorg-ea8ec76d71c3af4b" - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers" - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}" - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}" - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}" - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions" - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs" - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// Example: "https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events" - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// Example: "Organization" - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } - - /// - /// Example: false - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppsPermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppsPermissions.g.cs deleted file mode 100644 index 0bdb516c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyAppsPermissions.g.cs +++ /dev/null @@ -1,41 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class BranchRestrictionPolicyAppsPermissions - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public string? Metadata { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("contents")] - public string? Contents { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("issues")] - public string? Issues { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("single_file")] - public string? SingleFile { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyTeam.g.cs new file mode 100644 index 00000000..111e5f02 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyTeam.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class BranchRestrictionPolicyTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + public string? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("notification_setting")] + public string? NotificationSetting { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public string? Parent { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyTeams.g.cs deleted file mode 100644 index 98ad8a9a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyTeams.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class BranchRestrictionPolicyTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - public string? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("notification_setting")] - public string? NotificationSetting { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public string? Parent { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyUser.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyUser.g.cs new file mode 100644 index 00000000..efd0167d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyUser.g.cs @@ -0,0 +1,125 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class BranchRestrictionPolicyUser + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + public string? Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyUsers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyUsers.g.cs deleted file mode 100644 index 79317dc6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.BranchRestrictionPolicyUsers.g.cs +++ /dev/null @@ -1,125 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class BranchRestrictionPolicyUsers - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - public string? Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CheckSuitePreferencePreferences.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CheckSuitePreferencePreferences.g.cs index 6494af11..d7d7ec91 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CheckSuitePreferencePreferences.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CheckSuitePreferencePreferences.g.cs @@ -12,7 +12,7 @@ public sealed partial class CheckSuitePreferencePreferences /// /// [global::System.Text.Json.Serialization.JsonPropertyName("auto_trigger_checks")] - public global::System.Collections.Generic.IList? AutoTriggerChecks { get; set; } + public global::System.Collections.Generic.IList? AutoTriggerChecks { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.CheckSuitePreferencePreferencesAutoTriggerCheck.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CheckSuitePreferencePreferencesAutoTriggerCheck.g.cs new file mode 100644 index 00000000..ac076a9b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CheckSuitePreferencePreferencesAutoTriggerCheck.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CheckSuitePreferencePreferencesAutoTriggerCheck + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("app_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int AppId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("setting")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Setting { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CheckSuitePreferencePreferencesAutoTriggerChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CheckSuitePreferencePreferencesAutoTriggerChecks.g.cs deleted file mode 100644 index b73fade3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CheckSuitePreferencePreferencesAutoTriggerChecks.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CheckSuitePreferencePreferencesAutoTriggerChecks - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("app_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int AppId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("setting")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Setting { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequest.g.cs new file mode 100644 index 00000000..29279632 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequest.g.cs @@ -0,0 +1,83 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksCreateRequest + { + /// + /// The name of the check. For example, "code-coverage". + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// The SHA of the commit. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head_sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HeadSha { get; set; } + + /// + /// The URL of the integrator's site that has the full details of the check. If the integrator does not provide this, then the homepage of the GitHub app is used. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("details_url")] + public string? DetailsUrl { get; set; } + + /// + /// A reference for the run on the integrator's system. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("external_id")] + public string? ExternalId { get; set; } + + /// + /// The current status of the check run. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`.
+ /// Default Value: queued + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ChecksCreateRequestStatusJsonConverter))] + public global::GitHub.ChecksCreateRequestStatus? Status { get; set; } = global::GitHub.ChecksCreateRequestStatus.Queued; + + /// + /// The time that the check run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + public global::System.DateTime StartedAt { get; set; } + + /// + /// **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check.
+ /// **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. You cannot change a check run conclusion to `stale`, only GitHub can set this. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ChecksCreateRequestConclusionJsonConverter))] + public global::GitHub.ChecksCreateRequestConclusion? Conclusion { get; set; } + + /// + /// The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] + public global::System.DateTime CompletedAt { get; set; } + + /// + /// Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("output")] + public global::GitHub.ChecksCreateRequestOutput? Output { get; set; } + + /// + /// Displays a button on GitHub that can be clicked to alert your app to do additional tasks. For example, a code linting app can display a button that automatically fixes detected errors. The button created in this object is displayed after the check run completes. When a user clicks the button, GitHub sends the [`check_run.requested_action` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) to your app. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://docs.github.com/rest/guides/using-the-rest-api-to-interact-with-checks#check-runs-and-requested-actions)." + /// + [global::System.Text.Json.Serialization.JsonPropertyName("actions")] + public global::System.Collections.Generic.IList? Actions { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestAction.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestAction.g.cs new file mode 100644 index 00000000..b2e1beaf --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestAction.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksCreateRequestAction + { + /// + /// The text to be displayed on a button in the web UI. The maximum size is 20 characters. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("label")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Label { get; set; } + + /// + /// A short explanation of what this action would do. The maximum size is 40 characters. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Description { get; set; } + + /// + /// A reference for the action on the integrator's system. The maximum size is 20 characters. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("identifier")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Identifier { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestConclusion.g.cs new file mode 100644 index 00000000..3c8b3897 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestConclusion.g.cs @@ -0,0 +1,88 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check.
+ /// **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. You cannot change a check run conclusion to `stale`, only GitHub can set this. + ///
+ public enum ChecksCreateRequestConclusion + { + /// + /// + /// + ActionRequired, + /// + /// + /// + Cancelled, + /// + /// + /// + Failure, + /// + /// + /// + Neutral, + /// + /// + /// + Success, + /// + /// + /// + Skipped, + /// + /// + /// + Stale, + /// + /// + /// + TimedOut, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChecksCreateRequestConclusionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChecksCreateRequestConclusion value) + { + return value switch + { + ChecksCreateRequestConclusion.ActionRequired => "action_required", + ChecksCreateRequestConclusion.Cancelled => "cancelled", + ChecksCreateRequestConclusion.Failure => "failure", + ChecksCreateRequestConclusion.Neutral => "neutral", + ChecksCreateRequestConclusion.Success => "success", + ChecksCreateRequestConclusion.Skipped => "skipped", + ChecksCreateRequestConclusion.Stale => "stale", + ChecksCreateRequestConclusion.TimedOut => "timed_out", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChecksCreateRequestConclusion? ToEnum(string value) + { + return value switch + { + "action_required" => ChecksCreateRequestConclusion.ActionRequired, + "cancelled" => ChecksCreateRequestConclusion.Cancelled, + "failure" => ChecksCreateRequestConclusion.Failure, + "neutral" => ChecksCreateRequestConclusion.Neutral, + "success" => ChecksCreateRequestConclusion.Success, + "skipped" => ChecksCreateRequestConclusion.Skipped, + "stale" => ChecksCreateRequestConclusion.Stale, + "timed_out" => ChecksCreateRequestConclusion.TimedOut, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutput.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutput.g.cs new file mode 100644 index 00000000..68698bff --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutput.g.cs @@ -0,0 +1,49 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. + /// + public sealed partial class ChecksCreateRequestOutput + { + /// + /// The title of the check run. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// The summary of the check run. This parameter supports Markdown. **Maximum length**: 65535 characters. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("summary")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Summary { get; set; } + + /// + /// The details of the check run. This parameter supports Markdown. **Maximum length**: 65535 characters. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("text")] + public string? Text { get; set; } + + /// + /// Adds information from your analysis to specific lines of code. Annotations are visible on GitHub in the **Checks** and **Files changed** tab of the pull request. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://docs.github.com/rest/checks/runs#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. GitHub Actions are limited to 10 warning annotations and 10 error annotations per step. For details about how you can view annotations on GitHub, see "[About status checks](https://docs.github.com/articles/about-status-checks#checks)". + /// + [global::System.Text.Json.Serialization.JsonPropertyName("annotations")] + public global::System.Collections.Generic.IList? Annotations { get; set; } + + /// + /// Adds images to the output displayed in the GitHub pull request UI. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("images")] + public global::System.Collections.Generic.IList? Images { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutputAnnotation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutputAnnotation.g.cs new file mode 100644 index 00000000..63145388 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutputAnnotation.g.cs @@ -0,0 +1,77 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksCreateRequestOutputAnnotation + { + /// + /// The path of the file to add an annotation to. For example, `assets/css/main.css`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// The start line of the annotation. Line numbers start at 1. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_line")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int StartLine { get; set; } + + /// + /// The end line of the annotation. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("end_line")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int EndLine { get; set; } + + /// + /// The start column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values. Column numbers start at 1. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_column")] + public int StartColumn { get; set; } + + /// + /// The end column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("end_column")] + public int EndColumn { get; set; } + + /// + /// The level of the annotation. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("annotation_level")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ChecksCreateRequestOutputAnnotationAnnotationLevelJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.ChecksCreateRequestOutputAnnotationAnnotationLevel AnnotationLevel { get; set; } + + /// + /// A short description of the feedback for these lines of code. The maximum size is 64 KB. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// The title that represents the annotation. The maximum size is 255 characters. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// Details about this annotation. The maximum size is 64 KB. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("raw_details")] + public string? RawDetails { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutputAnnotationAnnotationLevel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutputAnnotationAnnotationLevel.g.cs new file mode 100644 index 00000000..c0d49a10 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutputAnnotationAnnotationLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The level of the annotation. + /// + public enum ChecksCreateRequestOutputAnnotationAnnotationLevel + { + /// + /// + /// + Notice, + /// + /// + /// + Warning, + /// + /// + /// + Failure, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChecksCreateRequestOutputAnnotationAnnotationLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChecksCreateRequestOutputAnnotationAnnotationLevel value) + { + return value switch + { + ChecksCreateRequestOutputAnnotationAnnotationLevel.Notice => "notice", + ChecksCreateRequestOutputAnnotationAnnotationLevel.Warning => "warning", + ChecksCreateRequestOutputAnnotationAnnotationLevel.Failure => "failure", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChecksCreateRequestOutputAnnotationAnnotationLevel? ToEnum(string value) + { + return value switch + { + "notice" => ChecksCreateRequestOutputAnnotationAnnotationLevel.Notice, + "warning" => ChecksCreateRequestOutputAnnotationAnnotationLevel.Warning, + "failure" => ChecksCreateRequestOutputAnnotationAnnotationLevel.Failure, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutputImage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutputImage.g.cs new file mode 100644 index 00000000..3d4392fe --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestOutputImage.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksCreateRequestOutputImage + { + /// + /// The alternative text for the image. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("alt")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Alt { get; set; } + + /// + /// The full URL of the image. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("image_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ImageUrl { get; set; } + + /// + /// A short image description. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("caption")] + public string? Caption { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestStatus.g.cs new file mode 100644 index 00000000..751a06e6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestStatus.g.cs @@ -0,0 +1,76 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The current status of the check run. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`.
+ /// Default Value: queued + ///
+ public enum ChecksCreateRequestStatus + { + /// + /// + /// + Queued, + /// + /// + /// + InProgress, + /// + /// + /// + Completed, + /// + /// + /// + Waiting, + /// + /// + /// + Requested, + /// + /// + /// + Pending, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChecksCreateRequestStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChecksCreateRequestStatus value) + { + return value switch + { + ChecksCreateRequestStatus.Queued => "queued", + ChecksCreateRequestStatus.InProgress => "in_progress", + ChecksCreateRequestStatus.Completed => "completed", + ChecksCreateRequestStatus.Waiting => "waiting", + ChecksCreateRequestStatus.Requested => "requested", + ChecksCreateRequestStatus.Pending => "pending", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChecksCreateRequestStatus? ToEnum(string value) + { + return value switch + { + "queued" => ChecksCreateRequestStatus.Queued, + "in_progress" => ChecksCreateRequestStatus.InProgress, + "completed" => ChecksCreateRequestStatus.Completed, + "waiting" => ChecksCreateRequestStatus.Waiting, + "requested" => ChecksCreateRequestStatus.Requested, + "pending" => ChecksCreateRequestStatus.Pending, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant1.g.cs new file mode 100644 index 00000000..87d9244a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant1.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksCreateRequestVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.ChecksCreateRequestVariant1Status Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant1Status.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant1Status.g.cs new file mode 100644 index 00000000..92492e77 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant1Status.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksCreateRequestVariant1Status + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant2.g.cs new file mode 100644 index 00000000..eb38589a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant2.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksCreateRequestVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public global::GitHub.ChecksCreateRequestVariant2Status? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant2Status.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant2Status.g.cs new file mode 100644 index 00000000..edaeeeab --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksCreateRequestVariant2Status.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksCreateRequestVariant2Status + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksSetSuitesPreferencesRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksSetSuitesPreferencesRequest.g.cs index b2a9ecd6..20346914 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ChecksSetSuitesPreferencesRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksSetSuitesPreferencesRequest.g.cs @@ -12,7 +12,7 @@ public sealed partial class ChecksSetSuitesPreferencesRequest /// Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default. ///
[global::System.Text.Json.Serialization.JsonPropertyName("auto_trigger_checks")] - public global::System.Collections.Generic.IList? AutoTriggerChecks { get; set; } + public global::System.Collections.Generic.IList? AutoTriggerChecks { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksSetSuitesPreferencesRequestAutoTriggerCheck.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksSetSuitesPreferencesRequestAutoTriggerCheck.g.cs new file mode 100644 index 00000000..e676c5c6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksSetSuitesPreferencesRequestAutoTriggerCheck.g.cs @@ -0,0 +1,32 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksSetSuitesPreferencesRequestAutoTriggerCheck + { + /// + /// The `id` of the GitHub App. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("app_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int AppId { get; set; } + + /// + /// Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository, or `false` to disable them.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("setting")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Setting { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksSetSuitesPreferencesRequestAutoTriggerChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksSetSuitesPreferencesRequestAutoTriggerChecks.g.cs deleted file mode 100644 index 4a139e1f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ChecksSetSuitesPreferencesRequestAutoTriggerChecks.g.cs +++ /dev/null @@ -1,32 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ChecksSetSuitesPreferencesRequestAutoTriggerChecks - { - /// - /// The `id` of the GitHub App. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("app_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int AppId { get; set; } - - /// - /// Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository, or `false` to disable them.
- /// Default Value: true - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("setting")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Setting { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequest.g.cs new file mode 100644 index 00000000..5582977d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequest.g.cs @@ -0,0 +1,74 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksUpdateRequest + { + /// + /// The name of the check. For example, "code-coverage". + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// The URL of the integrator's site that has the full details of the check. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("details_url")] + public string? DetailsUrl { get; set; } + + /// + /// A reference for the run on the integrator's system. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("external_id")] + public string? ExternalId { get; set; } + + /// + /// This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + public global::System.DateTime StartedAt { get; set; } + + /// + /// The current status of the check run. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ChecksUpdateRequestStatusJsonConverter))] + public global::GitHub.ChecksUpdateRequestStatus? Status { get; set; } + + /// + /// **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check.
+ /// **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. You cannot change a check run conclusion to `stale`, only GitHub can set this. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ChecksUpdateRequestConclusionJsonConverter))] + public global::GitHub.ChecksUpdateRequestConclusion? Conclusion { get; set; } + + /// + /// The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] + public global::System.DateTime CompletedAt { get; set; } + + /// + /// Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("output")] + public global::GitHub.ChecksUpdateRequestOutput? Output { get; set; } + + /// + /// Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://docs.github.com/rest/guides/using-the-rest-api-to-interact-with-checks#check-runs-and-requested-actions)." + /// + [global::System.Text.Json.Serialization.JsonPropertyName("actions")] + public global::System.Collections.Generic.IList? Actions { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestAction.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestAction.g.cs new file mode 100644 index 00000000..93378289 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestAction.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksUpdateRequestAction + { + /// + /// The text to be displayed on a button in the web UI. The maximum size is 20 characters. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("label")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Label { get; set; } + + /// + /// A short explanation of what this action would do. The maximum size is 40 characters. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Description { get; set; } + + /// + /// A reference for the action on the integrator's system. The maximum size is 20 characters. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("identifier")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Identifier { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestConclusion.g.cs new file mode 100644 index 00000000..7655e5ce --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestConclusion.g.cs @@ -0,0 +1,88 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check.
+ /// **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. You cannot change a check run conclusion to `stale`, only GitHub can set this. + ///
+ public enum ChecksUpdateRequestConclusion + { + /// + /// + /// + ActionRequired, + /// + /// + /// + Cancelled, + /// + /// + /// + Failure, + /// + /// + /// + Neutral, + /// + /// + /// + Success, + /// + /// + /// + Skipped, + /// + /// + /// + Stale, + /// + /// + /// + TimedOut, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChecksUpdateRequestConclusionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChecksUpdateRequestConclusion value) + { + return value switch + { + ChecksUpdateRequestConclusion.ActionRequired => "action_required", + ChecksUpdateRequestConclusion.Cancelled => "cancelled", + ChecksUpdateRequestConclusion.Failure => "failure", + ChecksUpdateRequestConclusion.Neutral => "neutral", + ChecksUpdateRequestConclusion.Success => "success", + ChecksUpdateRequestConclusion.Skipped => "skipped", + ChecksUpdateRequestConclusion.Stale => "stale", + ChecksUpdateRequestConclusion.TimedOut => "timed_out", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChecksUpdateRequestConclusion? ToEnum(string value) + { + return value switch + { + "action_required" => ChecksUpdateRequestConclusion.ActionRequired, + "cancelled" => ChecksUpdateRequestConclusion.Cancelled, + "failure" => ChecksUpdateRequestConclusion.Failure, + "neutral" => ChecksUpdateRequestConclusion.Neutral, + "success" => ChecksUpdateRequestConclusion.Success, + "skipped" => ChecksUpdateRequestConclusion.Skipped, + "stale" => ChecksUpdateRequestConclusion.Stale, + "timed_out" => ChecksUpdateRequestConclusion.TimedOut, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutput.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutput.g.cs new file mode 100644 index 00000000..7ecd7528 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutput.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. + /// + public sealed partial class ChecksUpdateRequestOutput + { + /// + /// **Required**. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// Can contain Markdown. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("summary")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Summary { get; set; } + + /// + /// Can contain Markdown. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("text")] + public string? Text { get; set; } + + /// + /// Adds information from your analysis to specific lines of code. Annotations are visible in GitHub's pull request UI. Annotations are visible in GitHub's pull request UI. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://docs.github.com/rest/checks/runs#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. GitHub Actions are limited to 10 warning annotations and 10 error annotations per step. For details about annotations in the UI, see "[About status checks](https://docs.github.com/articles/about-status-checks#checks)". + /// + [global::System.Text.Json.Serialization.JsonPropertyName("annotations")] + public global::System.Collections.Generic.IList? Annotations { get; set; } + + /// + /// Adds images to the output displayed in the GitHub pull request UI. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("images")] + public global::System.Collections.Generic.IList? Images { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutputAnnotation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutputAnnotation.g.cs new file mode 100644 index 00000000..62c680ba --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutputAnnotation.g.cs @@ -0,0 +1,77 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksUpdateRequestOutputAnnotation + { + /// + /// The path of the file to add an annotation to. For example, `assets/css/main.css`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// The start line of the annotation. Line numbers start at 1. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_line")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int StartLine { get; set; } + + /// + /// The end line of the annotation. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("end_line")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int EndLine { get; set; } + + /// + /// The start column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values. Column numbers start at 1. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_column")] + public int StartColumn { get; set; } + + /// + /// The end column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("end_column")] + public int EndColumn { get; set; } + + /// + /// The level of the annotation. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("annotation_level")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ChecksUpdateRequestOutputAnnotationAnnotationLevelJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.ChecksUpdateRequestOutputAnnotationAnnotationLevel AnnotationLevel { get; set; } + + /// + /// A short description of the feedback for these lines of code. The maximum size is 64 KB. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// The title that represents the annotation. The maximum size is 255 characters. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// Details about this annotation. The maximum size is 64 KB. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("raw_details")] + public string? RawDetails { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutputAnnotationAnnotationLevel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutputAnnotationAnnotationLevel.g.cs new file mode 100644 index 00000000..4357df76 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutputAnnotationAnnotationLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The level of the annotation. + /// + public enum ChecksUpdateRequestOutputAnnotationAnnotationLevel + { + /// + /// + /// + Notice, + /// + /// + /// + Warning, + /// + /// + /// + Failure, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChecksUpdateRequestOutputAnnotationAnnotationLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChecksUpdateRequestOutputAnnotationAnnotationLevel value) + { + return value switch + { + ChecksUpdateRequestOutputAnnotationAnnotationLevel.Notice => "notice", + ChecksUpdateRequestOutputAnnotationAnnotationLevel.Warning => "warning", + ChecksUpdateRequestOutputAnnotationAnnotationLevel.Failure => "failure", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChecksUpdateRequestOutputAnnotationAnnotationLevel? ToEnum(string value) + { + return value switch + { + "notice" => ChecksUpdateRequestOutputAnnotationAnnotationLevel.Notice, + "warning" => ChecksUpdateRequestOutputAnnotationAnnotationLevel.Warning, + "failure" => ChecksUpdateRequestOutputAnnotationAnnotationLevel.Failure, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutputImage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutputImage.g.cs new file mode 100644 index 00000000..5b1e7302 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestOutputImage.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksUpdateRequestOutputImage + { + /// + /// The alternative text for the image. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("alt")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Alt { get; set; } + + /// + /// The full URL of the image. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("image_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ImageUrl { get; set; } + + /// + /// A short image description. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("caption")] + public string? Caption { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestStatus.g.cs new file mode 100644 index 00000000..ae3d22de --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestStatus.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The current status of the check run. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`. + /// + public enum ChecksUpdateRequestStatus + { + /// + /// + /// + Queued, + /// + /// + /// + InProgress, + /// + /// + /// + Completed, + /// + /// + /// + Waiting, + /// + /// + /// + Requested, + /// + /// + /// + Pending, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChecksUpdateRequestStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChecksUpdateRequestStatus value) + { + return value switch + { + ChecksUpdateRequestStatus.Queued => "queued", + ChecksUpdateRequestStatus.InProgress => "in_progress", + ChecksUpdateRequestStatus.Completed => "completed", + ChecksUpdateRequestStatus.Waiting => "waiting", + ChecksUpdateRequestStatus.Requested => "requested", + ChecksUpdateRequestStatus.Pending => "pending", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChecksUpdateRequestStatus? ToEnum(string value) + { + return value switch + { + "queued" => ChecksUpdateRequestStatus.Queued, + "in_progress" => ChecksUpdateRequestStatus.InProgress, + "completed" => ChecksUpdateRequestStatus.Completed, + "waiting" => ChecksUpdateRequestStatus.Waiting, + "requested" => ChecksUpdateRequestStatus.Requested, + "pending" => ChecksUpdateRequestStatus.Pending, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant1.g.cs new file mode 100644 index 00000000..304911d8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant1.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksUpdateRequestVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public global::GitHub.ChecksUpdateRequestVariant1Status? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant1Status.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant1Status.g.cs new file mode 100644 index 00000000..33f20c3b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant1Status.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksUpdateRequestVariant1Status + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant2.g.cs new file mode 100644 index 00000000..0e6ed8a7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant2.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksUpdateRequestVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public global::GitHub.ChecksUpdateRequestVariant2Status? Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant2Status.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant2Status.g.cs new file mode 100644 index 00000000..ca52ec00 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ChecksUpdateRequestVariant2Status.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ChecksUpdateRequestVariant2Status + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningAlertInstanceClassifications.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningAlertInstanceClassifications.g.cs deleted file mode 100644 index b9171e5d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningAlertInstanceClassifications.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// A classification of the file. For example to identify it as generated. - /// - public enum CodeScanningAlertInstanceClassifications - { - /// - /// - /// - Source, - /// - /// - /// - Generated, - /// - /// - /// - Test, - /// - /// - /// - Library, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CodeScanningAlertInstanceClassificationsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CodeScanningAlertInstanceClassifications value) - { - return value switch - { - CodeScanningAlertInstanceClassifications.Source => "source", - CodeScanningAlertInstanceClassifications.Generated => "generated", - CodeScanningAlertInstanceClassifications.Test => "test", - CodeScanningAlertInstanceClassifications.Library => "library", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CodeScanningAlertInstanceClassifications? ToEnum(string value) - { - return value switch - { - "source" => CodeScanningAlertInstanceClassifications.Source, - "generated" => CodeScanningAlertInstanceClassifications.Generated, - "test" => CodeScanningAlertInstanceClassifications.Test, - "library" => CodeScanningAlertInstanceClassifications.Library, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningAlertRule.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningAlertRule.g.cs index a3d3443a..b35a1207 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningAlertRule.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningAlertRule.g.cs @@ -50,7 +50,7 @@ public sealed partial class CodeScanningAlertRule /// A set of tags applicable for the rule. ///
[global::System.Text.Json.Serialization.JsonPropertyName("tags")] - public global::System.Collections.Generic.IList? Tags { get; set; } + public global::System.Collections.Generic.IList? Tags { get; set; } /// /// Detailed documentation for the rule as GitHub Flavored Markdown. diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningAlertRuleSummary.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningAlertRuleSummary.g.cs index a56473e9..28c9206b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningAlertRuleSummary.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningAlertRuleSummary.g.cs @@ -44,7 +44,7 @@ public sealed partial class CodeScanningAlertRuleSummary /// A set of tags applicable for the rule. /// [global::System.Text.Json.Serialization.JsonPropertyName("tags")] - public global::System.Collections.Generic.IList? Tags { get; set; } + public global::System.Collections.Generic.IList? Tags { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequest.g.cs new file mode 100644 index 00000000..e1a3e6c7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequest.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CodeScanningCreateVariantAnalysisRequest + { + /// + /// The language targeted by the CodeQL query + /// + [global::System.Text.Json.Serialization.JsonPropertyName("language")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.CodeScanningVariantAnalysisLanguageJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.CodeScanningVariantAnalysisLanguage Language { get; set; } + + /// + /// A Base64-encoded tarball containing a CodeQL query and all its dependencies + /// + [global::System.Text.Json.Serialization.JsonPropertyName("query_pack")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string QueryPack { get; set; } + + /// + /// List of repository names (in the form `owner/repo-name`) to run the query against. Precisely one property from `repositories`, `repository_lists` and `repository_owners` is required. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories")] + public global::System.Collections.Generic.IList? Repositories { get; set; } + + /// + /// List of repository lists to run the query against. Precisely one property from `repositories`, `repository_lists` and `repository_owners` is required. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_lists")] + public global::System.Collections.Generic.IList? RepositoryLists { get; set; } + + /// + /// List of organization or user names whose repositories the query should be run against. Precisely one property from `repositories`, `repository_lists` and `repository_owners` is required. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_owners")] + public global::System.Collections.Generic.IList? RepositoryOwners { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequestVariant1.g.cs new file mode 100644 index 00000000..578cbc60 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequestVariant1.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CodeScanningCreateVariantAnalysisRequestVariant1 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequestVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequestVariant2.g.cs new file mode 100644 index 00000000..40c353fe --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequestVariant2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CodeScanningCreateVariantAnalysisRequestVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequestVariant3.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequestVariant3.g.cs new file mode 100644 index 00000000..a501efa6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningCreateVariantAnalysisRequestVariant3.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CodeScanningCreateVariantAnalysisRequestVariant3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetup.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetup.g.cs index 09a654a4..cfde3e54 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetup.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetup.g.cs @@ -19,7 +19,7 @@ public sealed partial class CodeScanningDefaultSetup /// Languages to be analyzed. /// [global::System.Text.Json.Serialization.JsonPropertyName("languages")] - public global::System.Collections.Generic.IList? Languages { get; set; } + public global::System.Collections.Generic.IList? Languages { get; set; } /// /// CodeQL query suite to be used. diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupLanguage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupLanguage.g.cs new file mode 100644 index 00000000..a90d7e59 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupLanguage.g.cs @@ -0,0 +1,99 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum CodeScanningDefaultSetupLanguage + { + /// + /// + /// + CCpp, + /// + /// + /// + Csharp, + /// + /// + /// + Go, + /// + /// + /// + JavaKotlin, + /// + /// + /// + JavascriptTypescript, + /// + /// + /// + Javascript, + /// + /// + /// + Python, + /// + /// + /// + Ruby, + /// + /// + /// + Typescript, + /// + /// + /// + Swift, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeScanningDefaultSetupLanguageExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeScanningDefaultSetupLanguage value) + { + return value switch + { + CodeScanningDefaultSetupLanguage.CCpp => "c-cpp", + CodeScanningDefaultSetupLanguage.Csharp => "csharp", + CodeScanningDefaultSetupLanguage.Go => "go", + CodeScanningDefaultSetupLanguage.JavaKotlin => "java-kotlin", + CodeScanningDefaultSetupLanguage.JavascriptTypescript => "javascript-typescript", + CodeScanningDefaultSetupLanguage.Javascript => "javascript", + CodeScanningDefaultSetupLanguage.Python => "python", + CodeScanningDefaultSetupLanguage.Ruby => "ruby", + CodeScanningDefaultSetupLanguage.Typescript => "typescript", + CodeScanningDefaultSetupLanguage.Swift => "swift", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeScanningDefaultSetupLanguage? ToEnum(string value) + { + return value switch + { + "c-cpp" => CodeScanningDefaultSetupLanguage.CCpp, + "csharp" => CodeScanningDefaultSetupLanguage.Csharp, + "go" => CodeScanningDefaultSetupLanguage.Go, + "java-kotlin" => CodeScanningDefaultSetupLanguage.JavaKotlin, + "javascript-typescript" => CodeScanningDefaultSetupLanguage.JavascriptTypescript, + "javascript" => CodeScanningDefaultSetupLanguage.Javascript, + "python" => CodeScanningDefaultSetupLanguage.Python, + "ruby" => CodeScanningDefaultSetupLanguage.Ruby, + "typescript" => CodeScanningDefaultSetupLanguage.Typescript, + "swift" => CodeScanningDefaultSetupLanguage.Swift, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupLanguages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupLanguages.g.cs deleted file mode 100644 index ab748389..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupLanguages.g.cs +++ /dev/null @@ -1,99 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum CodeScanningDefaultSetupLanguages - { - /// - /// - /// - CCpp, - /// - /// - /// - Csharp, - /// - /// - /// - Go, - /// - /// - /// - JavaKotlin, - /// - /// - /// - JavascriptTypescript, - /// - /// - /// - Javascript, - /// - /// - /// - Python, - /// - /// - /// - Ruby, - /// - /// - /// - Typescript, - /// - /// - /// - Swift, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CodeScanningDefaultSetupLanguagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CodeScanningDefaultSetupLanguages value) - { - return value switch - { - CodeScanningDefaultSetupLanguages.CCpp => "c-cpp", - CodeScanningDefaultSetupLanguages.Csharp => "csharp", - CodeScanningDefaultSetupLanguages.Go => "go", - CodeScanningDefaultSetupLanguages.JavaKotlin => "java-kotlin", - CodeScanningDefaultSetupLanguages.JavascriptTypescript => "javascript-typescript", - CodeScanningDefaultSetupLanguages.Javascript => "javascript", - CodeScanningDefaultSetupLanguages.Python => "python", - CodeScanningDefaultSetupLanguages.Ruby => "ruby", - CodeScanningDefaultSetupLanguages.Typescript => "typescript", - CodeScanningDefaultSetupLanguages.Swift => "swift", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CodeScanningDefaultSetupLanguages? ToEnum(string value) - { - return value switch - { - "c-cpp" => CodeScanningDefaultSetupLanguages.CCpp, - "csharp" => CodeScanningDefaultSetupLanguages.Csharp, - "go" => CodeScanningDefaultSetupLanguages.Go, - "java-kotlin" => CodeScanningDefaultSetupLanguages.JavaKotlin, - "javascript-typescript" => CodeScanningDefaultSetupLanguages.JavascriptTypescript, - "javascript" => CodeScanningDefaultSetupLanguages.Javascript, - "python" => CodeScanningDefaultSetupLanguages.Python, - "ruby" => CodeScanningDefaultSetupLanguages.Ruby, - "typescript" => CodeScanningDefaultSetupLanguages.Typescript, - "swift" => CodeScanningDefaultSetupLanguages.Swift, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupUpdate.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupUpdate.g.cs index 0e30d939..6c016619 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupUpdate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupUpdate.g.cs @@ -26,7 +26,7 @@ public sealed partial class CodeScanningDefaultSetupUpdate /// CodeQL languages to be analyzed. /// [global::System.Text.Json.Serialization.JsonPropertyName("languages")] - public global::System.Collections.Generic.IList? Languages { get; set; } + public global::System.Collections.Generic.IList? Languages { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupUpdateLanguage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupUpdateLanguage.g.cs new file mode 100644 index 00000000..09ecf102 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupUpdateLanguage.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum CodeScanningDefaultSetupUpdateLanguage + { + /// + /// + /// + CCpp, + /// + /// + /// + Csharp, + /// + /// + /// + Go, + /// + /// + /// + JavaKotlin, + /// + /// + /// + JavascriptTypescript, + /// + /// + /// + Python, + /// + /// + /// + Ruby, + /// + /// + /// + Swift, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeScanningDefaultSetupUpdateLanguageExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeScanningDefaultSetupUpdateLanguage value) + { + return value switch + { + CodeScanningDefaultSetupUpdateLanguage.CCpp => "c-cpp", + CodeScanningDefaultSetupUpdateLanguage.Csharp => "csharp", + CodeScanningDefaultSetupUpdateLanguage.Go => "go", + CodeScanningDefaultSetupUpdateLanguage.JavaKotlin => "java-kotlin", + CodeScanningDefaultSetupUpdateLanguage.JavascriptTypescript => "javascript-typescript", + CodeScanningDefaultSetupUpdateLanguage.Python => "python", + CodeScanningDefaultSetupUpdateLanguage.Ruby => "ruby", + CodeScanningDefaultSetupUpdateLanguage.Swift => "swift", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeScanningDefaultSetupUpdateLanguage? ToEnum(string value) + { + return value switch + { + "c-cpp" => CodeScanningDefaultSetupUpdateLanguage.CCpp, + "csharp" => CodeScanningDefaultSetupUpdateLanguage.Csharp, + "go" => CodeScanningDefaultSetupUpdateLanguage.Go, + "java-kotlin" => CodeScanningDefaultSetupUpdateLanguage.JavaKotlin, + "javascript-typescript" => CodeScanningDefaultSetupUpdateLanguage.JavascriptTypescript, + "python" => CodeScanningDefaultSetupUpdateLanguage.Python, + "ruby" => CodeScanningDefaultSetupUpdateLanguage.Ruby, + "swift" => CodeScanningDefaultSetupUpdateLanguage.Swift, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupUpdateLanguages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupUpdateLanguages.g.cs deleted file mode 100644 index ee3194a6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningDefaultSetupUpdateLanguages.g.cs +++ /dev/null @@ -1,87 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum CodeScanningDefaultSetupUpdateLanguages - { - /// - /// - /// - CCpp, - /// - /// - /// - Csharp, - /// - /// - /// - Go, - /// - /// - /// - JavaKotlin, - /// - /// - /// - JavascriptTypescript, - /// - /// - /// - Python, - /// - /// - /// - Ruby, - /// - /// - /// - Swift, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CodeScanningDefaultSetupUpdateLanguagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CodeScanningDefaultSetupUpdateLanguages value) - { - return value switch - { - CodeScanningDefaultSetupUpdateLanguages.CCpp => "c-cpp", - CodeScanningDefaultSetupUpdateLanguages.Csharp => "csharp", - CodeScanningDefaultSetupUpdateLanguages.Go => "go", - CodeScanningDefaultSetupUpdateLanguages.JavaKotlin => "java-kotlin", - CodeScanningDefaultSetupUpdateLanguages.JavascriptTypescript => "javascript-typescript", - CodeScanningDefaultSetupUpdateLanguages.Python => "python", - CodeScanningDefaultSetupUpdateLanguages.Ruby => "ruby", - CodeScanningDefaultSetupUpdateLanguages.Swift => "swift", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CodeScanningDefaultSetupUpdateLanguages? ToEnum(string value) - { - return value switch - { - "c-cpp" => CodeScanningDefaultSetupUpdateLanguages.CCpp, - "csharp" => CodeScanningDefaultSetupUpdateLanguages.Csharp, - "go" => CodeScanningDefaultSetupUpdateLanguages.Go, - "java-kotlin" => CodeScanningDefaultSetupUpdateLanguages.JavaKotlin, - "javascript-typescript" => CodeScanningDefaultSetupUpdateLanguages.JavascriptTypescript, - "python" => CodeScanningDefaultSetupUpdateLanguages.Python, - "ruby" => CodeScanningDefaultSetupUpdateLanguages.Ruby, - "swift" => CodeScanningDefaultSetupUpdateLanguages.Swift, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningGetAnalysisResponse2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningGetAnalysisResponse2.g.cs new file mode 100644 index 00000000..2b765582 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningGetAnalysisResponse2.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CodeScanningGetAnalysisResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + public string? Code { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("documentation_url")] + public string? DocumentationUrl { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForOrgSeverity.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForOrgSeverity.g.cs deleted file mode 100644 index 2f2bc3d1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForOrgSeverity.g.cs +++ /dev/null @@ -1,81 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Severity of a code scanning alert. - /// - public enum CodeScanningListAlertsForOrgSeverity - { - /// - /// - /// - Critical, - /// - /// - /// - High, - /// - /// - /// - Medium, - /// - /// - /// - Low, - /// - /// - /// - Warning, - /// - /// - /// - Note, - /// - /// - /// - Error, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CodeScanningListAlertsForOrgSeverityExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CodeScanningListAlertsForOrgSeverity value) - { - return value switch - { - CodeScanningListAlertsForOrgSeverity.Critical => "critical", - CodeScanningListAlertsForOrgSeverity.High => "high", - CodeScanningListAlertsForOrgSeverity.Medium => "medium", - CodeScanningListAlertsForOrgSeverity.Low => "low", - CodeScanningListAlertsForOrgSeverity.Warning => "warning", - CodeScanningListAlertsForOrgSeverity.Note => "note", - CodeScanningListAlertsForOrgSeverity.Error => "error", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CodeScanningListAlertsForOrgSeverity? ToEnum(string value) - { - return value switch - { - "critical" => CodeScanningListAlertsForOrgSeverity.Critical, - "high" => CodeScanningListAlertsForOrgSeverity.High, - "medium" => CodeScanningListAlertsForOrgSeverity.Medium, - "low" => CodeScanningListAlertsForOrgSeverity.Low, - "warning" => CodeScanningListAlertsForOrgSeverity.Warning, - "note" => CodeScanningListAlertsForOrgSeverity.Note, - "error" => CodeScanningListAlertsForOrgSeverity.Error, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForOrgState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForOrgState.g.cs deleted file mode 100644 index f5d9c433..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForOrgState.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// State of a code scanning alert. - /// - public enum CodeScanningListAlertsForOrgState - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Dismissed, - /// - /// - /// - Fixed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CodeScanningListAlertsForOrgStateExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CodeScanningListAlertsForOrgState value) - { - return value switch - { - CodeScanningListAlertsForOrgState.Open => "open", - CodeScanningListAlertsForOrgState.Closed => "closed", - CodeScanningListAlertsForOrgState.Dismissed => "dismissed", - CodeScanningListAlertsForOrgState.Fixed => "fixed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CodeScanningListAlertsForOrgState? ToEnum(string value) - { - return value switch - { - "open" => CodeScanningListAlertsForOrgState.Open, - "closed" => CodeScanningListAlertsForOrgState.Closed, - "dismissed" => CodeScanningListAlertsForOrgState.Dismissed, - "fixed" => CodeScanningListAlertsForOrgState.Fixed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForRepoSeverity.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForRepoSeverity.g.cs deleted file mode 100644 index 93fed76a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForRepoSeverity.g.cs +++ /dev/null @@ -1,81 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Severity of a code scanning alert. - /// - public enum CodeScanningListAlertsForRepoSeverity - { - /// - /// - /// - Critical, - /// - /// - /// - High, - /// - /// - /// - Medium, - /// - /// - /// - Low, - /// - /// - /// - Warning, - /// - /// - /// - Note, - /// - /// - /// - Error, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CodeScanningListAlertsForRepoSeverityExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CodeScanningListAlertsForRepoSeverity value) - { - return value switch - { - CodeScanningListAlertsForRepoSeverity.Critical => "critical", - CodeScanningListAlertsForRepoSeverity.High => "high", - CodeScanningListAlertsForRepoSeverity.Medium => "medium", - CodeScanningListAlertsForRepoSeverity.Low => "low", - CodeScanningListAlertsForRepoSeverity.Warning => "warning", - CodeScanningListAlertsForRepoSeverity.Note => "note", - CodeScanningListAlertsForRepoSeverity.Error => "error", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CodeScanningListAlertsForRepoSeverity? ToEnum(string value) - { - return value switch - { - "critical" => CodeScanningListAlertsForRepoSeverity.Critical, - "high" => CodeScanningListAlertsForRepoSeverity.High, - "medium" => CodeScanningListAlertsForRepoSeverity.Medium, - "low" => CodeScanningListAlertsForRepoSeverity.Low, - "warning" => CodeScanningListAlertsForRepoSeverity.Warning, - "note" => CodeScanningListAlertsForRepoSeverity.Note, - "error" => CodeScanningListAlertsForRepoSeverity.Error, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForRepoState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForRepoState.g.cs deleted file mode 100644 index 4bd0228a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningListAlertsForRepoState.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// State of a code scanning alert. - /// - public enum CodeScanningListAlertsForRepoState - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Dismissed, - /// - /// - /// - Fixed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class CodeScanningListAlertsForRepoStateExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this CodeScanningListAlertsForRepoState value) - { - return value switch - { - CodeScanningListAlertsForRepoState.Open => "open", - CodeScanningListAlertsForRepoState.Closed => "closed", - CodeScanningListAlertsForRepoState.Dismissed => "dismissed", - CodeScanningListAlertsForRepoState.Fixed => "fixed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static CodeScanningListAlertsForRepoState? ToEnum(string value) - { - return value switch - { - "open" => CodeScanningListAlertsForRepoState.Open, - "closed" => CodeScanningListAlertsForRepoState.Closed, - "dismissed" => CodeScanningListAlertsForRepoState.Dismissed, - "fixed" => CodeScanningListAlertsForRepoState.Fixed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningSarifsStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningSarifsStatus.g.cs index 7a80d226..0118667e 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningSarifsStatus.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningSarifsStatus.g.cs @@ -25,7 +25,7 @@ public sealed partial class CodeScanningSarifsStatus /// Any errors that ocurred during processing of the delivery. /// [global::System.Text.Json.Serialization.JsonPropertyName("errors")] - public global::System.Collections.Generic.IList? Errors { get; set; } + public global::System.Collections.Generic.IList? Errors { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysis.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysis.g.cs index 20327c9b..dd8994cc 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysis.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysis.g.cs @@ -66,9 +66,9 @@ public sealed partial class CodeScanningVariantAnalysis /// /// [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.CodeScanningVariantAnalysisStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.CodeScanningVariantAnalysisStatus2JsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.CodeScanningVariantAnalysisStatus Status { get; set; } + public required global::GitHub.CodeScanningVariantAnalysisStatus2 Status { get; set; } /// /// The GitHub Actions workflow run used to execute this variant analysis. This is only available if the workflow run has started. @@ -87,7 +87,7 @@ public sealed partial class CodeScanningVariantAnalysis /// /// [global::System.Text.Json.Serialization.JsonPropertyName("scanned_repositories")] - public global::System.Collections.Generic.IList? ScannedRepositories { get; set; } + public global::System.Collections.Generic.IList? ScannedRepositories { get; set; } /// /// Information about repositories that were skipped from processing. This information is only available to the user that initiated the variant analysis. diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysisScannedRepositorie.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysisScannedRepositorie.g.cs new file mode 100644 index 00000000..f58e2d2a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysisScannedRepositorie.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CodeScanningVariantAnalysisScannedRepositorie + { + /// + /// Repository Identifier + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.CodeScanningVariantAnalysisRepository Repository { get; set; } + + /// + /// The new status of the CodeQL variant analysis repository task. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("analysis_status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.CodeScanningVariantAnalysisStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.CodeScanningVariantAnalysisStatus AnalysisStatus { get; set; } + + /// + /// The number of results in the case of a successful analysis. This is only available for successful analyses. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("result_count")] + public int ResultCount { get; set; } + + /// + /// The size of the artifact. This is only available for successful analyses. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("artifact_size_in_bytes")] + public int ArtifactSizeInBytes { get; set; } + + /// + /// The reason of the failure of this repo task. This is only available if the repository task has failed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("failure_message")] + public string? FailureMessage { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysisScannedRepositories.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysisScannedRepositories.g.cs deleted file mode 100644 index a3a0e04b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysisScannedRepositories.g.cs +++ /dev/null @@ -1,50 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CodeScanningVariantAnalysisScannedRepositories - { - /// - /// Repository Identifier - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.CodeScanningVariantAnalysisRepository Repository { get; set; } - - /// - /// The new status of the CodeQL variant analysis repository task. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("analysis_status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.CodeScanningVariantAnalysisStatusJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.CodeScanningVariantAnalysisStatus AnalysisStatus { get; set; } - - /// - /// The number of results in the case of a successful analysis. This is only available for successful analyses. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("result_count")] - public int ResultCount { get; set; } - - /// - /// The size of the artifact. This is only available for successful analyses. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("artifact_size_in_bytes")] - public int ArtifactSizeInBytes { get; set; } - - /// - /// The reason of the failure of this repo task. This is only available if the repository task has failed. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("failure_message")] - public string? FailureMessage { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysisStatus2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysisStatus2.g.cs new file mode 100644 index 00000000..362170f1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeScanningVariantAnalysisStatus2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum CodeScanningVariantAnalysisStatus2 + { + /// + /// + /// + InProgress, + /// + /// + /// + Succeeded, + /// + /// + /// + Failed, + /// + /// + /// + Cancelled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeScanningVariantAnalysisStatus2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeScanningVariantAnalysisStatus2 value) + { + return value switch + { + CodeScanningVariantAnalysisStatus2.InProgress => "in_progress", + CodeScanningVariantAnalysisStatus2.Succeeded => "succeeded", + CodeScanningVariantAnalysisStatus2.Failed => "failed", + CodeScanningVariantAnalysisStatus2.Cancelled => "cancelled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeScanningVariantAnalysisStatus2? ToEnum(string value) + { + return value switch + { + "in_progress" => CodeScanningVariantAnalysisStatus2.InProgress, + "succeeded" => CodeScanningVariantAnalysisStatus2.Succeeded, + "failed" => CodeScanningVariantAnalysisStatus2.Failed, + "cancelled" => CodeScanningVariantAnalysisStatus2.Cancelled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeSearchResultItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeSearchResultItem.g.cs index e44ab2a6..f8088097 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeSearchResultItem.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeSearchResultItem.g.cs @@ -86,13 +86,13 @@ public sealed partial class CodeSearchResultItem /// Example: [73..77, 77..78] /// [global::System.Text.Json.Serialization.JsonPropertyName("line_numbers")] - public global::System.Collections.Generic.IList? LineNumbers { get; set; } + public global::System.Collections.Generic.IList? LineNumbers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("text_matches")] - public global::System.Collections.Generic.IList? TextMatches { get; set; } + public global::System.Collections.Generic.IList? TextMatches { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeSearchResultItemTextMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeSearchResultItemTextMatches.g.cs deleted file mode 100644 index df823af9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeSearchResultItemTextMatches.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CodeSearchResultItemTextMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_url")] - public string? ObjectUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_type")] - public string? ObjectType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("property")] - public string? Property { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("fragment")] - public string? Fragment { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("matches")] - public global::System.Collections.Generic.IList? Matches { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeSearchResultItemTextMatchesMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeSearchResultItemTextMatchesMatches.g.cs deleted file mode 100644 index afc2d961..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeSearchResultItemTextMatchesMatches.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CodeSearchResultItemTextMatchesMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("text")] - public string? Text { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("indices")] - public global::System.Collections.Generic.IList? Indices { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeSecurityDefaultConfiguration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeSecurityDefaultConfiguration.g.cs new file mode 100644 index 00000000..5018dd03 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeSecurityDefaultConfiguration.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CodeSecurityDefaultConfiguration + { + /// + /// The visibility of newly created repositories for which the code security configuration will be applied to by default + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default_for_new_repos")] + public global::GitHub.CodeSecurityDefaultConfigurationDefaultForNewRepos? DefaultForNewRepos { get; set; } + + /// + /// A code security configuration + /// + [global::System.Text.Json.Serialization.JsonPropertyName("configuration")] + public global::GitHub.CodeSecurityConfiguration? Configuration { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.cs new file mode 100644 index 00000000..10d6da15 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeSecurityDefaultConfigurationDefaultForNewRepos.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The visibility of newly created repositories for which the code security configuration will be applied to by default + /// + public sealed partial class CodeSecurityDefaultConfigurationDefaultForNewRepos + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeSecurityDefaultConfigurations.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeSecurityDefaultConfigurations.g.cs deleted file mode 100644 index d8d18ac3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeSecurityDefaultConfigurations.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CodeSecurityDefaultConfigurations - { - /// - /// The visibility of newly created repositories for which the code security configuration will be applied to by default - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default_for_new_repos")] - public object? DefaultForNewRepos { get; set; } - - /// - /// A code security configuration - /// - [global::System.Text.Json.Serialization.JsonPropertyName("configuration")] - public global::GitHub.CodeSecurityConfiguration? Configuration { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeSecurityGetDefaultConfigurationsResponse.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeSecurityGetDefaultConfigurationsResponse.g.cs deleted file mode 100644 index c68d2b32..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeSecurityGetDefaultConfigurationsResponse.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CodeSecurityGetDefaultConfigurationsResponse - { - /// - /// The visibility of newly created repositories for which the code security configuration will be applied to by default - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default_for_new_repos")] - public object? DefaultForNewRepos { get; set; } - - /// - /// A code security configuration - /// - [global::System.Text.Json.Serialization.JsonPropertyName("configuration")] - public global::GitHub.CodeSecurityConfiguration? Configuration { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeownersErrors.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeownersErrors.g.cs index d72e5f40..c58dc28c 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeownersErrors.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeownersErrors.g.cs @@ -13,7 +13,7 @@ public sealed partial class CodeownersErrors /// [global::System.Text.Json.Serialization.JsonPropertyName("errors")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Errors { get; set; } + public required global::System.Collections.Generic.IList Errors { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeownersErrorsError.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeownersErrorsError.g.cs new file mode 100644 index 00000000..6f593fc0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CodeownersErrorsError.g.cs @@ -0,0 +1,73 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CodeownersErrorsError + { + /// + /// The line number where this errors occurs.
+ /// Example: 7 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("line")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Line { get; set; } + + /// + /// The column number where this errors occurs.
+ /// Example: 3 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("column")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Column { get; set; } + + /// + /// The contents of the line where the error occurs.
+ /// Example: * user + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("source")] + public string? Source { get; set; } + + /// + /// The type of error.
+ /// Example: Invalid owner + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("kind")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Kind { get; set; } + + /// + /// Suggested action to fix the error. This will usually be `null`, but is provided for some common errors.
+ /// Example: The pattern `/` will never match anything, did you mean `*` instead? + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("suggestion")] + public string? Suggestion { get; set; } + + /// + /// A human-readable description of the error, combining information from multiple fields, laid out for display in a monospaced typeface (for example, a command-line setting).
+ /// Example: Invalid owner on line 7:
+ /// * user
+ /// ^ + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// The path of the file where the error occured.
+ /// Example: .github/CODEOWNERS + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodeownersErrorsErrors.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodeownersErrorsErrors.g.cs deleted file mode 100644 index 98d52c6b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodeownersErrorsErrors.g.cs +++ /dev/null @@ -1,73 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CodeownersErrorsErrors - { - /// - /// The line number where this errors occurs.
- /// Example: 7 - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("line")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Line { get; set; } - - /// - /// The column number where this errors occurs.
- /// Example: 3 - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("column")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Column { get; set; } - - /// - /// The contents of the line where the error occurs.
- /// Example: * user - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("source")] - public string? Source { get; set; } - - /// - /// The type of error.
- /// Example: Invalid owner - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("kind")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Kind { get; set; } - - /// - /// Suggested action to fix the error. This will usually be `null`, but is provided for some common errors.
- /// Example: The pattern `/` will never match anything, did you mean `*` instead? - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("suggestion")] - public string? Suggestion { get; set; } - - /// - /// A human-readable description of the error, combining information from multiple fields, laid out for display in a monospaced typeface (for example, a command-line setting).
- /// Example: Invalid owner on line 7:
- /// * user
- /// ^ - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("message")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Message { get; set; } - - /// - /// The path of the file where the error occured.
- /// Example: .github/CODEOWNERS - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodespaceRuntimeConstraints.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodespaceRuntimeConstraints.g.cs index 317a205c..67044d97 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodespaceRuntimeConstraints.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodespaceRuntimeConstraints.g.cs @@ -12,7 +12,7 @@ public sealed partial class CodespaceRuntimeConstraints /// The privacy settings a user can select from when forwarding a port. ///
[global::System.Text.Json.Serialization.JsonPropertyName("allowed_port_privacy_settings")] - public global::System.Collections.Generic.IList? AllowedPortPrivacySettings { get; set; } + public global::System.Collections.Generic.IList? AllowedPortPrivacySettings { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodespaceWithFullRepositoryRuntimeConstraints.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodespaceWithFullRepositoryRuntimeConstraints.g.cs index 6a819e13..044a2fa7 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodespaceWithFullRepositoryRuntimeConstraints.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodespaceWithFullRepositoryRuntimeConstraints.g.cs @@ -12,7 +12,7 @@ public sealed partial class CodespaceWithFullRepositoryRuntimeConstraints /// The privacy settings a user can select from when forwarding a port. /// [global::System.Text.Json.Serialization.JsonPropertyName("allowed_port_privacy_settings")] - public global::System.Collections.Generic.IList? AllowedPortPrivacySettings { get; set; } + public global::System.Collections.Generic.IList? AllowedPortPrivacySettings { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodespacesCreateOrUpdateSecretForAuthenticatedUserRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodespacesCreateOrUpdateSecretForAuthenticatedUserRequest.g.cs index 46326cf2..84585768 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodespacesCreateOrUpdateSecretForAuthenticatedUserRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodespacesCreateOrUpdateSecretForAuthenticatedUserRequest.g.cs @@ -27,7 +27,7 @@ public sealed partial class CodespacesCreateOrUpdateSecretForAuthenticatedUserRe /// An array of repository ids that can access the user secret. You can manage the list of selected repositories using the [List selected repositories for a user secret](https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret), [Set selected repositories for a user secret](https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret), and [Remove a selected repository from a user secret](https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret) endpoints. /// [global::System.Text.Json.Serialization.JsonPropertyName("selected_repository_ids")] - public global::System.Collections.Generic.IList?>? SelectedRepositoryIds { get; set; } + public global::System.Collections.Generic.IList>? SelectedRepositoryIds { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponse.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponse.g.cs index f6e4c9ac..f7a64eb6 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponse.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponse.g.cs @@ -20,7 +20,7 @@ public sealed partial class CodespacesListDevcontainersInRepositoryForAuthentica /// [global::System.Text.Json.Serialization.JsonPropertyName("devcontainers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Devcontainers { get; set; } + public required global::System.Collections.Generic.IList Devcontainers { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponseDevcontainer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponseDevcontainer.g.cs new file mode 100644 index 00000000..9a49162c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponseDevcontainer.g.cs @@ -0,0 +1,36 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponseDevcontainer + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("display_name")] + public string? DisplayName { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponseDevcontainers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponseDevcontainers.g.cs deleted file mode 100644 index a9a1e022..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponseDevcontainers.g.cs +++ /dev/null @@ -1,36 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponseDevcontainers - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("display_name")] - public string? DisplayName { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodespacesSetCodespacesAccessRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodespacesSetCodespacesAccessRequest.g.cs index da021c1f..c63e6346 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodespacesSetCodespacesAccessRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodespacesSetCodespacesAccessRequest.g.cs @@ -20,7 +20,7 @@ public sealed partial class CodespacesSetCodespacesAccessRequest /// The usernames of the organization members who should have access to codespaces in the organization. Required when `visibility` is `selected_members`. The provided list of usernames will replace any existing value. /// [global::System.Text.Json.Serialization.JsonPropertyName("selected_usernames")] - public global::System.Collections.Generic.IList? SelectedUsernames { get; set; } + public global::System.Collections.Generic.IList? SelectedUsernames { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.CodespacesUpdateForAuthenticatedUserRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CodespacesUpdateForAuthenticatedUserRequest.g.cs index 599e0ff9..d8ec4c5b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CodespacesUpdateForAuthenticatedUserRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CodespacesUpdateForAuthenticatedUserRequest.g.cs @@ -24,7 +24,7 @@ public sealed partial class CodespacesUpdateForAuthenticatedUserRequest /// Recently opened folders inside the codespace. It is currently used by the clients to determine the folder path to load the codespace in. /// [global::System.Text.Json.Serialization.JsonPropertyName("recent_folders")] - public global::System.Collections.Generic.IList? RecentFolders { get; set; } + public global::System.Collections.Generic.IList? RecentFolders { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.Commit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Commit.g.cs index cca93720..b4abf7ad 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Commit.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Commit.g.cs @@ -50,7 +50,7 @@ public sealed partial class Commit /// [global::System.Text.Json.Serialization.JsonPropertyName("commit")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.CommitCommit Commit1 { get; set; } + public required global::GitHub.CommitCommit1 Commit1 { get; set; } /// /// @@ -73,7 +73,7 @@ public sealed partial class Commit /// [global::System.Text.Json.Serialization.JsonPropertyName("parents")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Parents { get; set; } + public required global::System.Collections.Generic.IList Parents { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.CommitCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CommitCommit.g.cs deleted file mode 100644 index 46ac7777..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CommitCommit.g.cs +++ /dev/null @@ -1,65 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CommitCommit - { - /// - /// Example: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Metaproperties for Git author/committer information. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("author")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.NullableGitUser? Author { get; set; } - - /// - /// Metaproperties for Git author/committer information. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("committer")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.NullableGitUser? Committer { get; set; } - - /// - /// Example: Fix all the bugs - /// - [global::System.Text.Json.Serialization.JsonPropertyName("message")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Message { get; set; } - - /// - /// Example: 0 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("comment_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int CommentCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("tree")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.CommitCommitTree Tree { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("verification")] - public global::GitHub.Verification? Verification { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CommitCommit1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CommitCommit1.g.cs new file mode 100644 index 00000000..814ce8ce --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CommitCommit1.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CommitCommit1 + { + /// + /// Example: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Metaproperties for Git author/committer information. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("author")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.NullableGitUser? Author { get; set; } + + /// + /// Metaproperties for Git author/committer information. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("committer")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.NullableGitUser? Committer { get; set; } + + /// + /// Example: Fix all the bugs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// Example: 0 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comment_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int CommentCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tree")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.CommitCommit1Tree Tree { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("verification")] + public global::GitHub.Verification? Verification { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CommitCommit1Tree.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CommitCommit1Tree.g.cs new file mode 100644 index 00000000..039906de --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CommitCommit1Tree.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CommitCommit1Tree + { + /// + /// Example: 827efc6d56897b048c772eb4087f854f46256132 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Example: https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CommitCommitTree.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CommitCommitTree.g.cs deleted file mode 100644 index 35864ec4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CommitCommitTree.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CommitCommitTree - { - /// - /// Example: 827efc6d56897b048c772eb4087f854f46256132 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Example: https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CommitParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CommitParent.g.cs new file mode 100644 index 00000000..3ad08aa8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CommitParent.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CommitParent + { + /// + /// Example: 7638417db6d59f3c431d3e1f261cc637155684cd + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Example: https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Example: https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CommitParents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CommitParents.g.cs deleted file mode 100644 index 7ae27563..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CommitParents.g.cs +++ /dev/null @@ -1,37 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CommitParents - { - /// - /// Example: 7638417db6d59f3c431d3e1f261cc637155684cd - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Example: https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Example: https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItem.g.cs index fd4ae97a..9bf3dc7e 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItem.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItem.g.cs @@ -62,7 +62,7 @@ public sealed partial class CommitSearchResultItem /// [global::System.Text.Json.Serialization.JsonPropertyName("parents")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Parents { get; set; } + public required global::System.Collections.Generic.IList Parents { get; set; } /// /// Minimal Repository @@ -89,7 +89,7 @@ public sealed partial class CommitSearchResultItem /// /// [global::System.Text.Json.Serialization.JsonPropertyName("text_matches")] - public global::System.Collections.Generic.IList? TextMatches { get; set; } + public global::System.Collections.Generic.IList? TextMatches { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemParent.g.cs new file mode 100644 index 00000000..9db6778c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemParent.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class CommitSearchResultItemParent + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + public string? Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemParents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemParents.g.cs deleted file mode 100644 index d9315d82..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemParents.g.cs +++ /dev/null @@ -1,35 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CommitSearchResultItemParents - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - public string? Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemTextMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemTextMatches.g.cs deleted file mode 100644 index 280e3816..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemTextMatches.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CommitSearchResultItemTextMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_url")] - public string? ObjectUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_type")] - public string? ObjectType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("property")] - public string? Property { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("fragment")] - public string? Fragment { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("matches")] - public global::System.Collections.Generic.IList? Matches { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemTextMatchesMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemTextMatchesMatches.g.cs deleted file mode 100644 index 41bf0f3a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CommitSearchResultItemTextMatchesMatches.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class CommitSearchResultItemTextMatchesMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("text")] - public string? Text { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("indices")] - public global::System.Collections.Generic.IList? Indices { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContentDirectory.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContentDirectory.g.cs deleted file mode 100644 index ff602c66..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ContentDirectory.g.cs +++ /dev/null @@ -1,94 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ContentDirectory - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ContentDirectoryTypeJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.ContentDirectoryType Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("size")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Size { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content")] - public string? Content { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("git_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? GitUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("download_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? DownloadUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("_links")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.ContentDirectoryLinks Links { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryItem.g.cs new file mode 100644 index 00000000..6cf27c34 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryItem.g.cs @@ -0,0 +1,94 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ContentDirectoryItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ContentDirectoryItemTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.ContentDirectoryItemType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Size { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content")] + public string? Content { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("git_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? GitUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("download_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? DownloadUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("_links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.ContentDirectoryItemLinks Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryItemLinks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryItemLinks.g.cs new file mode 100644 index 00000000..06812395 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryItemLinks.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ContentDirectoryItemLinks + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("git")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Git { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Html { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("self")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Self { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryItemType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryItemType.g.cs new file mode 100644 index 00000000..d1cbc979 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryItemType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum ContentDirectoryItemType + { + /// + /// + /// + Dir, + /// + /// + /// + File, + /// + /// + /// + Submodule, + /// + /// + /// + Symlink, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ContentDirectoryItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ContentDirectoryItemType value) + { + return value switch + { + ContentDirectoryItemType.Dir => "dir", + ContentDirectoryItemType.File => "file", + ContentDirectoryItemType.Submodule => "submodule", + ContentDirectoryItemType.Symlink => "symlink", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ContentDirectoryItemType? ToEnum(string value) + { + return value switch + { + "dir" => ContentDirectoryItemType.Dir, + "file" => ContentDirectoryItemType.File, + "submodule" => ContentDirectoryItemType.Submodule, + "symlink" => ContentDirectoryItemType.Symlink, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryLinks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryLinks.g.cs deleted file mode 100644 index 220838fb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryLinks.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ContentDirectoryLinks - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("git")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Git { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Html { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("self")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Self { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryType.g.cs deleted file mode 100644 index 0bf4b5cd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ContentDirectoryType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum ContentDirectoryType - { - /// - /// - /// - Dir, - /// - /// - /// - File, - /// - /// - /// - Submodule, - /// - /// - /// - Symlink, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ContentDirectoryTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ContentDirectoryType value) - { - return value switch - { - ContentDirectoryType.Dir => "dir", - ContentDirectoryType.File => "file", - ContentDirectoryType.Submodule => "submodule", - ContentDirectoryType.Symlink => "symlink", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ContentDirectoryType? ToEnum(string value) - { - return value switch - { - "dir" => ContentDirectoryType.Dir, - "file" => ContentDirectoryType.File, - "submodule" => ContentDirectoryType.Submodule, - "symlink" => ContentDirectoryType.Symlink, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContentTree.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContentTree.g.cs index 151c3147..6ee5f92a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ContentTree.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ContentTree.g.cs @@ -75,7 +75,7 @@ public sealed partial class ContentTree /// /// [global::System.Text.Json.Serialization.JsonPropertyName("entries")] - public global::System.Collections.Generic.IList? Entries { get; set; } + public global::System.Collections.Generic.IList? Entries { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntrie.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntrie.g.cs new file mode 100644 index 00000000..840457c1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntrie.g.cs @@ -0,0 +1,93 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ContentTreeEntrie + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Size { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content")] + public string? Content { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("git_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? GitUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("download_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? DownloadUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("_links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.ContentTreeEntrieLinks Links { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntrieLinks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntrieLinks.g.cs new file mode 100644 index 00000000..eac920d4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntrieLinks.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ContentTreeEntrieLinks + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("git")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Git { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Html { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("self")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Self { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntries.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntries.g.cs deleted file mode 100644 index d669d2d7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntries.g.cs +++ /dev/null @@ -1,93 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ContentTreeEntries - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("size")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Size { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content")] - public string? Content { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("git_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? GitUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("download_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? DownloadUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("_links")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.ContentTreeEntriesLinks Links { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntriesLinks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntriesLinks.g.cs deleted file mode 100644 index 5f19347d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ContentTreeEntriesLinks.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ContentTreeEntriesLinks - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("git")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Git { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Html { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("self")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Self { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContributorActivity.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContributorActivity.g.cs index f974158f..767603b9 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ContributorActivity.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ContributorActivity.g.cs @@ -27,7 +27,7 @@ public sealed partial class ContributorActivity /// [global::System.Text.Json.Serialization.JsonPropertyName("weeks")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Weeks { get; set; } + public required global::System.Collections.Generic.IList Weeks { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContributorActivityWeek.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContributorActivityWeek.g.cs new file mode 100644 index 00000000..016419f3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ContributorActivityWeek.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ContributorActivityWeek + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("w")] + public int W { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("a")] + public int A { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("d")] + public int D { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("c")] + public int C { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ContributorActivityWeeks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ContributorActivityWeeks.g.cs deleted file mode 100644 index 0813d727..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ContributorActivityWeeks.g.cs +++ /dev/null @@ -1,41 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ContributorActivityWeeks - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("w")] - public int W { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("a")] - public int A { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("d")] - public int D { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("c")] - public int C { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CopilotSeatDetails.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CopilotSeatDetails.g.cs index 72caa82e..33f9504b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CopilotSeatDetails.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CopilotSeatDetails.g.cs @@ -16,14 +16,14 @@ public sealed partial class CopilotSeatDetails [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory1))] [global::System.Text.Json.Serialization.JsonRequired] - public required object Assignee { get; set; } + public required global::System.OneOf Assignee { get; set; } /// /// The organization to which this seat belongs. /// [global::System.Text.Json.Serialization.JsonPropertyName("organization")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory1))] - public object? Organization { get; set; } + public global::System.OneOf? Organization { get; set; } /// /// The team through which the assignee is granted access to GitHub Copilot, if applicable. diff --git a/src/libs/GitHub/Generated/GitHub.Models.CopilotSeatDetailsAssignee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CopilotSeatDetailsAssignee.g.cs deleted file mode 100644 index 08f2d6eb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CopilotSeatDetailsAssignee.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The assignee that has been granted access to GitHub Copilot. - /// - public sealed partial class CopilotSeatDetailsAssignee - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CopilotSeatDetailsOrganization.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CopilotSeatDetailsOrganization.g.cs deleted file mode 100644 index 7353b6de..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CopilotSeatDetailsOrganization.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The organization to which this seat belongs. - /// - public sealed partial class CopilotSeatDetailsOrganization - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CopilotUsageMetrics.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CopilotUsageMetrics.g.cs index e427dd0a..277260de 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CopilotUsageMetrics.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CopilotUsageMetrics.g.cs @@ -68,7 +68,7 @@ public sealed partial class CopilotUsageMetrics /// [global::System.Text.Json.Serialization.JsonPropertyName("breakdown")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList? Breakdown { get; set; } + public required global::System.Collections.Generic.IList? Breakdown { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.CopilotUsageMetricsBreakdown.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CopilotUsageMetricsBreakdown.g.cs deleted file mode 100644 index 978a5318..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.CopilotUsageMetricsBreakdown.g.cs +++ /dev/null @@ -1,59 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Breakdown of Copilot usage by editor for this language - /// - public sealed partial class CopilotUsageMetricsBreakdown - { - /// - /// The language in which Copilot suggestions were shown to users in the specified editor. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("language")] - public string? Language { get; set; } - - /// - /// The editor in which Copilot suggestions were shown to users for the specified language. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("editor")] - public string? Editor { get; set; } - - /// - /// The number of Copilot suggestions shown to users in the editor specified during the day specified. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("suggestions_count")] - public int SuggestionsCount { get; set; } - - /// - /// The number of Copilot suggestions accepted by users in the editor specified during the day specified. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("acceptances_count")] - public int AcceptancesCount { get; set; } - - /// - /// The number of lines of code suggested by Copilot in the editor specified during the day specified. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("lines_suggested")] - public int LinesSuggested { get; set; } - - /// - /// The number of lines of code accepted by users in the editor specified during the day specified. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("lines_accepted")] - public int LinesAccepted { get; set; } - - /// - /// The number of users who were shown Copilot completion suggestions in the editor specified during the day specified. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("active_users")] - public int ActiveUsers { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CopilotUsageMetricsBreakdownItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CopilotUsageMetricsBreakdownItem.g.cs new file mode 100644 index 00000000..d657a3c6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.CopilotUsageMetricsBreakdownItem.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Breakdown of Copilot usage by editor for this language + /// + public sealed partial class CopilotUsageMetricsBreakdownItem + { + /// + /// The language in which Copilot suggestions were shown to users in the specified editor. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("language")] + public string? Language { get; set; } + + /// + /// The editor in which Copilot suggestions were shown to users for the specified language. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("editor")] + public string? Editor { get; set; } + + /// + /// The number of Copilot suggestions shown to users in the editor specified during the day specified. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("suggestions_count")] + public int SuggestionsCount { get; set; } + + /// + /// The number of Copilot suggestions accepted by users in the editor specified during the day specified. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("acceptances_count")] + public int AcceptancesCount { get; set; } + + /// + /// The number of lines of code suggested by Copilot in the editor specified during the day specified. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lines_suggested")] + public int LinesSuggested { get; set; } + + /// + /// The number of lines of code accepted by users in the editor specified during the day specified. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lines_accepted")] + public int LinesAccepted { get; set; } + + /// + /// The number of users who were shown Copilot completion suggestions in the editor specified during the day specified. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("active_users")] + public int ActiveUsers { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.CustomPropertyValue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.CustomPropertyValue.g.cs index 2ab1c44b..a27dcd6a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.CustomPropertyValue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.CustomPropertyValue.g.cs @@ -23,7 +23,7 @@ public sealed partial class CustomPropertyValue [global::System.Text.Json.Serialization.JsonPropertyName("value")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.OneOf>? Value { get; set; } + public required global::System.OneOf?>? Value { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisory.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisory.g.cs index 6800cbeb..7af6131f 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisory.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisory.g.cs @@ -63,21 +63,21 @@ public sealed partial class DependabotAlertSecurityAdvisory /// [global::System.Text.Json.Serialization.JsonPropertyName("cwes")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Cwes { get; set; } + public required global::System.Collections.Generic.IList Cwes { get; set; } /// /// Values that identify this advisory among security information sources. /// [global::System.Text.Json.Serialization.JsonPropertyName("identifiers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Identifiers { get; set; } + public required global::System.Collections.Generic.IList Identifiers { get; set; } /// /// Links to additional advisory information. /// [global::System.Text.Json.Serialization.JsonPropertyName("references")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList References { get; set; } + public required global::System.Collections.Generic.IList References { get; set; } /// /// The time that the advisory was published in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryCwe.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryCwe.g.cs new file mode 100644 index 00000000..4512a980 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryCwe.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// A CWE weakness assigned to the advisory. + /// + public sealed partial class DependabotAlertSecurityAdvisoryCwe + { + /// + /// The unique CWE ID. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cwe_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CweId { get; set; } + + /// + /// The short, plain text name of the CWE. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryCwes.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryCwes.g.cs deleted file mode 100644 index 9d4ebd16..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryCwes.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// A CWE weakness assigned to the advisory. - /// - public sealed partial class DependabotAlertSecurityAdvisoryCwes - { - /// - /// The unique CWE ID. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("cwe_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CweId { get; set; } - - /// - /// The short, plain text name of the CWE. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifier.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifier.g.cs new file mode 100644 index 00000000..7ce37eb1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifier.g.cs @@ -0,0 +1,32 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// An advisory identifier. + /// + public sealed partial class DependabotAlertSecurityAdvisoryIdentifier + { + /// + /// The type of advisory identifier. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertSecurityAdvisoryIdentifierTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.DependabotAlertSecurityAdvisoryIdentifierType Type { get; set; } + + /// + /// The value of the advisory identifer. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifierType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifierType.g.cs new file mode 100644 index 00000000..2430c013 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifierType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The type of advisory identifier. + /// + public enum DependabotAlertSecurityAdvisoryIdentifierType + { + /// + /// + /// + CVE, + /// + /// + /// + GHSA, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DependabotAlertSecurityAdvisoryIdentifierTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DependabotAlertSecurityAdvisoryIdentifierType value) + { + return value switch + { + DependabotAlertSecurityAdvisoryIdentifierType.CVE => "CVE", + DependabotAlertSecurityAdvisoryIdentifierType.GHSA => "GHSA", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DependabotAlertSecurityAdvisoryIdentifierType? ToEnum(string value) + { + return value switch + { + "CVE" => DependabotAlertSecurityAdvisoryIdentifierType.CVE, + "GHSA" => DependabotAlertSecurityAdvisoryIdentifierType.GHSA, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifiers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifiers.g.cs deleted file mode 100644 index 24ce2ea3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifiers.g.cs +++ /dev/null @@ -1,32 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// An advisory identifier. - /// - public sealed partial class DependabotAlertSecurityAdvisoryIdentifiers - { - /// - /// The type of advisory identifier. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertSecurityAdvisoryIdentifiersTypeJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.DependabotAlertSecurityAdvisoryIdentifiersType Type { get; set; } - - /// - /// The value of the advisory identifer. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Value { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifiersType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifiersType.g.cs deleted file mode 100644 index 7b46e59d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryIdentifiersType.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The type of advisory identifier. - /// - public enum DependabotAlertSecurityAdvisoryIdentifiersType - { - /// - /// - /// - CVE, - /// - /// - /// - GHSA, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class DependabotAlertSecurityAdvisoryIdentifiersTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this DependabotAlertSecurityAdvisoryIdentifiersType value) - { - return value switch - { - DependabotAlertSecurityAdvisoryIdentifiersType.CVE => "CVE", - DependabotAlertSecurityAdvisoryIdentifiersType.GHSA => "GHSA", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static DependabotAlertSecurityAdvisoryIdentifiersType? ToEnum(string value) - { - return value switch - { - "CVE" => DependabotAlertSecurityAdvisoryIdentifiersType.CVE, - "GHSA" => DependabotAlertSecurityAdvisoryIdentifiersType.GHSA, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryReference.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryReference.g.cs new file mode 100644 index 00000000..a7cf229c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryReference.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// A link to additional advisory information. + /// + public sealed partial class DependabotAlertSecurityAdvisoryReference + { + /// + /// The URL of the reference. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryReferences.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryReferences.g.cs deleted file mode 100644 index e689d413..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependabotAlertSecurityAdvisoryReferences.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// A link to additional advisory information. - /// - public sealed partial class DependabotAlertSecurityAdvisoryReferences - { - /// - /// The URL of the reference. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependabotCreateOrUpdateOrgSecretRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependabotCreateOrUpdateOrgSecretRequest.g.cs index 9962153d..03d7f2d7 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.DependabotCreateOrUpdateOrgSecretRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.DependabotCreateOrUpdateOrgSecretRequest.g.cs @@ -32,7 +32,7 @@ public sealed partial class DependabotCreateOrUpdateOrgSecretRequest /// An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. /// [global::System.Text.Json.Serialization.JsonPropertyName("selected_repository_ids")] - public global::System.Collections.Generic.IList? SelectedRepositoryIds { get; set; } + public global::System.Collections.Generic.IList? SelectedRepositoryIds { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.Dependency.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Dependency.g.cs index 550b6738..00c44264 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Dependency.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Dependency.g.cs @@ -42,7 +42,7 @@ public sealed partial class Dependency /// Example: @actions/http-client /// [global::System.Text.Json.Serialization.JsonPropertyName("dependencies")] - public global::System.Collections.Generic.IList? Dependencies { get; set; } + public global::System.Collections.Generic.IList? Dependencies { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiff.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiff.g.cs deleted file mode 100644 index 0ac22387..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiff.g.cs +++ /dev/null @@ -1,89 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class DependencyGraphDiff - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("change_type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffChangeTypeJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.DependencyGraphDiffChangeType ChangeType { get; set; } - - /// - /// Example: path/to/package-lock.json - /// - [global::System.Text.Json.Serialization.JsonPropertyName("manifest")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Manifest { get; set; } - - /// - /// Example: npm - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ecosystem")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ecosystem { get; set; } - - /// - /// Example: @actions/core - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// Example: 1.0.0 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("version")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Version { get; set; } - - /// - /// Example: pkg:/npm/%40actions/core@1.1.0 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("package_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? PackageUrl { get; set; } - - /// - /// Example: MIT - /// - [global::System.Text.Json.Serialization.JsonPropertyName("license")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? License { get; set; } - - /// - /// Example: https://github.com/github/actions - /// - [global::System.Text.Json.Serialization.JsonPropertyName("source_repository_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? SourceRepositoryUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerabilities")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Vulnerabilities { get; set; } - - /// - /// Where the dependency is utilized. `development` means that the dependency is only utilized in the development environment. `runtime` means that the dependency is utilized at runtime and in the development environment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("scope")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffScopeJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.DependencyGraphDiffScope Scope { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffChangeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffChangeType.g.cs deleted file mode 100644 index 8cf3eb48..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffChangeType.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum DependencyGraphDiffChangeType - { - /// - /// - /// - Added, - /// - /// - /// - Removed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class DependencyGraphDiffChangeTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this DependencyGraphDiffChangeType value) - { - return value switch - { - DependencyGraphDiffChangeType.Added => "added", - DependencyGraphDiffChangeType.Removed => "removed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static DependencyGraphDiffChangeType? ToEnum(string value) - { - return value switch - { - "added" => DependencyGraphDiffChangeType.Added, - "removed" => DependencyGraphDiffChangeType.Removed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItem.g.cs new file mode 100644 index 00000000..fe8826fe --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItem.g.cs @@ -0,0 +1,89 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class DependencyGraphDiffItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("change_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffItemChangeTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.DependencyGraphDiffItemChangeType ChangeType { get; set; } + + /// + /// Example: path/to/package-lock.json + /// + [global::System.Text.Json.Serialization.JsonPropertyName("manifest")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Manifest { get; set; } + + /// + /// Example: npm + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ecosystem")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ecosystem { get; set; } + + /// + /// Example: @actions/core + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Example: 1.0.0 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("version")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Version { get; set; } + + /// + /// Example: pkg:/npm/%40actions/core@1.1.0 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("package_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? PackageUrl { get; set; } + + /// + /// Example: MIT + /// + [global::System.Text.Json.Serialization.JsonPropertyName("license")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? License { get; set; } + + /// + /// Example: https://github.com/github/actions + /// + [global::System.Text.Json.Serialization.JsonPropertyName("source_repository_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? SourceRepositoryUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vulnerabilities")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Vulnerabilities { get; set; } + + /// + /// Where the dependency is utilized. `development` means that the dependency is only utilized in the development environment. `runtime` means that the dependency is utilized at runtime and in the development environment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scope")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffItemScopeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.DependencyGraphDiffItemScope Scope { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItemChangeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItemChangeType.g.cs new file mode 100644 index 00000000..4aa93610 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItemChangeType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum DependencyGraphDiffItemChangeType + { + /// + /// + /// + Added, + /// + /// + /// + Removed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DependencyGraphDiffItemChangeTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DependencyGraphDiffItemChangeType value) + { + return value switch + { + DependencyGraphDiffItemChangeType.Added => "added", + DependencyGraphDiffItemChangeType.Removed => "removed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DependencyGraphDiffItemChangeType? ToEnum(string value) + { + return value switch + { + "added" => DependencyGraphDiffItemChangeType.Added, + "removed" => DependencyGraphDiffItemChangeType.Removed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItemScope.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItemScope.g.cs new file mode 100644 index 00000000..326c6906 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItemScope.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Where the dependency is utilized. `development` means that the dependency is only utilized in the development environment. `runtime` means that the dependency is utilized at runtime and in the development environment. + /// + public enum DependencyGraphDiffItemScope + { + /// + /// + /// + Unknown, + /// + /// + /// + Runtime, + /// + /// + /// + Development, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DependencyGraphDiffItemScopeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DependencyGraphDiffItemScope value) + { + return value switch + { + DependencyGraphDiffItemScope.Unknown => "unknown", + DependencyGraphDiffItemScope.Runtime => "runtime", + DependencyGraphDiffItemScope.Development => "development", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DependencyGraphDiffItemScope? ToEnum(string value) + { + return value switch + { + "unknown" => DependencyGraphDiffItemScope.Unknown, + "runtime" => DependencyGraphDiffItemScope.Runtime, + "development" => DependencyGraphDiffItemScope.Development, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItemVulnerabilitie.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItemVulnerabilitie.g.cs new file mode 100644 index 00000000..ead71cb6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffItemVulnerabilitie.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class DependencyGraphDiffItemVulnerabilitie + { + /// + /// Example: critical + /// + [global::System.Text.Json.Serialization.JsonPropertyName("severity")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Severity { get; set; } + + /// + /// Example: GHSA-rf4j-j272-fj86 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("advisory_ghsa_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string AdvisoryGhsaId { get; set; } + + /// + /// Example: A summary of the advisory. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("advisory_summary")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string AdvisorySummary { get; set; } + + /// + /// Example: https://github.com/advisories/GHSA-rf4j-j272-fj86 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("advisory_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string AdvisoryUrl { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponse.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponse.g.cs deleted file mode 100644 index 04eabf4a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponse.g.cs +++ /dev/null @@ -1,89 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class DependencyGraphDiffRangeResponse - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("change_type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffRangeResponseChangeTypeJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.DependencyGraphDiffRangeResponseChangeType ChangeType { get; set; } - - /// - /// Example: path/to/package-lock.json - /// - [global::System.Text.Json.Serialization.JsonPropertyName("manifest")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Manifest { get; set; } - - /// - /// Example: npm - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ecosystem")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ecosystem { get; set; } - - /// - /// Example: @actions/core - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// Example: 1.0.0 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("version")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Version { get; set; } - - /// - /// Example: pkg:/npm/%40actions/core@1.1.0 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("package_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? PackageUrl { get; set; } - - /// - /// Example: MIT - /// - [global::System.Text.Json.Serialization.JsonPropertyName("license")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? License { get; set; } - - /// - /// Example: https://github.com/github/actions - /// - [global::System.Text.Json.Serialization.JsonPropertyName("source_repository_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? SourceRepositoryUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerabilities")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Vulnerabilities { get; set; } - - /// - /// Where the dependency is utilized. `development` means that the dependency is only utilized in the development environment. `runtime` means that the dependency is utilized at runtime and in the development environment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("scope")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffRangeResponseScopeJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.DependencyGraphDiffRangeResponseScope Scope { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponseChangeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponseChangeType.g.cs deleted file mode 100644 index d1feebf3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponseChangeType.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum DependencyGraphDiffRangeResponseChangeType - { - /// - /// - /// - Added, - /// - /// - /// - Removed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class DependencyGraphDiffRangeResponseChangeTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this DependencyGraphDiffRangeResponseChangeType value) - { - return value switch - { - DependencyGraphDiffRangeResponseChangeType.Added => "added", - DependencyGraphDiffRangeResponseChangeType.Removed => "removed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static DependencyGraphDiffRangeResponseChangeType? ToEnum(string value) - { - return value switch - { - "added" => DependencyGraphDiffRangeResponseChangeType.Added, - "removed" => DependencyGraphDiffRangeResponseChangeType.Removed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponseScope.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponseScope.g.cs deleted file mode 100644 index 65dc945c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponseScope.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Where the dependency is utilized. `development` means that the dependency is only utilized in the development environment. `runtime` means that the dependency is utilized at runtime and in the development environment. - /// - public enum DependencyGraphDiffRangeResponseScope - { - /// - /// - /// - Unknown, - /// - /// - /// - Runtime, - /// - /// - /// - Development, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class DependencyGraphDiffRangeResponseScopeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this DependencyGraphDiffRangeResponseScope value) - { - return value switch - { - DependencyGraphDiffRangeResponseScope.Unknown => "unknown", - DependencyGraphDiffRangeResponseScope.Runtime => "runtime", - DependencyGraphDiffRangeResponseScope.Development => "development", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static DependencyGraphDiffRangeResponseScope? ToEnum(string value) - { - return value switch - { - "unknown" => DependencyGraphDiffRangeResponseScope.Unknown, - "runtime" => DependencyGraphDiffRangeResponseScope.Runtime, - "development" => DependencyGraphDiffRangeResponseScope.Development, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponseVulnerabilities.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponseVulnerabilities.g.cs deleted file mode 100644 index 014fa0a7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffRangeResponseVulnerabilities.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class DependencyGraphDiffRangeResponseVulnerabilities - { - /// - /// Example: critical - /// - [global::System.Text.Json.Serialization.JsonPropertyName("severity")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Severity { get; set; } - - /// - /// Example: GHSA-rf4j-j272-fj86 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("advisory_ghsa_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string AdvisoryGhsaId { get; set; } - - /// - /// Example: A summary of the advisory. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("advisory_summary")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string AdvisorySummary { get; set; } - - /// - /// Example: https://github.com/advisories/GHSA-rf4j-j272-fj86 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("advisory_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string AdvisoryUrl { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffScope.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffScope.g.cs deleted file mode 100644 index 2ca71439..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffScope.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Where the dependency is utilized. `development` means that the dependency is only utilized in the development environment. `runtime` means that the dependency is utilized at runtime and in the development environment. - /// - public enum DependencyGraphDiffScope - { - /// - /// - /// - Unknown, - /// - /// - /// - Runtime, - /// - /// - /// - Development, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class DependencyGraphDiffScopeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this DependencyGraphDiffScope value) - { - return value switch - { - DependencyGraphDiffScope.Unknown => "unknown", - DependencyGraphDiffScope.Runtime => "runtime", - DependencyGraphDiffScope.Development => "development", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static DependencyGraphDiffScope? ToEnum(string value) - { - return value switch - { - "unknown" => DependencyGraphDiffScope.Unknown, - "runtime" => DependencyGraphDiffScope.Runtime, - "development" => DependencyGraphDiffScope.Development, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffVulnerabilities.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffVulnerabilities.g.cs deleted file mode 100644 index 64591b05..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphDiffVulnerabilities.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class DependencyGraphDiffVulnerabilities - { - /// - /// Example: critical - /// - [global::System.Text.Json.Serialization.JsonPropertyName("severity")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Severity { get; set; } - - /// - /// Example: GHSA-rf4j-j272-fj86 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("advisory_ghsa_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string AdvisoryGhsaId { get; set; } - - /// - /// Example: A summary of the advisory. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("advisory_summary")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string AdvisorySummary { get; set; } - - /// - /// Example: https://github.com/advisories/GHSA-rf4j-j272-fj86 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("advisory_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string AdvisoryUrl { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbom.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbom.g.cs index 7c35ff6a..6aece8ef 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbom.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbom.g.cs @@ -67,7 +67,7 @@ public sealed partial class DependencyGraphSpdxSbomSbom /// [global::System.Text.Json.Serialization.JsonPropertyName("packages")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Packages { get; set; } + public required global::System.Collections.Generic.IList Packages { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackage.g.cs new file mode 100644 index 00000000..302a1ba2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackage.g.cs @@ -0,0 +1,90 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class DependencyGraphSpdxSbomSbomPackage + { + /// + /// A unique SPDX identifier for the package.
+ /// Example: SPDXRef-Package + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("SPDXID")] + public string? SPDXID { get; set; } + + /// + /// The name of the package.
+ /// Example: rubygems:github/github + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// The version of the package. If the package does not have an exact version specified,
+ /// a version range is given.
+ /// Example: 1.0.0 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("versionInfo")] + public string? VersionInfo { get; set; } + + /// + /// The location where the package can be downloaded,
+ /// or NOASSERTION if this has not been determined.
+ /// Example: NOASSERTION + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("downloadLocation")] + public string? DownloadLocation { get; set; } + + /// + /// Whether the package's file content has been subjected to
+ /// analysis during the creation of the SPDX document.
+ /// Example: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("filesAnalyzed")] + public bool FilesAnalyzed { get; set; } + + /// + /// The license of the package as determined while creating the SPDX document.
+ /// Example: MIT + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("licenseConcluded")] + public string? LicenseConcluded { get; set; } + + /// + /// The license of the package as declared by its author, or NOASSERTION if this information
+ /// was not available when the SPDX document was created.
+ /// Example: NOASSERTION + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("licenseDeclared")] + public string? LicenseDeclared { get; set; } + + /// + /// The distribution source of this package, or NOASSERTION if this was not determined.
+ /// Example: NOASSERTION + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("supplier")] + public string? Supplier { get; set; } + + /// + /// The copyright holders of the package, and any dates present with those notices, if available.
+ /// Example: Copyright (c) 1985 GitHub.com + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("copyrightText")] + public string? CopyrightText { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("externalRefs")] + public global::System.Collections.Generic.IList? ExternalRefs { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackageExternalRef.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackageExternalRef.g.cs new file mode 100644 index 00000000..f5d9af5c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackageExternalRef.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class DependencyGraphSpdxSbomSbomPackageExternalRef + { + /// + /// The category of reference to an external resource this reference refers to.
+ /// Example: PACKAGE-MANAGER + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("referenceCategory")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ReferenceCategory { get; set; } + + /// + /// A locator for the particular external resource this reference refers to.
+ /// Example: pkg:gem/rails@6.0.1 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("referenceLocator")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ReferenceLocator { get; set; } + + /// + /// The category of reference to an external resource this reference refers to.
+ /// Example: purl + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("referenceType")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ReferenceType { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackages.g.cs deleted file mode 100644 index 6566185f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackages.g.cs +++ /dev/null @@ -1,90 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class DependencyGraphSpdxSbomSbomPackages - { - /// - /// A unique SPDX identifier for the package.
- /// Example: SPDXRef-Package - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("SPDXID")] - public string? SPDXID { get; set; } - - /// - /// The name of the package.
- /// Example: rubygems:github/github - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// The version of the package. If the package does not have an exact version specified,
- /// a version range is given.
- /// Example: 1.0.0 - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("versionInfo")] - public string? VersionInfo { get; set; } - - /// - /// The location where the package can be downloaded,
- /// or NOASSERTION if this has not been determined.
- /// Example: NOASSERTION - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("downloadLocation")] - public string? DownloadLocation { get; set; } - - /// - /// Whether the package's file content has been subjected to
- /// analysis during the creation of the SPDX document.
- /// Example: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("filesAnalyzed")] - public bool FilesAnalyzed { get; set; } - - /// - /// The license of the package as determined while creating the SPDX document.
- /// Example: MIT - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("licenseConcluded")] - public string? LicenseConcluded { get; set; } - - /// - /// The license of the package as declared by its author, or NOASSERTION if this information
- /// was not available when the SPDX document was created.
- /// Example: NOASSERTION - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("licenseDeclared")] - public string? LicenseDeclared { get; set; } - - /// - /// The distribution source of this package, or NOASSERTION if this was not determined.
- /// Example: NOASSERTION - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("supplier")] - public string? Supplier { get; set; } - - /// - /// The copyright holders of the package, and any dates present with those notices, if available.
- /// Example: Copyright (c) 1985 GitHub.com - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("copyrightText")] - public string? CopyrightText { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("externalRefs")] - public global::System.Collections.Generic.IList? ExternalRefs { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackagesExternalRefs.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackagesExternalRefs.g.cs deleted file mode 100644 index 90764e00..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.DependencyGraphSpdxSbomSbomPackagesExternalRefs.g.cs +++ /dev/null @@ -1,41 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class DependencyGraphSpdxSbomSbomPackagesExternalRefs - { - /// - /// The category of reference to an external resource this reference refers to.
- /// Example: PACKAGE-MANAGER - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("referenceCategory")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ReferenceCategory { get; set; } - - /// - /// A locator for the particular external resource this reference refers to.
- /// Example: pkg:gem/rails@6.0.1 - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("referenceLocator")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ReferenceLocator { get; set; } - - /// - /// The category of reference to an external resource this reference refers to.
- /// Example: purl - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("referenceType")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ReferenceType { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.Deployment.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Deployment.g.cs index e43d50a8..60e2f980 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Deployment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Deployment.g.cs @@ -61,7 +61,7 @@ public sealed partial class Deployment [global::System.Text.Json.Serialization.JsonPropertyName("payload")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.OneOf Payload { get; set; } + public required global::System.OneOf Payload { get; set; } /// /// Example: staging diff --git a/src/libs/GitHub/Generated/GitHub.Models.DeploymentPayload.g.cs b/src/libs/GitHub/Generated/GitHub.Models.DeploymentPayload.g.cs new file mode 100644 index 00000000..7c500a35 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.DeploymentPayload.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class DeploymentPayload + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.Environment.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Environment.g.cs index f3e2b7c1..04cf5619 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Environment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Environment.g.cs @@ -65,7 +65,7 @@ public sealed partial class Environment /// Built-in deployment protection rules for the environment. /// [global::System.Text.Json.Serialization.JsonPropertyName("protection_rules")] - public global::System.Collections.Generic.IList?>? ProtectionRules { get; set; } + public global::System.Collections.Generic.IList>? ProtectionRules { get; set; } /// /// The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. diff --git a/src/libs/GitHub/Generated/GitHub.Models.EnvironmentApprovals.g.cs b/src/libs/GitHub/Generated/GitHub.Models.EnvironmentApprovals.g.cs index e279d167..d51c664f 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.EnvironmentApprovals.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.EnvironmentApprovals.g.cs @@ -13,7 +13,7 @@ public sealed partial class EnvironmentApprovals /// [global::System.Text.Json.Serialization.JsonPropertyName("environments")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Environments { get; set; } + public required global::System.Collections.Generic.IList Environments { get; set; } /// /// Whether deployment to the environment(s) was approved or rejected or pending (with comments)
diff --git a/src/libs/GitHub/Generated/GitHub.Models.EnvironmentApprovalsEnvironment.g.cs b/src/libs/GitHub/Generated/GitHub.Models.EnvironmentApprovalsEnvironment.g.cs new file mode 100644 index 00000000..df73031e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.EnvironmentApprovalsEnvironment.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class EnvironmentApprovalsEnvironment + { + /// + /// The id of the environment.
+ /// Example: 56780428 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// Example: MDExOkVudmlyb25tZW50NTY3ODA0Mjg= + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// The name of the environment.
+ /// Example: staging + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// Example: https://api.github.com/repos/github/hello-world/environments/staging + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Example: https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// The time that the environment was created, in ISO 8601 format. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public global::System.DateTime CreatedAt { get; set; } + + /// + /// The time that the environment was last updated, in ISO 8601 format. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public global::System.DateTime UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.EnvironmentApprovalsEnvironments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.EnvironmentApprovalsEnvironments.g.cs deleted file mode 100644 index 0e50d372..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.EnvironmentApprovalsEnvironments.g.cs +++ /dev/null @@ -1,61 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class EnvironmentApprovalsEnvironments - { - /// - /// The id of the environment.
- /// Example: 56780428 - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// Example: MDExOkVudmlyb25tZW50NTY3ODA0Mjg= - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// The name of the environment.
- /// Example: staging - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// Example: https://api.github.com/repos/github/hello-world/environments/staging - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Example: https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// The time that the environment was created, in ISO 8601 format. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public global::System.DateTime CreatedAt { get; set; } - - /// - /// The time that the environment was last updated, in ISO 8601 format. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - public global::System.DateTime UpdatedAt { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant1.g.cs new file mode 100644 index 00000000..c18598e6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant1.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class EnvironmentProtectionRuleVariant1 + { + /// + /// Example: 3515 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// Example: MDQ6R2F0ZTM1MTU= + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Example: wait_timer + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Type { get; set; } + + /// + /// The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).
+ /// Example: 30 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("wait_timer")] + public int WaitTimer { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant2.g.cs new file mode 100644 index 00000000..d655d0c3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant2.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class EnvironmentProtectionRuleVariant2 + { + /// + /// Example: 3755 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// Example: MDQ6R2F0ZTM3NTU= + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Whether deployments to this environment can be approved by the user who created the deployment.
+ /// Example: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("prevent_self_review")] + public bool PreventSelfReview { get; set; } + + /// + /// Example: required_reviewers + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Type { get; set; } + + /// + /// The people or teams that may approve jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reviewers")] + public global::System.Collections.Generic.IList? Reviewers { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant2Reviewer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant2Reviewer.g.cs new file mode 100644 index 00000000..0245757c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant2Reviewer.g.cs @@ -0,0 +1,34 @@ + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class EnvironmentProtectionRuleVariant2Reviewer + { + /// + /// The type of reviewer.
+ /// Example: User + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.DeploymentReviewerTypeJsonConverter))] + public global::GitHub.DeploymentReviewerType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reviewer")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))] + public global::System.AnyOf? Reviewer { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant3.g.cs b/src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant3.g.cs new file mode 100644 index 00000000..0bdacc10 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.EnvironmentProtectionRuleVariant3.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class EnvironmentProtectionRuleVariant3 + { + /// + /// Example: 3515 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// Example: MDQ6R2F0ZTM1MTU= + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Example: branch_policy + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.EventPayload.g.cs b/src/libs/GitHub/Generated/GitHub.Models.EventPayload.g.cs index fc29e75c..59bef26f 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.EventPayload.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.EventPayload.g.cs @@ -30,7 +30,7 @@ public sealed partial class EventPayload /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("pages")] - public global::System.Collections.Generic.IList? Pages { get; set; } + public global::System.Collections.Generic.IList? Pages { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.EventPayloadPage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.EventPayloadPage.g.cs new file mode 100644 index 00000000..705023b9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.EventPayloadPage.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class EventPayloadPage + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("page_name")] + public string? PageName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("summary")] + public string? Summary { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("action")] + public string? Action { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + public string? Sha { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.EventPayloadPages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.EventPayloadPages.g.cs deleted file mode 100644 index 254d30b5..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.EventPayloadPages.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class EventPayloadPages - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("page_name")] - public string? PageName { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - public string? Title { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("summary")] - public string? Summary { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("action")] - public string? Action { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - public string? Sha { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.Feed.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Feed.g.cs index be1d8a96..d10ffd8b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Feed.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Feed.g.cs @@ -50,7 +50,7 @@ public sealed partial class Feed /// Example: [https://github.com/organizations/github/octocat.private.atom?token=abc123] /// [global::System.Text.Json.Serialization.JsonPropertyName("current_user_organization_urls")] - public global::System.Collections.Generic.IList? CurrentUserOrganizationUrls { get; set; } + public global::System.Collections.Generic.IList? CurrentUserOrganizationUrls { get; set; } /// /// Example: https://github.com/security-advisories diff --git a/src/libs/GitHub/Generated/GitHub.Models.FileCommitCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.FileCommitCommit.g.cs index 5a57d033..9e3e7117 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.FileCommitCommit.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.FileCommitCommit.g.cs @@ -60,7 +60,7 @@ public sealed partial class FileCommitCommit /// /// [global::System.Text.Json.Serialization.JsonPropertyName("parents")] - public global::System.Collections.Generic.IList? Parents { get; set; } + public global::System.Collections.Generic.IList? Parents { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.FileCommitCommitParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.FileCommitCommitParent.g.cs new file mode 100644 index 00000000..77d32b36 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.FileCommitCommitParent.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class FileCommitCommitParent + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + public string? Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.FileCommitCommitParents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.FileCommitCommitParents.g.cs deleted file mode 100644 index 762efdb3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.FileCommitCommitParents.g.cs +++ /dev/null @@ -1,35 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class FileCommitCommitParents - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - public string? Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.FullRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.FullRepository.g.cs index e6b75855..fc1e6e1b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.FullRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.FullRepository.g.cs @@ -432,7 +432,7 @@ public sealed partial class FullRepository /// Example: [octocat, atom, electron, API] /// [global::System.Text.Json.Serialization.JsonPropertyName("topics")] - public global::System.Collections.Generic.IList? Topics { get; set; } + public global::System.Collections.Generic.IList? Topics { get; set; } /// /// Example: true @@ -720,7 +720,7 @@ public sealed partial class FullRepository /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_properties")] - public object? CustomProperties { get; set; } + public global::GitHub.FullRepositoryCustomProperties? CustomProperties { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.FullRepositoryCustomProperties.g.cs b/src/libs/GitHub/Generated/GitHub.Models.FullRepositoryCustomProperties.g.cs new file mode 100644 index 00000000..9c3c6ec3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.FullRepositoryCustomProperties.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + public sealed partial class FullRepositoryCustomProperties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GistSimple.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GistSimple.g.cs index d5d0e885..16a9bfc2 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.GistSimple.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.GistSimple.g.cs @@ -13,7 +13,7 @@ public sealed partial class GistSimple /// [global::System.Text.Json.Serialization.JsonPropertyName("forks")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Forks { get; set; } + public global::System.Collections.Generic.IList? Forks { get; set; } /// /// @@ -80,7 +80,7 @@ public sealed partial class GistSimple /// /// [global::System.Text.Json.Serialization.JsonPropertyName("files")] - public object? Files { get; set; } + public global::GitHub.GistSimpleFiles? Files { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.GistSimpleFiles.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GistSimpleFiles.g.cs new file mode 100644 index 00000000..9fec9123 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GistSimpleFiles.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GistSimpleFiles + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GistSimpleFork.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GistSimpleFork.g.cs new file mode 100644 index 00000000..72dfe5ce --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GistSimpleFork.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GistSimpleFork + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public string? Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Public User + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + public global::GitHub.PublicUser? User { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public global::System.DateTime UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOf.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOf.g.cs index 8b5fcb4c..09867166 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOf.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOf.g.cs @@ -69,7 +69,7 @@ public sealed partial class GistSimpleForkOf /// [global::System.Text.Json.Serialization.JsonPropertyName("files")] [global::System.Text.Json.Serialization.JsonRequired] - public required object Files { get; set; } + public required global::GitHub.GistSimpleForkOfFiles Files { get; set; } /// /// @@ -136,13 +136,13 @@ public sealed partial class GistSimpleForkOf /// /// [global::System.Text.Json.Serialization.JsonPropertyName("forks")] - public global::System.Collections.Generic.IList? Forks { get; set; } + public global::System.Collections.Generic.IList? Forks { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("history")] - public global::System.Collections.Generic.IList? History { get; set; } + public global::System.Collections.Generic.IList? History { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOfFiles.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOfFiles.g.cs new file mode 100644 index 00000000..ae64d0ae --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOfFiles.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GistSimpleForkOfFiles + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOfFork.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOfFork.g.cs new file mode 100644 index 00000000..5f556692 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOfFork.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GistSimpleForkOfFork + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOfHistoryItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOfHistoryItem.g.cs new file mode 100644 index 00000000..4af6dd94 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForkOfHistoryItem.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GistSimpleForkOfHistoryItem + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForks.g.cs deleted file mode 100644 index 2c843bcd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.GistSimpleForks.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class GistSimpleForks - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public string? Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Public User - /// - [global::System.Text.Json.Serialization.JsonPropertyName("user")] - public global::GitHub.PublicUser? User { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - public global::System.DateTime UpdatedAt { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GistsCreateRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GistsCreateRequest.g.cs index a3efcf64..61dd7d86 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.GistsCreateRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.GistsCreateRequest.g.cs @@ -22,7 +22,7 @@ public sealed partial class GistsCreateRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("files")] [global::System.Text.Json.Serialization.JsonRequired] - public required object Files { get; set; } + public required global::GitHub.GistsCreateRequestFiles Files { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.GistsCreateRequestFiles.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GistsCreateRequestFiles.g.cs new file mode 100644 index 00000000..81d1e92f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GistsCreateRequestFiles.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Names and content for the files that make up the gist + /// + public sealed partial class GistsCreateRequestFiles + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GistsUpdateRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GistsUpdateRequest.g.cs index e422f033..33c8fd05 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.GistsUpdateRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.GistsUpdateRequest.g.cs @@ -22,7 +22,7 @@ public sealed partial class GistsUpdateRequest /// deleted if the specified object does not contain at least one of `content` or `filename`. /// [global::System.Text.Json.Serialization.JsonPropertyName("files")] - public object? Files { get; set; } + public global::GitHub.GistsUpdateRequestFiles? Files { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.GistsUpdateRequestFiles.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GistsUpdateRequestFiles.g.cs new file mode 100644 index 00000000..8ebf9e88 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GistsUpdateRequestFiles.g.cs @@ -0,0 +1,21 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The gist files to be updated, renamed, or deleted. Each `key` must match the current filename
+ /// (including extension) of the targeted gist file. For example: `hello.py`.
+ /// To delete a file, set the whole file to null. For example: `hello.py : null`. The file will also be
+ /// deleted if the specified object does not contain at least one of `content` or `filename`. + ///
+ public sealed partial class GistsUpdateRequestFiles + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitCommit.g.cs index 71a63d7f..53e6b484 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.GitCommit.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.GitCommit.g.cs @@ -64,7 +64,7 @@ public sealed partial class GitCommit ///
[global::System.Text.Json.Serialization.JsonPropertyName("parents")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Parents { get; set; } + public required global::System.Collections.Generic.IList Parents { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitCommitParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitCommitParent.g.cs new file mode 100644 index 00000000..70b44f19 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GitCommitParent.g.cs @@ -0,0 +1,39 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GitCommitParent + { + /// + /// SHA for the commit
+ /// Example: 7638417db6d59f3c431d3e1f261cc637155684cd + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitCommitParents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitCommitParents.g.cs deleted file mode 100644 index c6a207a3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.GitCommitParents.g.cs +++ /dev/null @@ -1,39 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class GitCommitParents - { - /// - /// SHA for the commit
- /// Example: 7638417db6d59f3c431d3e1f261cc637155684cd - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitCreateCommitRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitCreateCommitRequest.g.cs index 07acb1b6..f56d5241 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.GitCreateCommitRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.GitCreateCommitRequest.g.cs @@ -26,7 +26,7 @@ public sealed partial class GitCreateCommitRequest /// The full SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. ///
[global::System.Text.Json.Serialization.JsonPropertyName("parents")] - public global::System.Collections.Generic.IList? Parents { get; set; } + public global::System.Collections.Generic.IList? Parents { get; set; } /// /// Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details. diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequest.g.cs index a4123ad1..b3c964e0 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequest.g.cs @@ -13,7 +13,7 @@ public sealed partial class GitCreateTreeRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("tree")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Tree { get; set; } + public required global::System.Collections.Generic.IList Tree { get; set; } /// /// The SHA1 of an existing Git tree object which will be used as the base for the new tree. If provided, a new Git tree object will be created from entries in the Git tree object pointed to by `base_tree` and entries defined in the `tree` parameter. Entries defined in the `tree` parameter will overwrite items from `base_tree` with the same `path`. If you're creating new changes on a branch, then normally you'd set `base_tree` to the SHA1 of the Git tree object of the current latest commit on the branch you're working on.
diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTree.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTree.g.cs deleted file mode 100644 index 7bc7a172..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTree.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class GitCreateTreeRequestTree - { - /// - /// The file referenced in the tree. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - public string? Path { get; set; } - - /// - /// The file mode; one of `100644` for file (blob), `100755` for executable (blob), `040000` for subdirectory (tree), `160000` for submodule (commit), or `120000` for a blob that specifies the path of a symlink. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("mode")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.GitCreateTreeRequestTreeModeJsonConverter))] - public global::GitHub.GitCreateTreeRequestTreeMode? Mode { get; set; } - - /// - /// Either `blob`, `tree`, or `commit`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.GitCreateTreeRequestTreeTypeJsonConverter))] - public global::GitHub.GitCreateTreeRequestTreeType? Type { get; set; } - - /// - /// The SHA1 checksum ID of the object in the tree. Also called `tree.sha`. If the value is `null` then the file will be deleted.
- ///
- /// **Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - public string? Sha { get; set; } - - /// - /// The content you want this file to have. GitHub will write this blob out and use that SHA for this entry. Use either this, or `tree.sha`.
- ///
- /// **Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("content")] - public string? Content { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeItem.g.cs new file mode 100644 index 00000000..e8d46328 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeItem.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GitCreateTreeRequestTreeItem + { + /// + /// The file referenced in the tree. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + public string? Path { get; set; } + + /// + /// The file mode; one of `100644` for file (blob), `100755` for executable (blob), `040000` for subdirectory (tree), `160000` for submodule (commit), or `120000` for a blob that specifies the path of a symlink. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mode")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.GitCreateTreeRequestTreeItemModeJsonConverter))] + public global::GitHub.GitCreateTreeRequestTreeItemMode? Mode { get; set; } + + /// + /// Either `blob`, `tree`, or `commit`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.GitCreateTreeRequestTreeItemTypeJsonConverter))] + public global::GitHub.GitCreateTreeRequestTreeItemType? Type { get; set; } + + /// + /// The SHA1 checksum ID of the object in the tree. Also called `tree.sha`. If the value is `null` then the file will be deleted.
+ ///
+ /// **Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + public string? Sha { get; set; } + + /// + /// The content you want this file to have. GitHub will write this blob out and use that SHA for this entry. Use either this, or `tree.sha`.
+ ///
+ /// **Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("content")] + public string? Content { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeItemMode.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeItemMode.g.cs new file mode 100644 index 00000000..c3cc1a64 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeItemMode.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The file mode; one of `100644` for file (blob), `100755` for executable (blob), `040000` for subdirectory (tree), `160000` for submodule (commit), or `120000` for a blob that specifies the path of a symlink. + /// + public enum GitCreateTreeRequestTreeItemMode + { + /// + /// + /// + x100644, + /// + /// + /// + x100755, + /// + /// + /// + x040000, + /// + /// + /// + x160000, + /// + /// + /// + x120000, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GitCreateTreeRequestTreeItemModeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GitCreateTreeRequestTreeItemMode value) + { + return value switch + { + GitCreateTreeRequestTreeItemMode.x100644 => "100644", + GitCreateTreeRequestTreeItemMode.x100755 => "100755", + GitCreateTreeRequestTreeItemMode.x040000 => "040000", + GitCreateTreeRequestTreeItemMode.x160000 => "160000", + GitCreateTreeRequestTreeItemMode.x120000 => "120000", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static GitCreateTreeRequestTreeItemMode? ToEnum(string value) + { + return value switch + { + "100644" => GitCreateTreeRequestTreeItemMode.x100644, + "100755" => GitCreateTreeRequestTreeItemMode.x100755, + "040000" => GitCreateTreeRequestTreeItemMode.x040000, + "160000" => GitCreateTreeRequestTreeItemMode.x160000, + "120000" => GitCreateTreeRequestTreeItemMode.x120000, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeItemType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeItemType.g.cs new file mode 100644 index 00000000..fc2254c8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeItemType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Either `blob`, `tree`, or `commit`. + /// + public enum GitCreateTreeRequestTreeItemType + { + /// + /// + /// + Blob, + /// + /// + /// + Tree, + /// + /// + /// + Commit, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GitCreateTreeRequestTreeItemTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GitCreateTreeRequestTreeItemType value) + { + return value switch + { + GitCreateTreeRequestTreeItemType.Blob => "blob", + GitCreateTreeRequestTreeItemType.Tree => "tree", + GitCreateTreeRequestTreeItemType.Commit => "commit", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static GitCreateTreeRequestTreeItemType? ToEnum(string value) + { + return value switch + { + "blob" => GitCreateTreeRequestTreeItemType.Blob, + "tree" => GitCreateTreeRequestTreeItemType.Tree, + "commit" => GitCreateTreeRequestTreeItemType.Commit, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeMode.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeMode.g.cs deleted file mode 100644 index c83ade54..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeMode.g.cs +++ /dev/null @@ -1,69 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The file mode; one of `100644` for file (blob), `100755` for executable (blob), `040000` for subdirectory (tree), `160000` for submodule (commit), or `120000` for a blob that specifies the path of a symlink. - /// - public enum GitCreateTreeRequestTreeMode - { - /// - /// - /// - x100644, - /// - /// - /// - x100755, - /// - /// - /// - x040000, - /// - /// - /// - x160000, - /// - /// - /// - x120000, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class GitCreateTreeRequestTreeModeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this GitCreateTreeRequestTreeMode value) - { - return value switch - { - GitCreateTreeRequestTreeMode.x100644 => "100644", - GitCreateTreeRequestTreeMode.x100755 => "100755", - GitCreateTreeRequestTreeMode.x040000 => "040000", - GitCreateTreeRequestTreeMode.x160000 => "160000", - GitCreateTreeRequestTreeMode.x120000 => "120000", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static GitCreateTreeRequestTreeMode? ToEnum(string value) - { - return value switch - { - "100644" => GitCreateTreeRequestTreeMode.x100644, - "100755" => GitCreateTreeRequestTreeMode.x100755, - "040000" => GitCreateTreeRequestTreeMode.x040000, - "160000" => GitCreateTreeRequestTreeMode.x160000, - "120000" => GitCreateTreeRequestTreeMode.x120000, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeType.g.cs deleted file mode 100644 index 2d942ec0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.GitCreateTreeRequestTreeType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Either `blob`, `tree`, or `commit`. - /// - public enum GitCreateTreeRequestTreeType - { - /// - /// - /// - Blob, - /// - /// - /// - Tree, - /// - /// - /// - Commit, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class GitCreateTreeRequestTreeTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this GitCreateTreeRequestTreeType value) - { - return value switch - { - GitCreateTreeRequestTreeType.Blob => "blob", - GitCreateTreeRequestTreeType.Tree => "tree", - GitCreateTreeRequestTreeType.Commit => "commit", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static GitCreateTreeRequestTreeType? ToEnum(string value) - { - return value switch - { - "blob" => GitCreateTreeRequestTreeType.Blob, - "tree" => GitCreateTreeRequestTreeType.Tree, - "commit" => GitCreateTreeRequestTreeType.Commit, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitTree.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitTree.g.cs index 2d38fa5a..7b7f6f9e 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.GitTree.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.GitTree.g.cs @@ -35,7 +35,7 @@ public sealed partial class GitTree ///
[global::System.Text.Json.Serialization.JsonPropertyName("tree")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Tree { get; set; } + public required global::System.Collections.Generic.IList Tree { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitTreeTree.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitTreeTree.g.cs deleted file mode 100644 index 2b1b83f1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.GitTreeTree.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class GitTreeTree - { - /// - /// Example: test/file.rb - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - public string? Path { get; set; } - - /// - /// Example: 040000 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("mode")] - public string? Mode { get; set; } - - /// - /// Example: tree - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } - - /// - /// Example: 23f6827669e43831def8a7ad935069c8bd418261 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - public string? Sha { get; set; } - - /// - /// Example: 12 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("size")] - public int Size { get; set; } - - /// - /// Example: https://api.github.com/repos/owner-482f3203ecf01f67e9deb18e/BBB_Private_Repo/git/blobs/23f6827669e43831def8a7ad935069c8bd418261 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GitTreeTreeItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GitTreeTreeItem.g.cs new file mode 100644 index 00000000..32e07e7a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GitTreeTreeItem.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GitTreeTreeItem + { + /// + /// Example: test/file.rb + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + public string? Path { get; set; } + + /// + /// Example: 040000 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mode")] + public string? Mode { get; set; } + + /// + /// Example: tree + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// Example: 23f6827669e43831def8a7ad935069c8bd418261 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + public string? Sha { get; set; } + + /// + /// Example: 12 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + public int Size { get; set; } + + /// + /// Example: https://api.github.com/repos/owner-482f3203ecf01f67e9deb18e/BBB_Private_Repo/git/blobs/23f6827669e43831def8a7ad935069c8bd418261 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisory.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisory.g.cs index 908968d4..88b35bbb 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisory.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisory.g.cs @@ -85,7 +85,7 @@ public sealed partial class GlobalAdvisory /// [global::System.Text.Json.Serialization.JsonPropertyName("identifiers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList? Identifiers { get; set; } + public required global::System.Collections.Generic.IList? Identifiers { get; set; } /// /// @@ -149,14 +149,14 @@ public sealed partial class GlobalAdvisory /// [global::System.Text.Json.Serialization.JsonPropertyName("cwes")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList? Cwes { get; set; } + public required global::System.Collections.Generic.IList? Cwes { get; set; } /// /// The users who contributed to the advisory. /// [global::System.Text.Json.Serialization.JsonPropertyName("credits")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList? Credits { get; set; } + public required global::System.Collections.Generic.IList? Credits { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCredit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCredit.g.cs new file mode 100644 index 00000000..3f5a9e95 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCredit.g.cs @@ -0,0 +1,32 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GlobalAdvisoryCredit + { + /// + /// A GitHub user. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.SimpleUser User { get; set; } + + /// + /// The type of credit the user is receiving. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryCreditTypesJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.SecurityAdvisoryCreditTypes Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCredits.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCredits.g.cs deleted file mode 100644 index ee8ddc2d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCredits.g.cs +++ /dev/null @@ -1,32 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class GlobalAdvisoryCredits - { - /// - /// A GitHub user. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("user")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.SimpleUser User { get; set; } - - /// - /// The type of credit the user is receiving. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryCreditTypesJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.SecurityAdvisoryCreditTypes Type { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCwe.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCwe.g.cs new file mode 100644 index 00000000..d8a6d412 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCwe.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GlobalAdvisoryCwe + { + /// + /// The Common Weakness Enumeration (CWE) identifier. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cwe_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CweId { get; set; } + + /// + /// The name of the CWE. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCwes.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCwes.g.cs deleted file mode 100644 index a93f7beb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryCwes.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class GlobalAdvisoryCwes - { - /// - /// The Common Weakness Enumeration (CWE) identifier. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("cwe_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CweId { get; set; } - - /// - /// The name of the CWE. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifier.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifier.g.cs new file mode 100644 index 00000000..5d9ce263 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifier.g.cs @@ -0,0 +1,32 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GlobalAdvisoryIdentifier + { + /// + /// The type of identifier. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.GlobalAdvisoryIdentifierTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.GlobalAdvisoryIdentifierType Type { get; set; } + + /// + /// The identifier value. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifierType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifierType.g.cs new file mode 100644 index 00000000..65c656d4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifierType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The type of identifier. + /// + public enum GlobalAdvisoryIdentifierType + { + /// + /// + /// + CVE, + /// + /// + /// + GHSA, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GlobalAdvisoryIdentifierTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GlobalAdvisoryIdentifierType value) + { + return value switch + { + GlobalAdvisoryIdentifierType.CVE => "CVE", + GlobalAdvisoryIdentifierType.GHSA => "GHSA", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static GlobalAdvisoryIdentifierType? ToEnum(string value) + { + return value switch + { + "CVE" => GlobalAdvisoryIdentifierType.CVE, + "GHSA" => GlobalAdvisoryIdentifierType.GHSA, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifiers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifiers.g.cs deleted file mode 100644 index 7bb88255..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifiers.g.cs +++ /dev/null @@ -1,32 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class GlobalAdvisoryIdentifiers - { - /// - /// The type of identifier. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.GlobalAdvisoryIdentifiersTypeJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.GlobalAdvisoryIdentifiersType Type { get; set; } - - /// - /// The identifier value. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Value { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifiersType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifiersType.g.cs deleted file mode 100644 index c77287cf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.GlobalAdvisoryIdentifiersType.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The type of identifier. - /// - public enum GlobalAdvisoryIdentifiersType - { - /// - /// - /// - CVE, - /// - /// - /// - GHSA, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class GlobalAdvisoryIdentifiersTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this GlobalAdvisoryIdentifiersType value) - { - return value switch - { - GlobalAdvisoryIdentifiersType.CVE => "CVE", - GlobalAdvisoryIdentifiersType.GHSA => "GHSA", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static GlobalAdvisoryIdentifiersType? ToEnum(string value) - { - return value switch - { - "CVE" => GlobalAdvisoryIdentifiersType.CVE, - "GHSA" => GlobalAdvisoryIdentifiersType.GHSA, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GpgKey.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GpgKey.g.cs index 8d78e136..20294efa 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.GpgKey.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.GpgKey.g.cs @@ -47,14 +47,14 @@ public sealed partial class GpgKey /// [global::System.Text.Json.Serialization.JsonPropertyName("emails")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Emails { get; set; } + public required global::System.Collections.Generic.IList Emails { get; set; } /// /// Example: [] /// [global::System.Text.Json.Serialization.JsonPropertyName("subkeys")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Subkeys { get; set; } + public required global::System.Collections.Generic.IList Subkeys { get; set; } /// /// Example: true diff --git a/src/libs/GitHub/Generated/GitHub.Models.GpgKeyEmail.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GpgKeyEmail.g.cs new file mode 100644 index 00000000..6206c28f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GpgKeyEmail.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GpgKeyEmail + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("verified")] + public bool Verified { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GpgKeyEmails.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GpgKeyEmails.g.cs deleted file mode 100644 index 7d3a695c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.GpgKeyEmails.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class GpgKeyEmails - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("verified")] - public bool Verified { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkey.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkey.g.cs new file mode 100644 index 00000000..d589b197 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkey.g.cs @@ -0,0 +1,101 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GpgKeySubkey + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("primary_key_id")] + public int PrimaryKeyId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("key_id")] + public string? KeyId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("public_key")] + public string? PublicKey { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("emails")] + public global::System.Collections.Generic.IList? Emails { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subkeys")] + public global::System.Collections.Generic.IList? Subkeys { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_sign")] + public bool CanSign { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_encrypt_comms")] + public bool CanEncryptComms { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_encrypt_storage")] + public bool CanEncryptStorage { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_certify")] + public bool CanCertify { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public string? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("expires_at")] + public string? ExpiresAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("raw_key")] + public string? RawKey { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("revoked")] + public bool Revoked { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeyEmail.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeyEmail.g.cs new file mode 100644 index 00000000..86c37cf3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeyEmail.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GpgKeySubkeyEmail + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("verified")] + public bool Verified { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeySubkey.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeySubkey.g.cs new file mode 100644 index 00000000..1c703bd8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeySubkey.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class GpgKeySubkeySubkey + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeys.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeys.g.cs deleted file mode 100644 index 7db78238..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeys.g.cs +++ /dev/null @@ -1,101 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class GpgKeySubkeys - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("primary_key_id")] - public int PrimaryKeyId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("key_id")] - public string? KeyId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("public_key")] - public string? PublicKey { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("emails")] - public global::System.Collections.Generic.IList? Emails { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subkeys")] - public global::System.Collections.Generic.IList? Subkeys { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("can_sign")] - public bool CanSign { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("can_encrypt_comms")] - public bool CanEncryptComms { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("can_encrypt_storage")] - public bool CanEncryptStorage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("can_certify")] - public bool CanCertify { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public string? CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("expires_at")] - public string? ExpiresAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("raw_key")] - public string? RawKey { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("revoked")] - public bool Revoked { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeysEmails.g.cs b/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeysEmails.g.cs deleted file mode 100644 index f576c759..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.GpgKeySubkeysEmails.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class GpgKeySubkeysEmails - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("verified")] - public bool Verified { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryRequest.g.cs index 1dec6d45..61368fa5 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryRequest.g.cs @@ -13,14 +13,14 @@ public sealed partial class HookDeliveryRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("headers")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Headers { get; set; } + public required global::GitHub.HookDeliveryRequestHeaders? Headers { get; set; } /// /// The webhook payload. /// [global::System.Text.Json.Serialization.JsonPropertyName("payload")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Payload { get; set; } + public required global::GitHub.HookDeliveryRequestPayload? Payload { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryRequestHeaders.g.cs b/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryRequestHeaders.g.cs new file mode 100644 index 00000000..ea351255 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryRequestHeaders.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The request headers sent with the webhook delivery. + /// + public sealed partial class HookDeliveryRequestHeaders + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryRequestPayload.g.cs b/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryRequestPayload.g.cs new file mode 100644 index 00000000..a957f18a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryRequestPayload.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The webhook payload. + /// + public sealed partial class HookDeliveryRequestPayload + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryResponse.g.cs b/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryResponse.g.cs index c3a58688..7a5360a7 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryResponse.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryResponse.g.cs @@ -13,7 +13,7 @@ public sealed partial class HookDeliveryResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("headers")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Headers { get; set; } + public required global::GitHub.HookDeliveryResponseHeaders? Headers { get; set; } /// /// The response payload received. diff --git a/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryResponseHeaders.g.cs b/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryResponseHeaders.g.cs new file mode 100644 index 00000000..db7e272e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.HookDeliveryResponseHeaders.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The response headers received when the delivery was made. + /// + public sealed partial class HookDeliveryResponseHeaders + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.Hovercard.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Hovercard.g.cs index a19408cc..84f804c3 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Hovercard.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Hovercard.g.cs @@ -13,7 +13,7 @@ public sealed partial class Hovercard /// [global::System.Text.Json.Serialization.JsonPropertyName("contexts")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Contexts { get; set; } + public required global::System.Collections.Generic.IList Contexts { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.HovercardContext.g.cs b/src/libs/GitHub/Generated/GitHub.Models.HovercardContext.g.cs new file mode 100644 index 00000000..9f4bf640 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.HovercardContext.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class HovercardContext + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("octicon")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Octicon { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.HovercardContexts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.HovercardContexts.g.cs deleted file mode 100644 index 51ad81dd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.HovercardContexts.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class HovercardContexts - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("message")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Message { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("octicon")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Octicon { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.Import.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Import.g.cs index 97205284..5565ab15 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Import.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Import.g.cs @@ -106,7 +106,7 @@ public sealed partial class Import /// /// [global::System.Text.Json.Serialization.JsonPropertyName("project_choices")] - public global::System.Collections.Generic.IList? ProjectChoices { get; set; } + public global::System.Collections.Generic.IList? ProjectChoices { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.ImportProjectChoice.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ImportProjectChoice.g.cs new file mode 100644 index 00000000..0236e12a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ImportProjectChoice.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ImportProjectChoice + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vcs")] + public string? Vcs { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tfvc_project")] + public string? TfvcProject { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("human_name")] + public string? HumanName { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ImportProjectChoices.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ImportProjectChoices.g.cs deleted file mode 100644 index 5ce2301e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ImportProjectChoices.g.cs +++ /dev/null @@ -1,35 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ImportProjectChoices - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vcs")] - public string? Vcs { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("tfvc_project")] - public string? TfvcProject { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("human_name")] - public string? HumanName { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.Installation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Installation.g.cs index 3d868794..d7cef355 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Installation.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Installation.g.cs @@ -121,7 +121,7 @@ public sealed partial class Installation /// Example: [config.yml, .github/issue_TEMPLATE.md] /// [global::System.Text.Json.Serialization.JsonPropertyName("single_file_paths")] - public global::System.Collections.Generic.IList? SingleFilePaths { get; set; } + public global::System.Collections.Generic.IList? SingleFilePaths { get; set; } /// /// Example: github-actions diff --git a/src/libs/GitHub/Generated/GitHub.Models.InstallationToken.g.cs b/src/libs/GitHub/Generated/GitHub.Models.InstallationToken.g.cs index 54d44bd3..d8cd88bd 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.InstallationToken.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.InstallationToken.g.cs @@ -57,7 +57,7 @@ public sealed partial class InstallationToken /// Example: [config.yml, .github/issue_TEMPLATE.md] /// [global::System.Text.Json.Serialization.JsonPropertyName("single_file_paths")] - public global::System.Collections.Generic.IList? SingleFilePaths { get; set; } + public global::System.Collections.Generic.IList? SingleFilePaths { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.InteractionsGetRestrictionsForAuthenticatedUserResponse2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.InteractionsGetRestrictionsForAuthenticatedUserResponse2.g.cs new file mode 100644 index 00000000..1f1a6aa4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.InteractionsGetRestrictionsForAuthenticatedUserResponse2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class InteractionsGetRestrictionsForAuthenticatedUserResponse2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.InteractionsGetRestrictionsForOrgResponse2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.InteractionsGetRestrictionsForOrgResponse2.g.cs new file mode 100644 index 00000000..5c9e847f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.InteractionsGetRestrictionsForOrgResponse2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class InteractionsGetRestrictionsForOrgResponse2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.InteractionsGetRestrictionsForRepoResponse2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.InteractionsGetRestrictionsForRepoResponse2.g.cs new file mode 100644 index 00000000..696ebb26 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.InteractionsGetRestrictionsForRepoResponse2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class InteractionsGetRestrictionsForRepoResponse2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.Issue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Issue.g.cs index aee80284..cb713054 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Issue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Issue.g.cs @@ -119,7 +119,7 @@ public sealed partial class Issue /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> Labels { get; set; } + public required global::System.Collections.Generic.IList> Labels { get; set; } /// /// A GitHub user. diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssueLabel.g.cs new file mode 100644 index 00000000..a5fa2b6e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.IssueLabel.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class IssueLabel + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + public string? Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + public bool Default { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItem.g.cs index b06ca114..40da6a27 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItem.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItem.g.cs @@ -109,7 +109,7 @@ public sealed partial class IssueSearchResultItem /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -170,7 +170,7 @@ public sealed partial class IssueSearchResultItem /// /// [global::System.Text.Json.Serialization.JsonPropertyName("text_matches")] - public global::System.Collections.Generic.IList? TextMatches { get; set; } + public global::System.Collections.Generic.IList? TextMatches { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemLabel.g.cs new file mode 100644 index 00000000..f3023070 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemLabel.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class IssueSearchResultItemLabel + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + public string? Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + public bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemLabels.g.cs deleted file mode 100644 index 71ba9010..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemLabels.g.cs +++ /dev/null @@ -1,59 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class IssueSearchResultItemLabels - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - public string? Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - public bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemTextMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemTextMatches.g.cs deleted file mode 100644 index ce3a8b94..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemTextMatches.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class IssueSearchResultItemTextMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_url")] - public string? ObjectUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_type")] - public string? ObjectType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("property")] - public string? Property { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("fragment")] - public string? Fragment { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("matches")] - public global::System.Collections.Generic.IList? Matches { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemTextMatchesMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemTextMatchesMatches.g.cs deleted file mode 100644 index 316c5a5b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.IssueSearchResultItemTextMatchesMatches.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class IssueSearchResultItemTextMatchesMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("text")] - public string? Text { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("indices")] - public global::System.Collections.Generic.IList? Indices { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesAddAssigneesRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesAddAssigneesRequest.g.cs index 1c5fd6a8..716e043e 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.IssuesAddAssigneesRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesAddAssigneesRequest.g.cs @@ -12,7 +12,7 @@ public sealed partial class IssuesAddAssigneesRequest /// Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._ /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] - public global::System.Collections.Generic.IList? Assignees { get; set; } + public global::System.Collections.Generic.IList? Assignees { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant1.g.cs index c20bdd0d..c9bbb1f7 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant1.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant1.g.cs @@ -12,7 +12,7 @@ public sealed partial class IssuesAddLabelsRequestVariant1 /// The names of the labels to add to the issue's existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also replace all of the labels for an issue. For more information, see "[Set labels for an issue](https://docs.github.com/rest/issues/labels#set-labels-for-an-issue)." /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant3.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant3.g.cs index c40e9002..090a34c4 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant3.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant3.g.cs @@ -12,7 +12,7 @@ public sealed partial class IssuesAddLabelsRequestVariant3 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant3Label.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant3Label.g.cs new file mode 100644 index 00000000..a3d19f17 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant3Label.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class IssuesAddLabelsRequestVariant3Label + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant3Labels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant3Labels.g.cs deleted file mode 100644 index 2ccc4a0e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant3Labels.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class IssuesAddLabelsRequestVariant3Labels - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant4Item.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant4Item.g.cs new file mode 100644 index 00000000..4780c9c7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesAddLabelsRequestVariant4Item.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class IssuesAddLabelsRequestVariant4Item + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesCreateRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesCreateRequest.g.cs index 002a24de..912de680 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.IssuesCreateRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesCreateRequest.g.cs @@ -16,7 +16,7 @@ public sealed partial class IssuesCreateRequest [global::System.Text.Json.Serialization.JsonPropertyName("title")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.OneOf Title { get; set; } + public required global::System.OneOf Title { get; set; } /// /// The contents of the issue. @@ -41,13 +41,13 @@ public sealed partial class IssuesCreateRequest /// Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList?>? Labels { get; set; } + public global::System.Collections.Generic.IList>? Labels { get; set; } /// /// Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] - public global::System.Collections.Generic.IList? Assignees { get; set; } + public global::System.Collections.Generic.IList? Assignees { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesCreateRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesCreateRequestLabel.g.cs new file mode 100644 index 00000000..d49bb6fd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesCreateRequestLabel.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class IssuesCreateRequestLabel + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + public string? Color { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesRemoveAssigneesRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesRemoveAssigneesRequest.g.cs index ac6151bc..3a46c48d 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.IssuesRemoveAssigneesRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesRemoveAssigneesRequest.g.cs @@ -12,7 +12,7 @@ public sealed partial class IssuesRemoveAssigneesRequest /// Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._ /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] - public global::System.Collections.Generic.IList? Assignees { get; set; } + public global::System.Collections.Generic.IList? Assignees { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant1.g.cs index b061a168..5e34428d 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant1.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant1.g.cs @@ -12,7 +12,7 @@ public sealed partial class IssuesSetLabelsRequestVariant1 /// The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see "[Add labels to an issue](https://docs.github.com/rest/issues/labels#add-labels-to-an-issue)." /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant3.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant3.g.cs index 1ddf2f29..10b32277 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant3.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant3.g.cs @@ -12,7 +12,7 @@ public sealed partial class IssuesSetLabelsRequestVariant3 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant3Label.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant3Label.g.cs new file mode 100644 index 00000000..cb6ac12e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant3Label.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class IssuesSetLabelsRequestVariant3Label + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant3Labels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant3Labels.g.cs deleted file mode 100644 index 16d478e1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant3Labels.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class IssuesSetLabelsRequestVariant3Labels - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant4Item.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant4Item.g.cs new file mode 100644 index 00000000..3f945e68 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesSetLabelsRequestVariant4Item.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class IssuesSetLabelsRequestVariant4Item + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesUpdateRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesUpdateRequest.g.cs index eb78fedb..384602a8 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.IssuesUpdateRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesUpdateRequest.g.cs @@ -55,13 +55,13 @@ public sealed partial class IssuesUpdateRequest /// Labels to associate with this issue. Pass one or more labels to _replace_ the set of labels on this issue. Send an empty array (`[]`) to clear all labels from the issue. Only users with push access can set labels for issues. Without push access to the repository, label changes are silently dropped. /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList?>? Labels { get; set; } + public global::System.Collections.Generic.IList>? Labels { get; set; } /// /// Usernames to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this issue. Send an empty array (`[]`) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped. /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] - public global::System.Collections.Generic.IList? Assignees { get; set; } + public global::System.Collections.Generic.IList? Assignees { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.IssuesUpdateRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.IssuesUpdateRequestLabel.g.cs new file mode 100644 index 00000000..bd008c0c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.IssuesUpdateRequestLabel.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class IssuesUpdateRequestLabel + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + public string? Color { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.Job.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Job.g.cs index cc2dbd3f..41d6b44f 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Job.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Job.g.cs @@ -118,7 +118,7 @@ public sealed partial class Job /// Steps in this job. /// [global::System.Text.Json.Serialization.JsonPropertyName("steps")] - public global::System.Collections.Generic.IList? Steps { get; set; } + public global::System.Collections.Generic.IList? Steps { get; set; } /// /// Example: https://api.github.com/repos/github/hello-world/check-runs/4 diff --git a/src/libs/GitHub/Generated/GitHub.Models.JobStep.g.cs b/src/libs/GitHub/Generated/GitHub.Models.JobStep.g.cs new file mode 100644 index 00000000..d9c66268 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.JobStep.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class JobStep + { + /// + /// The phase of the lifecycle that the job is currently in.
+ /// Example: queued + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.JobStepStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.JobStepStatus Status { get; set; } + + /// + /// The outcome of the job.
+ /// Example: success + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Conclusion { get; set; } + + /// + /// The name of the job.
+ /// Example: test-coverage + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Example: 1 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// The time that the step started, in ISO 8601 format. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + public global::System.DateTime? StartedAt { get; set; } + + /// + /// The time that the job finished, in ISO 8601 format. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] + public global::System.DateTime? CompletedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.JobStepStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.JobStepStatus.g.cs new file mode 100644 index 00000000..5b570b14 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.JobStepStatus.g.cs @@ -0,0 +1,58 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The phase of the lifecycle that the job is currently in.
+ /// Example: queued + ///
+ public enum JobStepStatus + { + /// + /// + /// + Queued, + /// + /// + /// + InProgress, + /// + /// + /// + Completed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class JobStepStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this JobStepStatus value) + { + return value switch + { + JobStepStatus.Queued => "queued", + JobStepStatus.InProgress => "in_progress", + JobStepStatus.Completed => "completed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static JobStepStatus? ToEnum(string value) + { + return value switch + { + "queued" => JobStepStatus.Queued, + "in_progress" => JobStepStatus.InProgress, + "completed" => JobStepStatus.Completed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.JobSteps.g.cs b/src/libs/GitHub/Generated/GitHub.Models.JobSteps.g.cs deleted file mode 100644 index 5d1126c8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.JobSteps.g.cs +++ /dev/null @@ -1,61 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class JobSteps - { - /// - /// The phase of the lifecycle that the job is currently in.
- /// Example: queued - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.JobStepsStatusJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.JobStepsStatus Status { get; set; } - - /// - /// The outcome of the job.
- /// Example: success - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Conclusion { get; set; } - - /// - /// The name of the job.
- /// Example: test-coverage - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// Example: 1 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// The time that the step started, in ISO 8601 format. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] - public global::System.DateTime? StartedAt { get; set; } - - /// - /// The time that the job finished, in ISO 8601 format. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] - public global::System.DateTime? CompletedAt { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.JobStepsStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.JobStepsStatus.g.cs deleted file mode 100644 index ead632da..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.JobStepsStatus.g.cs +++ /dev/null @@ -1,58 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The phase of the lifecycle that the job is currently in.
- /// Example: queued - ///
- public enum JobStepsStatus - { - /// - /// - /// - Queued, - /// - /// - /// - InProgress, - /// - /// - /// - Completed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class JobStepsStatusExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this JobStepsStatus value) - { - return value switch - { - JobStepsStatus.Queued => "queued", - JobStepsStatus.InProgress => "in_progress", - JobStepsStatus.Completed => "completed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static JobStepsStatus? ToEnum(string value) - { - return value switch - { - "queued" => JobStepsStatus.Queued, - "in_progress" => JobStepsStatus.InProgress, - "completed" => JobStepsStatus.Completed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.LabelSearchResultItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.LabelSearchResultItem.g.cs index 76fb0be5..68258bc6 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.LabelSearchResultItem.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.LabelSearchResultItem.g.cs @@ -68,7 +68,7 @@ public sealed partial class LabelSearchResultItem /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("text_matches")] - public global::System.Collections.Generic.IList? TextMatches { get; set; } + public global::System.Collections.Generic.IList? TextMatches { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.LabelSearchResultItemTextMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.LabelSearchResultItemTextMatches.g.cs deleted file mode 100644 index 30881b6c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.LabelSearchResultItemTextMatches.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class LabelSearchResultItemTextMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_url")] - public string? ObjectUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_type")] - public string? ObjectType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("property")] - public string? Property { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("fragment")] - public string? Fragment { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("matches")] - public global::System.Collections.Generic.IList? Matches { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.LabelSearchResultItemTextMatchesMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.LabelSearchResultItemTextMatchesMatches.g.cs deleted file mode 100644 index 60f4f2d6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.LabelSearchResultItemTextMatchesMatches.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class LabelSearchResultItemTextMatchesMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("text")] - public string? Text { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("indices")] - public global::System.Collections.Generic.IList? Indices { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.Manifest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Manifest.g.cs index db8b22f6..1d6e4001 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Manifest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Manifest.g.cs @@ -32,7 +32,7 @@ public sealed partial class Manifest /// A collection of resolved package dependencies. /// [global::System.Text.Json.Serialization.JsonPropertyName("resolved")] - public object? Resolved { get; set; } + public global::GitHub.ManifestResolved? Resolved { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ManifestResolved.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ManifestResolved.g.cs new file mode 100644 index 00000000..497cb070 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ManifestResolved.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// A collection of resolved package dependencies. + /// + public sealed partial class ManifestResolved + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.MarketplacePurchase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MarketplacePurchase.g.cs index f0744e50..67caa0ab 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.MarketplacePurchase.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.MarketplacePurchase.g.cs @@ -59,7 +59,7 @@ public sealed partial class MarketplacePurchase /// [global::System.Text.Json.Serialization.JsonPropertyName("marketplace_purchase")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.MarketplacePurchaseMarketplacePurchase MarketplacePurchase1 { get; set; } + public required global::GitHub.MarketplacePurchaseMarketplacePurchase1 MarketplacePurchase1 { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.MarketplacePurchaseMarketplacePurchase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MarketplacePurchaseMarketplacePurchase.g.cs deleted file mode 100644 index 8d717d1b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.MarketplacePurchaseMarketplacePurchase.g.cs +++ /dev/null @@ -1,65 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class MarketplacePurchaseMarketplacePurchase - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("billing_cycle")] - public string? BillingCycle { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("next_billing_date")] - public string? NextBillingDate { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("is_installed")] - public bool IsInstalled { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("unit_count")] - public int? UnitCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("on_free_trial")] - public bool OnFreeTrial { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("free_trial_ends_on")] - public string? FreeTrialEndsOn { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - public string? UpdatedAt { get; set; } - - /// - /// Marketplace Listing Plan - /// - [global::System.Text.Json.Serialization.JsonPropertyName("plan")] - public global::GitHub.MarketplaceListingPlan? Plan { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.MarketplacePurchaseMarketplacePurchase1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MarketplacePurchaseMarketplacePurchase1.g.cs new file mode 100644 index 00000000..83fe700c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.MarketplacePurchaseMarketplacePurchase1.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class MarketplacePurchaseMarketplacePurchase1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("billing_cycle")] + public string? BillingCycle { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("next_billing_date")] + public string? NextBillingDate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_installed")] + public bool IsInstalled { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit_count")] + public int? UnitCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("on_free_trial")] + public bool OnFreeTrial { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("free_trial_ends_on")] + public string? FreeTrialEndsOn { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public string? UpdatedAt { get; set; } + + /// + /// Marketplace Listing Plan + /// + [global::System.Text.Json.Serialization.JsonPropertyName("plan")] + public global::GitHub.MarketplaceListingPlan? Plan { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.Migration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Migration.g.cs index 4e117e71..e3c73f6f 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Migration.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Migration.g.cs @@ -130,7 +130,7 @@ public sealed partial class Migration /// Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: `"repositories"`. /// [global::System.Text.Json.Serialization.JsonPropertyName("exclude")] - public global::System.Collections.Generic.IList? Exclude { get; set; } + public global::System.Collections.Generic.IList? Exclude { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.MigrationsGetStatusForOrgExclude.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MigrationsGetStatusForOrgExclude.g.cs deleted file mode 100644 index a3a02846..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.MigrationsGetStatusForOrgExclude.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum MigrationsGetStatusForOrgExclude - { - /// - /// - /// - Repositories, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class MigrationsGetStatusForOrgExcludeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this MigrationsGetStatusForOrgExclude value) - { - return value switch - { - MigrationsGetStatusForOrgExclude.Repositories => "repositories", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static MigrationsGetStatusForOrgExclude? ToEnum(string value) - { - return value switch - { - "repositories" => MigrationsGetStatusForOrgExclude.Repositories, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.MigrationsGetStatusForOrgExcludeItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MigrationsGetStatusForOrgExcludeItem.g.cs new file mode 100644 index 00000000..566f86d8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.MigrationsGetStatusForOrgExcludeItem.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Allowed values that can be passed to the exclude param.
+ /// Example: repositories + ///
+ public enum MigrationsGetStatusForOrgExcludeItem + { + /// + /// + /// + Repositories, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class MigrationsGetStatusForOrgExcludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this MigrationsGetStatusForOrgExcludeItem value) + { + return value switch + { + MigrationsGetStatusForOrgExcludeItem.Repositories => "repositories", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static MigrationsGetStatusForOrgExcludeItem? ToEnum(string value) + { + return value switch + { + "repositories" => MigrationsGetStatusForOrgExcludeItem.Repositories, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.MigrationsListForOrgExclude.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MigrationsListForOrgExclude.g.cs deleted file mode 100644 index 2ce108f1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.MigrationsListForOrgExclude.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum MigrationsListForOrgExclude - { - /// - /// - /// - Repositories, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class MigrationsListForOrgExcludeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this MigrationsListForOrgExclude value) - { - return value switch - { - MigrationsListForOrgExclude.Repositories => "repositories", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static MigrationsListForOrgExclude? ToEnum(string value) - { - return value switch - { - "repositories" => MigrationsListForOrgExclude.Repositories, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.MigrationsListForOrgExcludeItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MigrationsListForOrgExcludeItem.g.cs new file mode 100644 index 00000000..cadb1baf --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.MigrationsListForOrgExcludeItem.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Allowed values that can be passed to the exclude param.
+ /// Example: repositories + ///
+ public enum MigrationsListForOrgExcludeItem + { + /// + /// + /// + Repositories, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class MigrationsListForOrgExcludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this MigrationsListForOrgExcludeItem value) + { + return value switch + { + MigrationsListForOrgExcludeItem.Repositories => "repositories", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static MigrationsListForOrgExcludeItem? ToEnum(string value) + { + return value switch + { + "repositories" => MigrationsListForOrgExcludeItem.Repositories, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForAuthenticatedUserRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForAuthenticatedUserRequest.g.cs index f4eb557e..06df64e7 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForAuthenticatedUserRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForAuthenticatedUserRequest.g.cs @@ -63,7 +63,7 @@ public sealed partial class MigrationsStartForAuthenticatedUserRequest /// Example: [repositories] ///
[global::System.Text.Json.Serialization.JsonPropertyName("exclude")] - public global::System.Collections.Generic.IList? Exclude { get; set; } + public global::System.Collections.Generic.IList? Exclude { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForAuthenticatedUserRequestExclude.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForAuthenticatedUserRequestExclude.g.cs deleted file mode 100644 index ba5a3f99..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForAuthenticatedUserRequestExclude.g.cs +++ /dev/null @@ -1,46 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Allowed values that can be passed to the exclude param.
- /// Example: repositories - ///
- public enum MigrationsStartForAuthenticatedUserRequestExclude - { - /// - /// - /// - Repositories, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class MigrationsStartForAuthenticatedUserRequestExcludeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this MigrationsStartForAuthenticatedUserRequestExclude value) - { - return value switch - { - MigrationsStartForAuthenticatedUserRequestExclude.Repositories => "repositories", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static MigrationsStartForAuthenticatedUserRequestExclude? ToEnum(string value) - { - return value switch - { - "repositories" => MigrationsStartForAuthenticatedUserRequestExclude.Repositories, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForAuthenticatedUserRequestExcludeItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForAuthenticatedUserRequestExcludeItem.g.cs new file mode 100644 index 00000000..92b0500c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForAuthenticatedUserRequestExcludeItem.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Allowed values that can be passed to the exclude param.
+ /// Example: repositories + ///
+ public enum MigrationsStartForAuthenticatedUserRequestExcludeItem + { + /// + /// + /// + Repositories, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class MigrationsStartForAuthenticatedUserRequestExcludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this MigrationsStartForAuthenticatedUserRequestExcludeItem value) + { + return value switch + { + MigrationsStartForAuthenticatedUserRequestExcludeItem.Repositories => "repositories", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static MigrationsStartForAuthenticatedUserRequestExcludeItem? ToEnum(string value) + { + return value switch + { + "repositories" => MigrationsStartForAuthenticatedUserRequestExcludeItem.Repositories, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForOrgRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForOrgRequest.g.cs index f98ad485..9946259c 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForOrgRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForOrgRequest.g.cs @@ -73,7 +73,7 @@ public sealed partial class MigrationsStartForOrgRequest /// Exclude related items from being returned in the response in order to improve performance of the request. ///
[global::System.Text.Json.Serialization.JsonPropertyName("exclude")] - public global::System.Collections.Generic.IList? Exclude { get; set; } + public global::System.Collections.Generic.IList? Exclude { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForOrgRequestExclude.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForOrgRequestExclude.g.cs deleted file mode 100644 index 486e2aa3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForOrgRequestExclude.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum MigrationsStartForOrgRequestExclude - { - /// - /// - /// - Repositories, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class MigrationsStartForOrgRequestExcludeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this MigrationsStartForOrgRequestExclude value) - { - return value switch - { - MigrationsStartForOrgRequestExclude.Repositories => "repositories", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static MigrationsStartForOrgRequestExclude? ToEnum(string value) - { - return value switch - { - "repositories" => MigrationsStartForOrgRequestExclude.Repositories, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForOrgRequestExcludeItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForOrgRequestExcludeItem.g.cs new file mode 100644 index 00000000..458ebb4e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.MigrationsStartForOrgRequestExcludeItem.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum MigrationsStartForOrgRequestExcludeItem + { + /// + /// + /// + Repositories, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class MigrationsStartForOrgRequestExcludeItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this MigrationsStartForOrgRequestExcludeItem value) + { + return value switch + { + MigrationsStartForOrgRequestExcludeItem.Repositories => "repositories", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static MigrationsStartForOrgRequestExcludeItem? ToEnum(string value) + { + return value switch + { + "repositories" => MigrationsStartForOrgRequestExcludeItem.Repositories, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.MinimalRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.MinimalRepository.g.cs index 53b1aefe..9fbd01d4 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.MinimalRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.MinimalRepository.g.cs @@ -418,7 +418,7 @@ public sealed partial class MinimalRepository /// /// [global::System.Text.Json.Serialization.JsonPropertyName("topics")] - public global::System.Collections.Generic.IList? Topics { get; set; } + public global::System.Collections.Generic.IList? Topics { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.NullableIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.NullableIssue.g.cs index a7eb79f8..95544453 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.NullableIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.NullableIssue.g.cs @@ -119,7 +119,7 @@ public sealed partial class NullableIssue /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> Labels { get; set; } + public required global::System.Collections.Generic.IList> Labels { get; set; } /// /// A GitHub user. diff --git a/src/libs/GitHub/Generated/GitHub.Models.NullableIssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.NullableIssueLabel.g.cs new file mode 100644 index 00000000..021571c9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.NullableIssueLabel.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class NullableIssueLabel + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + public string? Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + public bool Default { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.NullableMinimalRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.NullableMinimalRepository.g.cs index fb3d1616..97e4d4a8 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.NullableMinimalRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.NullableMinimalRepository.g.cs @@ -418,7 +418,7 @@ public sealed partial class NullableMinimalRepository /// /// [global::System.Text.Json.Serialization.JsonPropertyName("topics")] - public global::System.Collections.Generic.IList? Topics { get; set; } + public global::System.Collections.Generic.IList? Topics { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.NullableRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.NullableRepository.g.cs index 466d3837..78986a82 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.NullableRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.NullableRepository.g.cs @@ -458,7 +458,7 @@ public sealed partial class NullableRepository /// /// [global::System.Text.Json.Serialization.JsonPropertyName("topics")] - public global::System.Collections.Generic.IList? Topics { get; set; } + public global::System.Collections.Generic.IList? Topics { get; set; } /// /// Whether issues are enabled.
diff --git a/src/libs/GitHub/Generated/GitHub.Models.NullableRepositoryWebhooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.NullableRepositoryWebhooks.g.cs index a87df211..d428928d 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.NullableRepositoryWebhooks.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.NullableRepositoryWebhooks.g.cs @@ -465,13 +465,13 @@ public sealed partial class NullableRepositoryWebhooks /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("topics")] - public global::System.Collections.Generic.IList? Topics { get; set; } + public global::System.Collections.Generic.IList? Topics { get; set; } /// /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_properties")] - public object? CustomProperties { get; set; } + public global::GitHub.NullableRepositoryWebhooksCustomProperties? CustomProperties { get; set; } /// /// Whether issues are enabled.
diff --git a/src/libs/GitHub/Generated/GitHub.Models.NullableRepositoryWebhooksCustomProperties.g.cs b/src/libs/GitHub/Generated/GitHub.Models.NullableRepositoryWebhooksCustomProperties.g.cs new file mode 100644 index 00000000..311101bf --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.NullableRepositoryWebhooksCustomProperties.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + public sealed partial class NullableRepositoryWebhooksCustomProperties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.NullableRepositoryWebhooksTemplateRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.NullableRepositoryWebhooksTemplateRepository.g.cs index 37b6ba32..277025e5 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.NullableRepositoryWebhooksTemplateRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.NullableRepositoryWebhooksTemplateRepository.g.cs @@ -372,7 +372,7 @@ public sealed partial class NullableRepositoryWebhooksTemplateRepository /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("topics")] - public global::System.Collections.Generic.IList? Topics { get; set; } + public global::System.Collections.Generic.IList? Topics { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.NullableScopedInstallation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.NullableScopedInstallation.g.cs index 74fcafcd..f3948936 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.NullableScopedInstallation.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.NullableScopedInstallation.g.cs @@ -40,7 +40,7 @@ public sealed partial class NullableScopedInstallation /// Example: [config.yml, .github/issue_TEMPLATE.md] /// [global::System.Text.Json.Serialization.JsonPropertyName("single_file_paths")] - public global::System.Collections.Generic.IList? SingleFilePaths { get; set; } + public global::System.Collections.Generic.IList? SingleFilePaths { get; set; } /// /// Example: https://api.github.com/users/octocat/repos diff --git a/src/libs/GitHub/Generated/GitHub.Models.OidcCustomSubRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OidcCustomSubRepo.g.cs index 27267e7c..ca8a70b6 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.OidcCustomSubRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.OidcCustomSubRepo.g.cs @@ -19,7 +19,7 @@ public sealed partial class OidcCustomSubRepo /// Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. /// [global::System.Text.Json.Serialization.JsonPropertyName("include_claim_keys")] - public global::System.Collections.Generic.IList? IncludeClaimKeys { get; set; } + public global::System.Collections.Generic.IList? IncludeClaimKeys { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgCustomProperty.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgCustomProperty.g.cs index 8555f5f1..7ed032e1 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgCustomProperty.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgCustomProperty.g.cs @@ -37,7 +37,7 @@ public sealed partial class OrgCustomProperty /// [global::System.Text.Json.Serialization.JsonPropertyName("default_value")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf?>? DefaultValue { get; set; } + public global::System.OneOf?>? DefaultValue { get; set; } /// /// Short description of the property @@ -50,7 +50,7 @@ public sealed partial class OrgCustomProperty /// The property can have up to 200 allowed values. /// [global::System.Text.Json.Serialization.JsonPropertyName("allowed_values")] - public global::System.Collections.Generic.IList? AllowedValues { get; set; } + public global::System.Collections.Generic.IList? AllowedValues { get; set; } /// /// Who can edit the values of the property
diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditions.g.cs index 67876f71..580b0f68 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditions.g.cs @@ -14,9 +14,9 @@ namespace GitHub /// ///
#if NET6_0_OR_GREATER - public object? Value1 { get; init; } + public global::System.AllOf? Value1 { get; init; } #else - public object? Value1 { get; } + public global::System.AllOf? Value1 { get; } #endif /// @@ -30,17 +30,17 @@ namespace GitHub /// /// /// - public static implicit operator OrgRulesetConditions(object value) => new OrgRulesetConditions(value); + public static implicit operator OrgRulesetConditions(global::System.AllOf value) => new OrgRulesetConditions(value); /// /// /// - public static implicit operator object?(OrgRulesetConditions @this) => @this.Value1; + public static implicit operator global::System.AllOf?(OrgRulesetConditions @this) => @this.Value1; /// /// /// - public OrgRulesetConditions(object? value) + public OrgRulesetConditions(global::System.AllOf? value) { Value1 = value; } @@ -49,9 +49,9 @@ public OrgRulesetConditions(object? value) /// /// #if NET6_0_OR_GREATER - public object? Value2 { get; init; } + public global::System.AllOf? Value2 { get; init; } #else - public object? Value2 { get; } + public global::System.AllOf? Value2 { get; } #endif /// @@ -65,17 +65,17 @@ public OrgRulesetConditions(object? value) /// /// /// - public static implicit operator OrgRulesetConditions(object value) => new OrgRulesetConditions(value); + public static implicit operator OrgRulesetConditions(global::System.AllOf value) => new OrgRulesetConditions(value); /// /// /// - public static implicit operator object?(OrgRulesetConditions @this) => @this.Value2; + public static implicit operator global::System.AllOf?(OrgRulesetConditions @this) => @this.Value2; /// /// /// - public OrgRulesetConditions(object? value) + public OrgRulesetConditions(global::System.AllOf? value) { Value2 = value; } @@ -84,9 +84,9 @@ public OrgRulesetConditions(object? value) /// /// #if NET6_0_OR_GREATER - public object? Value3 { get; init; } + public global::System.AllOf? Value3 { get; init; } #else - public object? Value3 { get; } + public global::System.AllOf? Value3 { get; } #endif /// @@ -100,17 +100,17 @@ public OrgRulesetConditions(object? value) /// /// /// - public static implicit operator OrgRulesetConditions(object value) => new OrgRulesetConditions(value); + public static implicit operator OrgRulesetConditions(global::System.AllOf value) => new OrgRulesetConditions(value); /// /// /// - public static implicit operator object?(OrgRulesetConditions @this) => @this.Value3; + public static implicit operator global::System.AllOf?(OrgRulesetConditions @this) => @this.Value3; /// /// /// - public OrgRulesetConditions(object? value) + public OrgRulesetConditions(global::System.AllOf? value) { Value3 = value; } @@ -119,9 +119,9 @@ public OrgRulesetConditions(object? value) /// /// public OrgRulesetConditions( - object? value1, - object? value2, - object? value3 + global::System.AllOf? value1, + global::System.AllOf? value2, + global::System.AllOf? value3 ) { Value1 = value1; @@ -154,11 +154,11 @@ public override int GetHashCode() var fields = new object?[] { Value1, - typeof(object), + typeof(global::System.AllOf), Value2, - typeof(object), + typeof(global::System.AllOf), Value3, - typeof(object), + typeof(global::System.AllOf), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -174,9 +174,9 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(OrgRulesetConditions other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value3, other.Value3) + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value1, other.Value1) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value2, other.Value2) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value3, other.Value3) ; } diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditionsVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditionsVariant1.g.cs deleted file mode 100644 index d014095d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditionsVariant1.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Conditions to target repositories by name and refs by name - /// - public sealed partial class OrgRulesetConditionsVariant1 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditionsVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditionsVariant2.g.cs deleted file mode 100644 index 849ad775..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditionsVariant2.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Conditions to target repositories by id and refs by name - /// - public sealed partial class OrgRulesetConditionsVariant2 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditionsVariant3.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditionsVariant3.g.cs deleted file mode 100644 index 73b96ea3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgRulesetConditionsVariant3.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Conditions to target repositories by property and refs by name - /// - public sealed partial class OrgRulesetConditionsVariant3 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissions.g.cs index 0eee133f..3bea8475 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissions.g.cs @@ -12,19 +12,19 @@ public sealed partial class OrganizationProgrammaticAccessGrantPermissions /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("organization")] - public object? Organization { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantPermissionsOrganization? Organization { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("repository")] - public object? Repository { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantPermissionsRepository? Repository { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("other")] - public object? Other { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantPermissionsOther? Other { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissionsOrganization.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissionsOrganization.g.cs new file mode 100644 index 00000000..d5f07ca7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissionsOrganization.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class OrganizationProgrammaticAccessGrantPermissionsOrganization + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissionsOther.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissionsOther.g.cs new file mode 100644 index 00000000..d18e84bf --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissionsOther.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class OrganizationProgrammaticAccessGrantPermissionsOther + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissionsRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissionsRepository.g.cs new file mode 100644 index 00000000..923bdaaf --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantPermissionsRepository.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class OrganizationProgrammaticAccessGrantPermissionsRepository + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissions.g.cs index a9ec51f8..0c73e1b2 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissions.g.cs @@ -12,19 +12,19 @@ public sealed partial class OrganizationProgrammaticAccessGrantRequestPermission /// /// [global::System.Text.Json.Serialization.JsonPropertyName("organization")] - public object? Organization { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantRequestPermissionsOrganization? Organization { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("repository")] - public object? Repository { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantRequestPermissionsRepository? Repository { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("other")] - public object? Other { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantRequestPermissionsOther? Other { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissionsOrganization.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissionsOrganization.g.cs new file mode 100644 index 00000000..02985cf6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissionsOrganization.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class OrganizationProgrammaticAccessGrantRequestPermissionsOrganization + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissionsOther.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissionsOther.g.cs new file mode 100644 index 00000000..72a93067 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissionsOther.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class OrganizationProgrammaticAccessGrantRequestPermissionsOther + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissionsRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissionsRepository.g.cs new file mode 100644 index 00000000..dfb09aea --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.OrganizationProgrammaticAccessGrantRequestPermissionsRepository.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class OrganizationProgrammaticAccessGrantRequestPermissionsRepository + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsCreateOrUpdateCustomPropertyRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsCreateOrUpdateCustomPropertyRequest.g.cs index 571700c6..a66bd7e5 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgsCreateOrUpdateCustomPropertyRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgsCreateOrUpdateCustomPropertyRequest.g.cs @@ -30,7 +30,7 @@ public sealed partial class OrgsCreateOrUpdateCustomPropertyRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("default_value")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf?>? DefaultValue { get; set; } + public global::System.OneOf?>? DefaultValue { get; set; } /// /// Short description of the property @@ -43,7 +43,7 @@ public sealed partial class OrgsCreateOrUpdateCustomPropertyRequest /// The property can have up to 200 allowed values. /// [global::System.Text.Json.Serialization.JsonPropertyName("allowed_values")] - public global::System.Collections.Generic.IList? AllowedValues { get; set; } + public global::System.Collections.Generic.IList? AllowedValues { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsCreateWebhookRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsCreateWebhookRequest.g.cs index a4205083..4301bee8 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgsCreateWebhookRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgsCreateWebhookRequest.g.cs @@ -27,7 +27,7 @@ public sealed partial class OrgsCreateWebhookRequest /// Default Value: [push] /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsCreateWebhookRequestConfig.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsCreateWebhookRequestConfig.g.cs index 5ff4162b..a16ba727 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgsCreateWebhookRequestConfig.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgsCreateWebhookRequestConfig.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -36,8 +34,8 @@ public sealed partial class OrgsCreateWebhookRequestConfig /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("insecure_ssl")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? InsecureSsl { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookConfigInsecureSslJsonConverter))] + public global::GitHub.WebhookConfigInsecureSsl? InsecureSsl { get; set; } /// /// Example: "kdaigle" diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest.g.cs new file mode 100644 index 00000000..124a52b4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest.g.cs @@ -0,0 +1,25 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest + { + /// + /// CodeQL query suite to be used. If you specify the `query_suite` parameter, the default setup will be configured with this query suite only on all repositories that didn't have default setup already configured. It will not change the query suite on repositories that already have default setup configured.
+ /// If you don't specify any `query_suite` in your request, the preferred query suite of the organization will be applied. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("query_suite")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteJsonConverter))] + public global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite? QuerySuite { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite.g.cs new file mode 100644 index 00000000..c7c4d1e2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// CodeQL query suite to be used. If you specify the `query_suite` parameter, the default setup will be configured with this query suite only on all repositories that didn't have default setup already configured. It will not change the query suite on repositories that already have default setup configured.
+ /// If you don't specify any `query_suite` in your request, the preferred query suite of the organization will be applied. + ///
+ public enum OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite + { + /// + /// + /// + Default, + /// + /// + /// + Extended, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite value) + { + return value switch + { + OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite.Default => "default", + OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite.Extended => "extended", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite? ToEnum(string value) + { + return value switch + { + "default" => OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite.Default, + "extended" => OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite.Extended, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponse.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponse.g.cs index 3ba843c8..5dc50539 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponse.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponse.g.cs @@ -12,7 +12,7 @@ public sealed partial class OrgsListAttestationsResponse /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("attestations")] - public global::System.Collections.Generic.IList? Attestations { get; set; } + public global::System.Collections.Generic.IList? Attestations { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestation.g.cs new file mode 100644 index 00000000..70e33e61 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestation.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class OrgsListAttestationsResponseAttestation + { + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("bundle")] + public global::GitHub.OrgsListAttestationsResponseAttestationBundle? Bundle { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_id")] + public int RepositoryId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationBundle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationBundle.g.cs new file mode 100644 index 00000000..5a9a36fd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationBundle.g.cs @@ -0,0 +1,36 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ public sealed partial class OrgsListAttestationsResponseAttestationBundle + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mediaType")] + public string? MediaType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("verificationMaterial")] + public global::GitHub.OrgsListAttestationsResponseAttestationBundleVerificationMaterial? VerificationMaterial { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dsseEnvelope")] + public global::GitHub.OrgsListAttestationsResponseAttestationBundleDsseEnvelope? DsseEnvelope { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationBundleDsseEnvelope.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationBundleDsseEnvelope.g.cs new file mode 100644 index 00000000..fb44c1f5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationBundleDsseEnvelope.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class OrgsListAttestationsResponseAttestationBundleDsseEnvelope + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationBundleVerificationMaterial.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationBundleVerificationMaterial.g.cs new file mode 100644 index 00000000..89253074 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationBundleVerificationMaterial.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class OrgsListAttestationsResponseAttestationBundleVerificationMaterial + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestations.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestations.g.cs deleted file mode 100644 index 1c11fba7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestations.g.cs +++ /dev/null @@ -1,30 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class OrgsListAttestationsResponseAttestations - { - /// - /// The attestation's Sigstore Bundle.
- /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("bundle")] - public global::GitHub.OrgsListAttestationsResponseAttestationsBundle? Bundle { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_id")] - public int RepositoryId { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationsBundle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationsBundle.g.cs deleted file mode 100644 index 76afbae4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgsListAttestationsResponseAttestationsBundle.g.cs +++ /dev/null @@ -1,36 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The attestation's Sigstore Bundle.
- /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. - ///
- public sealed partial class OrgsListAttestationsResponseAttestationsBundle - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("mediaType")] - public string? MediaType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("verificationMaterial")] - public object? VerificationMaterial { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("dsseEnvelope")] - public object? DsseEnvelope { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsUpdateWebhookConfigForOrgRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsUpdateWebhookConfigForOrgRequest.g.cs index 65be3dcf..2236761c 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgsUpdateWebhookConfigForOrgRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgsUpdateWebhookConfigForOrgRequest.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -35,8 +33,8 @@ public sealed partial class OrgsUpdateWebhookConfigForOrgRequest /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("insecure_ssl")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? InsecureSsl { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookConfigInsecureSslJsonConverter))] + public global::GitHub.WebhookConfigInsecureSsl? InsecureSsl { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsUpdateWebhookRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsUpdateWebhookRequest.g.cs index 98e1ed98..60c6b241 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgsUpdateWebhookRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgsUpdateWebhookRequest.g.cs @@ -19,7 +19,7 @@ public sealed partial class OrgsUpdateWebhookRequest /// Default Value: [push] /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
diff --git a/src/libs/GitHub/Generated/GitHub.Models.OrgsUpdateWebhookRequestConfig.g.cs b/src/libs/GitHub/Generated/GitHub.Models.OrgsUpdateWebhookRequestConfig.g.cs index d4ebf2b0..d5c198e2 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.OrgsUpdateWebhookRequestConfig.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.OrgsUpdateWebhookRequestConfig.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -36,8 +34,8 @@ public sealed partial class OrgsUpdateWebhookRequestConfig /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("insecure_ssl")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? InsecureSsl { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookConfigInsecureSslJsonConverter))] + public global::GitHub.WebhookConfigInsecureSsl? InsecureSsl { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.PackageVersionMetadataDocker.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PackageVersionMetadataDocker.g.cs index af286466..ffd3d604 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PackageVersionMetadataDocker.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PackageVersionMetadataDocker.g.cs @@ -12,7 +12,7 @@ public sealed partial class PackageVersionMetadataDocker /// /// [global::System.Text.Json.Serialization.JsonPropertyName("tag")] - public global::System.Collections.Generic.IList? Tag { get; set; } + public global::System.Collections.Generic.IList? Tag { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.PageDeployment.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PageDeployment.g.cs index 9acb09ba..bb2680d0 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PageDeployment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PageDeployment.g.cs @@ -16,7 +16,7 @@ public sealed partial class PageDeployment [global::System.Text.Json.Serialization.JsonPropertyName("id")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.OneOf Id { get; set; } + public required global::System.OneOf Id { get; set; } /// /// The URI to monitor GitHub Pages deployment status.
diff --git a/src/libs/GitHub/Generated/GitHub.Models.PendingDeployment.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PendingDeployment.g.cs index 271c13c8..f4f9e93e 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PendingDeployment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PendingDeployment.g.cs @@ -43,7 +43,7 @@ public sealed partial class PendingDeployment ///
[global::System.Text.Json.Serialization.JsonPropertyName("reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Reviewers { get; set; } + public required global::System.Collections.Generic.IList Reviewers { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.PendingDeploymentReviewer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PendingDeploymentReviewer.g.cs new file mode 100644 index 00000000..a40420be --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PendingDeploymentReviewer.g.cs @@ -0,0 +1,34 @@ + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PendingDeploymentReviewer + { + /// + /// The type of reviewer.
+ /// Example: User + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.DeploymentReviewerTypeJsonConverter))] + public global::GitHub.DeploymentReviewerType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reviewer")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))] + public global::System.AnyOf? Reviewer { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PendingDeploymentReviewers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PendingDeploymentReviewers.g.cs deleted file mode 100644 index d03205e4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.PendingDeploymentReviewers.g.cs +++ /dev/null @@ -1,34 +0,0 @@ - -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class PendingDeploymentReviewers - { - /// - /// The type of reviewer.
- /// Example: User - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.DeploymentReviewerTypeJsonConverter))] - public global::GitHub.DeploymentReviewerType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("reviewer")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))] - public global::System.AnyOf? Reviewer { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequest.g.cs index 27bba649..3df674fc 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequest.g.cs @@ -63,7 +63,7 @@ public sealed partial class PersonalAccessTokenRequest ///
[global::System.Text.Json.Serialization.JsonPropertyName("repositories")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList? Repositories { get; set; } + public required global::System.Collections.Generic.IList? Repositories { get; set; } /// /// Date and time when the request for access was created. diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAdded.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAdded.g.cs index 068ad24e..b1a9fe76 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAdded.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAdded.g.cs @@ -12,19 +12,19 @@ public sealed partial class PersonalAccessTokenRequestPermissionsAdded /// /// [global::System.Text.Json.Serialization.JsonPropertyName("organization")] - public object? Organization { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsAddedOrganization? Organization { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("repository")] - public object? Repository { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsAddedRepository? Repository { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("other")] - public object? Other { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsAddedOther? Other { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAddedOrganization.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAddedOrganization.g.cs new file mode 100644 index 00000000..ecc056d4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAddedOrganization.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PersonalAccessTokenRequestPermissionsAddedOrganization + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAddedOther.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAddedOther.g.cs new file mode 100644 index 00000000..797f0d2d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAddedOther.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PersonalAccessTokenRequestPermissionsAddedOther + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAddedRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAddedRepository.g.cs new file mode 100644 index 00000000..5c4d4677 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsAddedRepository.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PersonalAccessTokenRequestPermissionsAddedRepository + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResult.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResult.g.cs index 71b16a84..4fcd8ba0 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResult.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResult.g.cs @@ -12,19 +12,19 @@ public sealed partial class PersonalAccessTokenRequestPermissionsResult /// /// [global::System.Text.Json.Serialization.JsonPropertyName("organization")] - public object? Organization { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsResultOrganization? Organization { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("repository")] - public object? Repository { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsResultRepository? Repository { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("other")] - public object? Other { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsResultOther? Other { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResultOrganization.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResultOrganization.g.cs new file mode 100644 index 00000000..fc2492cd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResultOrganization.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PersonalAccessTokenRequestPermissionsResultOrganization + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResultOther.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResultOther.g.cs new file mode 100644 index 00000000..4f5f2c80 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResultOther.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PersonalAccessTokenRequestPermissionsResultOther + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResultRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResultRepository.g.cs new file mode 100644 index 00000000..2bf6cc4d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsResultRepository.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PersonalAccessTokenRequestPermissionsResultRepository + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgraded.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgraded.g.cs index 4cae2bc4..ac455f1a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgraded.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgraded.g.cs @@ -12,19 +12,19 @@ public sealed partial class PersonalAccessTokenRequestPermissionsUpgraded /// /// [global::System.Text.Json.Serialization.JsonPropertyName("organization")] - public object? Organization { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsUpgradedOrganization? Organization { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("repository")] - public object? Repository { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsUpgradedRepository? Repository { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("other")] - public object? Other { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsUpgradedOther? Other { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgradedOrganization.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgradedOrganization.g.cs new file mode 100644 index 00000000..5bbfec86 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgradedOrganization.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PersonalAccessTokenRequestPermissionsUpgradedOrganization + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgradedOther.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgradedOther.g.cs new file mode 100644 index 00000000..e6503401 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgradedOther.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PersonalAccessTokenRequestPermissionsUpgradedOther + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgradedRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgradedRepository.g.cs new file mode 100644 index 00000000..b8f4390e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestPermissionsUpgradedRepository.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PersonalAccessTokenRequestPermissionsUpgradedRepository + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestRepositorie.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestRepositorie.g.cs new file mode 100644 index 00000000..a30e311e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestRepositorie.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PersonalAccessTokenRequestRepositorie + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string FullName { get; set; } + + /// + /// Unique identifier of the repository + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Whether the repository is private or public. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("private")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Private { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestRepositories.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestRepositories.g.cs deleted file mode 100644 index ef749148..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.PersonalAccessTokenRequestRepositories.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class PersonalAccessTokenRequestRepositories - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FullName { get; set; } - - /// - /// Unique identifier of the repository - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Whether the repository is private or public. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("private")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Private { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreate.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreate.g.cs index cfd89c7f..cfe9b0dc 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreate.g.cs @@ -26,13 +26,13 @@ public sealed partial class PrivateVulnerabilityReportCreate /// An array of products affected by the vulnerability detailed in a repository security advisory. /// [global::System.Text.Json.Serialization.JsonPropertyName("vulnerabilities")] - public global::System.Collections.Generic.IList? Vulnerabilities { get; set; } + public global::System.Collections.Generic.IList? Vulnerabilities { get; set; } /// /// A list of Common Weakness Enumeration (CWE) IDs. /// [global::System.Text.Json.Serialization.JsonPropertyName("cwe_ids")] - public global::System.Collections.Generic.IList? CweIds { get; set; } + public global::System.Collections.Generic.IList? CweIds { get; set; } /// /// The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. diff --git a/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilitie.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilitie.g.cs new file mode 100644 index 00000000..60be924a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilitie.g.cs @@ -0,0 +1,42 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PrivateVulnerabilityReportCreateVulnerabilitie + { + /// + /// The name of the package affected by the vulnerability. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("package")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.PrivateVulnerabilityReportCreateVulnerabilitiePackage Package { get; set; } + + /// + /// The range of the package versions affected by the vulnerability. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_version_range")] + public string? VulnerableVersionRange { get; set; } + + /// + /// The package version(s) that resolve the vulnerability. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("patched_versions")] + public string? PatchedVersions { get; set; } + + /// + /// The functions in the package that are affected. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_functions")] + public global::System.Collections.Generic.IList? VulnerableFunctions { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilitiePackage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilitiePackage.g.cs new file mode 100644 index 00000000..706062b1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilitiePackage.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The name of the package affected by the vulnerability. + /// + public sealed partial class PrivateVulnerabilityReportCreateVulnerabilitiePackage + { + /// + /// The package's language or package management ecosystem. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ecosystem")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryEcosystemsJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.SecurityAdvisoryEcosystems Ecosystem { get; set; } + + /// + /// The unique package name within its ecosystem. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilities.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilities.g.cs deleted file mode 100644 index fc43cf25..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilities.g.cs +++ /dev/null @@ -1,42 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class PrivateVulnerabilityReportCreateVulnerabilities - { - /// - /// The name of the package affected by the vulnerability. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("package")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.PrivateVulnerabilityReportCreateVulnerabilitiesPackage Package { get; set; } - - /// - /// The range of the package versions affected by the vulnerability. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_version_range")] - public string? VulnerableVersionRange { get; set; } - - /// - /// The package version(s) that resolve the vulnerability. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("patched_versions")] - public string? PatchedVersions { get; set; } - - /// - /// The functions in the package that are affected. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_functions")] - public global::System.Collections.Generic.IList? VulnerableFunctions { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilitiesPackage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilitiesPackage.g.cs deleted file mode 100644 index fdabb952..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.PrivateVulnerabilityReportCreateVulnerabilitiesPackage.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The name of the package affected by the vulnerability. - /// - public sealed partial class PrivateVulnerabilityReportCreateVulnerabilitiesPackage - { - /// - /// The package's language or package management ecosystem. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ecosystem")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryEcosystemsJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.SecurityAdvisoryEcosystems Ecosystem { get; set; } - - /// - /// The unique package name within its ecosystem. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponse.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponse.g.cs deleted file mode 100644 index a0eeb7b9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponse.g.cs +++ /dev/null @@ -1,41 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ProjectsCreateCardResponse - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("code")] - public string? Code { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("message")] - public string? Message { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("documentation_url")] - public string? DocumentationUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("errors")] - public global::System.Collections.Generic.IList? Errors { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponse2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponse2.g.cs new file mode 100644 index 00000000..ba305400 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponse2.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ProjectsCreateCardResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + public string? Code { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("documentation_url")] + public string? DocumentationUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("errors")] + public global::System.Collections.Generic.IList? Errors { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponseError.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponseError.g.cs new file mode 100644 index 00000000..bd0d181f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponseError.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ProjectsCreateCardResponseError + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + public string? Code { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponseErrors.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponseErrors.g.cs deleted file mode 100644 index b552a62f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ProjectsCreateCardResponseErrors.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ProjectsCreateCardResponseErrors - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("code")] - public string? Code { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("message")] - public string? Message { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProjectsDeleteCardResponse.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProjectsDeleteCardResponse.g.cs index d0f16cfa..744aa47d 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ProjectsDeleteCardResponse.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ProjectsDeleteCardResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class ProjectsDeleteCardResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("errors")] - public global::System.Collections.Generic.IList? Errors { get; set; } + public global::System.Collections.Generic.IList? Errors { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProjectsDeleteResponse.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProjectsDeleteResponse.g.cs index 50aaa345..5d9ce338 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ProjectsDeleteResponse.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ProjectsDeleteResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class ProjectsDeleteResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("errors")] - public global::System.Collections.Generic.IList? Errors { get; set; } + public global::System.Collections.Generic.IList? Errors { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponse2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponse2.g.cs new file mode 100644 index 00000000..df04fd55 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponse2.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ProjectsMoveCardResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("documentation_url")] + public string? DocumentationUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("errors")] + public global::System.Collections.Generic.IList? Errors { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponse3.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponse3.g.cs new file mode 100644 index 00000000..9a3475ff --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponse3.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ProjectsMoveCardResponse3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + public string? Code { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("documentation_url")] + public string? DocumentationUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("errors")] + public global::System.Collections.Generic.IList? Errors { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponseError.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponseError.g.cs new file mode 100644 index 00000000..468ab11d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponseError.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ProjectsMoveCardResponseError + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + public string? Code { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("resource")] + public string? Resource { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("field")] + public string? Field { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponseError2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponseError2.g.cs new file mode 100644 index 00000000..825829ec --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponseError2.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ProjectsMoveCardResponseError2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + public string? Code { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponseErrors.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponseErrors.g.cs deleted file mode 100644 index 00fb2873..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ProjectsMoveCardResponseErrors.g.cs +++ /dev/null @@ -1,41 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ProjectsMoveCardResponseErrors - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("code")] - public string? Code { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("message")] - public string? Message { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("resource")] - public string? Resource { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("field")] - public string? Field { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProjectsUpdateResponse.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProjectsUpdateResponse.g.cs index 3c75f280..49ccf8d9 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ProjectsUpdateResponse.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ProjectsUpdateResponse.g.cs @@ -24,7 +24,7 @@ public sealed partial class ProjectsUpdateResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("errors")] - public global::System.Collections.Generic.IList? Errors { get; set; } + public global::System.Collections.Generic.IList? Errors { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProtectedBranchRequiredStatusCheck.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProtectedBranchRequiredStatusCheck.g.cs index b6ff8c98..837bd0d0 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ProtectedBranchRequiredStatusCheck.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ProtectedBranchRequiredStatusCheck.g.cs @@ -32,7 +32,7 @@ public sealed partial class ProtectedBranchRequiredStatusCheck /// [global::System.Text.Json.Serialization.JsonPropertyName("checks")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Checks { get; set; } + public required global::System.Collections.Generic.IList Checks { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProtectedBranchRequiredStatusCheckCheck.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProtectedBranchRequiredStatusCheckCheck.g.cs new file mode 100644 index 00000000..72cf44c0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ProtectedBranchRequiredStatusCheckCheck.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ProtectedBranchRequiredStatusCheckCheck + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("context")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Context { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("app_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? AppId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ProtectedBranchRequiredStatusCheckChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ProtectedBranchRequiredStatusCheckChecks.g.cs deleted file mode 100644 index d1443025..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ProtectedBranchRequiredStatusCheckChecks.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ProtectedBranchRequiredStatusCheckChecks - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("context")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Context { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("app_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? AppId { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullRequest.g.cs index 4119f6db..669dca03 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PullRequest.g.cs @@ -143,7 +143,7 @@ public sealed partial class PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// A collection of related issues and pull requests. diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullRequestBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullRequestBaseRepo.g.cs index 02740042..d8de7929 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PullRequestBaseRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PullRequestBaseRepo.g.cs @@ -550,7 +550,7 @@ public sealed partial class PullRequestBaseRepo /// /// [global::System.Text.Json.Serialization.JsonPropertyName("topics")] - public global::System.Collections.Generic.IList? Topics { get; set; } + public global::System.Collections.Generic.IList? Topics { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullRequestHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullRequestHeadRepo.g.cs index 372bac10..9cca1914 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PullRequestHeadRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PullRequestHeadRepo.g.cs @@ -544,7 +544,7 @@ public sealed partial class PullRequestHeadRepo /// /// [global::System.Text.Json.Serialization.JsonPropertyName("topics")] - public global::System.Collections.Generic.IList? Topics { get; set; } + public global::System.Collections.Generic.IList? Topics { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullRequestLabel.g.cs new file mode 100644 index 00000000..3166cd96 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PullRequestLabel + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullRequestLabels.g.cs deleted file mode 100644 index 69ca5f96..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.PullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class PullRequestLabels - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullRequestSimple.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullRequestSimple.g.cs index 408d3a5e..3b85194a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PullRequestSimple.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PullRequestSimple.g.cs @@ -139,7 +139,7 @@ public sealed partial class PullRequestSimple /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// A collection of related issues and pull requests. diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullRequestSimpleLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullRequestSimpleLabel.g.cs new file mode 100644 index 00000000..cda8292a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PullRequestSimpleLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PullRequestSimpleLabel + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullRequestSimpleLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullRequestSimpleLabels.g.cs deleted file mode 100644 index 03c783a9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.PullRequestSimpleLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class PullRequestSimpleLabels - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullsCreateReviewRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullsCreateReviewRequest.g.cs index d540c0ca..f1fbf72d 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PullsCreateReviewRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PullsCreateReviewRequest.g.cs @@ -31,7 +31,7 @@ public sealed partial class PullsCreateReviewRequest /// Use the following table to specify the location, destination, and contents of the draft review comment. /// [global::System.Text.Json.Serialization.JsonPropertyName("comments")] - public global::System.Collections.Generic.IList? Comments { get; set; } + public global::System.Collections.Generic.IList? Comments { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullsCreateReviewRequestComment.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullsCreateReviewRequestComment.g.cs new file mode 100644 index 00000000..8f4719b1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PullsCreateReviewRequestComment.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PullsCreateReviewRequestComment + { + /// + /// The relative path to the file that necessitates a review comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("position")] + public int Position { get; set; } + + /// + /// Text of the review comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("body")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Body { get; set; } + + /// + /// Example: 28 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("line")] + public int Line { get; set; } + + /// + /// Example: RIGHT + /// + [global::System.Text.Json.Serialization.JsonPropertyName("side")] + public string? Side { get; set; } + + /// + /// Example: 26 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_line")] + public int StartLine { get; set; } + + /// + /// Example: LEFT + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_side")] + public string? StartSide { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullsCreateReviewRequestComments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullsCreateReviewRequestComments.g.cs deleted file mode 100644 index 1d653409..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.PullsCreateReviewRequestComments.g.cs +++ /dev/null @@ -1,61 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class PullsCreateReviewRequestComments - { - /// - /// The relative path to the file that necessitates a review comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("position")] - public int Position { get; set; } - - /// - /// Text of the review comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("body")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Body { get; set; } - - /// - /// Example: 28 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("line")] - public int Line { get; set; } - - /// - /// Example: RIGHT - /// - [global::System.Text.Json.Serialization.JsonPropertyName("side")] - public string? Side { get; set; } - - /// - /// Example: 26 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("start_line")] - public int StartLine { get; set; } - - /// - /// Example: LEFT - /// - [global::System.Text.Json.Serialization.JsonPropertyName("start_side")] - public string? StartSide { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullsMergeResponse2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullsMergeResponse2.g.cs new file mode 100644 index 00000000..aa60189e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PullsMergeResponse2.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PullsMergeResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("documentation_url")] + public string? DocumentationUrl { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullsRemoveRequestedReviewersRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullsRemoveRequestedReviewersRequest.g.cs index 53ee2af7..425f0954 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.PullsRemoveRequestedReviewersRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.PullsRemoveRequestedReviewersRequest.g.cs @@ -19,7 +19,7 @@ public sealed partial class PullsRemoveRequestedReviewersRequest /// An array of team `slug`s that will be removed. /// [global::System.Text.Json.Serialization.JsonPropertyName("team_reviewers")] - public global::System.Collections.Generic.IList? TeamReviewers { get; set; } + public global::System.Collections.Generic.IList? TeamReviewers { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullsRequestReviewersRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullsRequestReviewersRequest.g.cs new file mode 100644 index 00000000..1fd70fae --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PullsRequestReviewersRequest.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PullsRequestReviewersRequest + { + /// + /// An array of user `login`s that will be requested. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reviewers")] + public global::System.Collections.Generic.IList? Reviewers { get; set; } + + /// + /// An array of team `slug`s that will be requested. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("team_reviewers")] + public global::System.Collections.Generic.IList? TeamReviewers { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullsRequestReviewersRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullsRequestReviewersRequestVariant1.g.cs new file mode 100644 index 00000000..390f106e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PullsRequestReviewersRequestVariant1.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PullsRequestReviewersRequestVariant1 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.PullsRequestReviewersRequestVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.PullsRequestReviewersRequestVariant2.g.cs new file mode 100644 index 00000000..113b0c0b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.PullsRequestReviewersRequestVariant2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class PullsRequestReviewersRequestVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepoSearchResultItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepoSearchResultItem.g.cs index f43f0a2c..96f76faf 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.RepoSearchResultItem.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.RepoSearchResultItem.g.cs @@ -473,7 +473,7 @@ public sealed partial class RepoSearchResultItem /// /// [global::System.Text.Json.Serialization.JsonPropertyName("topics")] - public global::System.Collections.Generic.IList? Topics { get; set; } + public global::System.Collections.Generic.IList? Topics { get; set; } /// /// @@ -560,7 +560,7 @@ public sealed partial class RepoSearchResultItem /// /// [global::System.Text.Json.Serialization.JsonPropertyName("text_matches")] - public global::System.Collections.Generic.IList? TextMatches { get; set; } + public global::System.Collections.Generic.IList? TextMatches { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepoSearchResultItemTextMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepoSearchResultItemTextMatches.g.cs deleted file mode 100644 index c0e315fa..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RepoSearchResultItemTextMatches.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class RepoSearchResultItemTextMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_url")] - public string? ObjectUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_type")] - public string? ObjectType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("property")] - public string? Property { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("fragment")] - public string? Fragment { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("matches")] - public global::System.Collections.Generic.IList? Matches { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepoSearchResultItemTextMatchesMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepoSearchResultItemTextMatchesMatches.g.cs deleted file mode 100644 index 52c5bb6f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RepoSearchResultItemTextMatchesMatches.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class RepoSearchResultItemTextMatchesMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("text")] - public string? Text { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("indices")] - public global::System.Collections.Generic.IList? Indices { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposAddAppAccessRestrictionsRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposAddAppAccessRestrictionsRequest2.g.cs new file mode 100644 index 00000000..ce77ca86 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposAddAppAccessRestrictionsRequest2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposAddAppAccessRestrictionsRequest2 + { + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("apps")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Apps { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposAddAppAccessRestrictionsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposAddAppAccessRestrictionsRequestVariant1.g.cs deleted file mode 100644 index 2d573791..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposAddAppAccessRestrictionsRequestVariant1.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposAddAppAccessRestrictionsRequestVariant1 - { - /// - /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("apps")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Apps { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposAddStatusCheckContextsRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposAddStatusCheckContextsRequest2.g.cs new file mode 100644 index 00000000..964e224c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposAddStatusCheckContextsRequest2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposAddStatusCheckContextsRequest2 + { + /// + /// The name of the status checks + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contexts")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Contexts { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposAddStatusCheckContextsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposAddStatusCheckContextsRequestVariant1.g.cs deleted file mode 100644 index f7feaa20..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposAddStatusCheckContextsRequestVariant1.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposAddStatusCheckContextsRequestVariant1 - { - /// - /// The name of the status checks - /// - [global::System.Text.Json.Serialization.JsonPropertyName("contexts")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Contexts { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposAddTeamAccessRestrictionsRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposAddTeamAccessRestrictionsRequest2.g.cs new file mode 100644 index 00000000..da30a4a6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposAddTeamAccessRestrictionsRequest2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposAddTeamAccessRestrictionsRequest2 + { + /// + /// The slug values for teams + /// + [global::System.Text.Json.Serialization.JsonPropertyName("teams")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Teams { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposAddTeamAccessRestrictionsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposAddTeamAccessRestrictionsRequestVariant1.g.cs deleted file mode 100644 index 7e71ddde..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposAddTeamAccessRestrictionsRequestVariant1.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposAddTeamAccessRestrictionsRequestVariant1 - { - /// - /// The slug values for teams - /// - [global::System.Text.Json.Serialization.JsonPropertyName("teams")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Teams { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposAddUserAccessRestrictionsRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposAddUserAccessRestrictionsRequest2.g.cs new file mode 100644 index 00000000..69684674 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposAddUserAccessRestrictionsRequest2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposAddUserAccessRestrictionsRequest2 + { + /// + /// The username for users + /// + [global::System.Text.Json.Serialization.JsonPropertyName("users")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Users { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposAddUserAccessRestrictionsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposAddUserAccessRestrictionsRequestVariant1.g.cs deleted file mode 100644 index a82405ee..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposAddUserAccessRestrictionsRequestVariant1.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposAddUserAccessRestrictionsRequestVariant1 - { - /// - /// The username for users - /// - [global::System.Text.Json.Serialization.JsonPropertyName("users")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Users { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateAttestationRequestBundle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateAttestationRequestBundle.g.cs index 7630f72b..9ad79e1f 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateAttestationRequestBundle.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateAttestationRequestBundle.g.cs @@ -19,13 +19,13 @@ public sealed partial class ReposCreateAttestationRequestBundle /// /// [global::System.Text.Json.Serialization.JsonPropertyName("verificationMaterial")] - public object? VerificationMaterial { get; set; } + public global::GitHub.ReposCreateAttestationRequestBundleVerificationMaterial? VerificationMaterial { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("dsseEnvelope")] - public object? DsseEnvelope { get; set; } + public global::GitHub.ReposCreateAttestationRequestBundleDsseEnvelope? DsseEnvelope { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateAttestationRequestBundleDsseEnvelope.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateAttestationRequestBundleDsseEnvelope.g.cs new file mode 100644 index 00000000..150ffdee --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateAttestationRequestBundleDsseEnvelope.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposCreateAttestationRequestBundleDsseEnvelope + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateAttestationRequestBundleVerificationMaterial.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateAttestationRequestBundleVerificationMaterial.g.cs new file mode 100644 index 00000000..6eaaa1a4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateAttestationRequestBundleVerificationMaterial.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposCreateAttestationRequestBundleVerificationMaterial + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDeploymentRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDeploymentRequest.g.cs index f7739598..c4bb50b6 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDeploymentRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDeploymentRequest.g.cs @@ -35,14 +35,14 @@ public sealed partial class ReposCreateDeploymentRequest /// The [status](https://docs.github.com/rest/commits/statuses) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts. /// [global::System.Text.Json.Serialization.JsonPropertyName("required_contexts")] - public global::System.Collections.Generic.IList? RequiredContexts { get; set; } + public global::System.Collections.Generic.IList? RequiredContexts { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("payload")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? Payload { get; set; } + public global::System.OneOf? Payload { get; set; } /// /// Name for the target deployment environment (e.g., `production`, `staging`, `qa`).
diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDeploymentRequestPayload.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDeploymentRequestPayload.g.cs new file mode 100644 index 00000000..9e28c89e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDeploymentRequestPayload.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposCreateDeploymentRequestPayload + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDispatchEventRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDispatchEventRequest.g.cs index 3525fc5f..1206a227 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDispatchEventRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDispatchEventRequest.g.cs @@ -19,7 +19,7 @@ public sealed partial class ReposCreateDispatchEventRequest /// JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. ///
[global::System.Text.Json.Serialization.JsonPropertyName("client_payload")] - public object? ClientPayload { get; set; } + public global::GitHub.ReposCreateDispatchEventRequestClientPayload? ClientPayload { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDispatchEventRequestClientPayload.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDispatchEventRequestClientPayload.g.cs new file mode 100644 index 00000000..f19f7991 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateDispatchEventRequestClientPayload.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. + /// + public sealed partial class ReposCreateDispatchEventRequestClientPayload + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateInOrgRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateInOrgRequest.g.cs index 8596f14a..8aeb27af 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateInOrgRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateInOrgRequest.g.cs @@ -189,7 +189,7 @@ public sealed partial class ReposCreateInOrgRequest /// The custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_properties")] - public object? CustomProperties { get; set; } + public global::GitHub.ReposCreateInOrgRequestCustomProperties? CustomProperties { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateInOrgRequestCustomProperties.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateInOrgRequestCustomProperties.g.cs new file mode 100644 index 00000000..47dd728d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateInOrgRequestCustomProperties.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + public sealed partial class ReposCreateInOrgRequestCustomProperties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrUpdateEnvironmentRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrUpdateEnvironmentRequest.g.cs index a0fabaa6..d737befc 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrUpdateEnvironmentRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrUpdateEnvironmentRequest.g.cs @@ -26,7 +26,7 @@ public sealed partial class ReposCreateOrUpdateEnvironmentRequest /// The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. /// [global::System.Text.Json.Serialization.JsonPropertyName("reviewers")] - public global::System.Collections.Generic.IList? Reviewers { get; set; } + public global::System.Collections.Generic.IList? Reviewers { get; set; } /// /// The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrUpdateEnvironmentRequestReviewer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrUpdateEnvironmentRequestReviewer.g.cs new file mode 100644 index 00000000..57985197 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrUpdateEnvironmentRequestReviewer.g.cs @@ -0,0 +1,32 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposCreateOrUpdateEnvironmentRequestReviewer + { + /// + /// The type of reviewer.
+ /// Example: User + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.DeploymentReviewerTypeJsonConverter))] + public global::GitHub.DeploymentReviewerType? Type { get; set; } + + /// + /// The id of the user or team who can review the deployment
+ /// Example: 4532992 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrUpdateEnvironmentRequestReviewers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrUpdateEnvironmentRequestReviewers.g.cs deleted file mode 100644 index 84768874..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrUpdateEnvironmentRequestReviewers.g.cs +++ /dev/null @@ -1,32 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposCreateOrUpdateEnvironmentRequestReviewers - { - /// - /// The type of reviewer.
- /// Example: User - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.DeploymentReviewerTypeJsonConverter))] - public global::GitHub.DeploymentReviewerType? Type { get; set; } - - /// - /// The id of the user or team who can review the deployment
- /// Example: 4532992 - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrgRulesetRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrgRulesetRequest.g.cs index 53ff2272..a5a2a7ad 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrgRulesetRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrgRulesetRequest.g.cs @@ -42,7 +42,7 @@ public sealed partial class ReposCreateOrgRulesetRequest /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. ///
[global::System.Text.Json.Serialization.JsonPropertyName("conditions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory3))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OrgRulesetConditionsJsonConverter))] public global::GitHub.OrgRulesetConditions? Conditions { get; set; } /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrgRulesetRequestConditions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrgRulesetRequestConditions.g.cs deleted file mode 100644 index 049a353a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateOrgRulesetRequestConditions.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Conditions to target repositories by name and refs by name - /// - public sealed partial class ReposCreateOrgRulesetRequestConditions - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequest.g.cs new file mode 100644 index 00000000..1a51b8d3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequest.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The source branch and directory used to publish your Pages site. + /// + public sealed partial class ReposCreatePagesSiteRequest + { + /// + /// The process in which the Page will be built. Possible values are `"legacy"` and `"workflow"`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("build_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ReposCreatePagesSiteRequestBuildTypeJsonConverter))] + public global::GitHub.ReposCreatePagesSiteRequestBuildType? BuildType { get; set; } + + /// + /// The source branch and directory used to publish your Pages site. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("source")] + public global::GitHub.ReposCreatePagesSiteRequestSource? Source { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestBuildType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestBuildType.g.cs new file mode 100644 index 00000000..d36b11b7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestBuildType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The process in which the Page will be built. Possible values are `"legacy"` and `"workflow"`. + /// + public enum ReposCreatePagesSiteRequestBuildType + { + /// + /// + /// + Legacy, + /// + /// + /// + Workflow, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReposCreatePagesSiteRequestBuildTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReposCreatePagesSiteRequestBuildType value) + { + return value switch + { + ReposCreatePagesSiteRequestBuildType.Legacy => "legacy", + ReposCreatePagesSiteRequestBuildType.Workflow => "workflow", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReposCreatePagesSiteRequestBuildType? ToEnum(string value) + { + return value switch + { + "legacy" => ReposCreatePagesSiteRequestBuildType.Legacy, + "workflow" => ReposCreatePagesSiteRequestBuildType.Workflow, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestSource.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestSource.g.cs new file mode 100644 index 00000000..eb5b9976 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestSource.g.cs @@ -0,0 +1,32 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The source branch and directory used to publish your Pages site. + /// + public sealed partial class ReposCreatePagesSiteRequestSource + { + /// + /// The repository branch used to publish your site's source files. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("branch")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Branch { get; set; } + + /// + /// The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`
+ /// Default Value: / + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ReposCreatePagesSiteRequestSourcePathJsonConverter))] + public global::GitHub.ReposCreatePagesSiteRequestSourcePath? Path { get; set; } = global::GitHub.ReposCreatePagesSiteRequestSourcePath.x; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestSourcePath.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestSourcePath.g.cs new file mode 100644 index 00000000..267ba51b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestSourcePath.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`
+ /// Default Value: / + ///
+ public enum ReposCreatePagesSiteRequestSourcePath + { + /// + /// + /// + x, + /// + /// + /// + Docs, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReposCreatePagesSiteRequestSourcePathExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReposCreatePagesSiteRequestSourcePath value) + { + return value switch + { + ReposCreatePagesSiteRequestSourcePath.x => "/", + ReposCreatePagesSiteRequestSourcePath.Docs => "/docs", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReposCreatePagesSiteRequestSourcePath? ToEnum(string value) + { + return value switch + { + "/" => ReposCreatePagesSiteRequestSourcePath.x, + "/docs" => ReposCreatePagesSiteRequestSourcePath.Docs, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestVariant1.g.cs new file mode 100644 index 00000000..bdc51df1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestVariant1.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposCreatePagesSiteRequestVariant1 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestVariant2.g.cs new file mode 100644 index 00000000..bb70d254 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreatePagesSiteRequestVariant2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposCreatePagesSiteRequestVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateWebhookRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateWebhookRequest.g.cs index eb61a1db..dc38e0a5 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateWebhookRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateWebhookRequest.g.cs @@ -25,7 +25,7 @@ public sealed partial class ReposCreateWebhookRequest /// Default Value: [push] ///
[global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateWebhookRequestConfig.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateWebhookRequestConfig.g.cs index 3e4393b7..d482cfe3 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposCreateWebhookRequestConfig.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposCreateWebhookRequestConfig.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -35,8 +33,8 @@ public sealed partial class ReposCreateWebhookRequestConfig /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("insecure_ssl")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? InsecureSsl { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookConfigInsecureSslJsonConverter))] + public global::GitHub.WebhookConfigInsecureSsl? InsecureSsl { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposGetOrgRuleSuitesResponse.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposGetOrgRuleSuitesResponse.g.cs deleted file mode 100644 index be6c2763..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposGetOrgRuleSuitesResponse.g.cs +++ /dev/null @@ -1,85 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposGetOrgRuleSuitesResponse - { - /// - /// The unique identifier of the rule insight. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// The number that identifies the user. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("actor_id")] - public int ActorId { get; set; } - - /// - /// The handle for the GitHub user account. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("actor_name")] - public string? ActorName { get; set; } - - /// - /// The first commit sha before the push evaluation. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("before_sha")] - public string? BeforeSha { get; set; } - - /// - /// The last commit sha in the push evaluation. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("after_sha")] - public string? AfterSha { get; set; } - - /// - /// The ref name that the evaluation ran on. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - public string? Ref { get; set; } - - /// - /// The ID of the repository associated with the rule evaluation. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_id")] - public int RepositoryId { get; set; } - - /// - /// The name of the repository without the `.git` extension. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_name")] - public string? RepositoryName { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pushed_at")] - public global::System.DateTime PushedAt { get; set; } - - /// - /// The result of the rule evaluations for rules with the `active` enforcement status. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("result")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ReposGetOrgRuleSuitesResponseResultJsonConverter))] - public global::GitHub.ReposGetOrgRuleSuitesResponseResult? Result { get; set; } - - /// - /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("evaluation_result")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ReposGetOrgRuleSuitesResponseEvaluationResultJsonConverter))] - public global::GitHub.ReposGetOrgRuleSuitesResponseEvaluationResult? EvaluationResult { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposGetOrgRuleSuitesResponseEvaluationResult.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposGetOrgRuleSuitesResponseEvaluationResult.g.cs deleted file mode 100644 index 60accb0f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposGetOrgRuleSuitesResponseEvaluationResult.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. - /// - public enum ReposGetOrgRuleSuitesResponseEvaluationResult - { - /// - /// - /// - Pass, - /// - /// - /// - Fail, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ReposGetOrgRuleSuitesResponseEvaluationResultExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ReposGetOrgRuleSuitesResponseEvaluationResult value) - { - return value switch - { - ReposGetOrgRuleSuitesResponseEvaluationResult.Pass => "pass", - ReposGetOrgRuleSuitesResponseEvaluationResult.Fail => "fail", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ReposGetOrgRuleSuitesResponseEvaluationResult? ToEnum(string value) - { - return value switch - { - "pass" => ReposGetOrgRuleSuitesResponseEvaluationResult.Pass, - "fail" => ReposGetOrgRuleSuitesResponseEvaluationResult.Fail, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposGetOrgRuleSuitesResponseResult.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposGetOrgRuleSuitesResponseResult.g.cs deleted file mode 100644 index 7058debb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposGetOrgRuleSuitesResponseResult.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The result of the rule evaluations for rules with the `active` enforcement status. - /// - public enum ReposGetOrgRuleSuitesResponseResult - { - /// - /// - /// - Pass, - /// - /// - /// - Fail, - /// - /// - /// - Bypass, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ReposGetOrgRuleSuitesResponseResultExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ReposGetOrgRuleSuitesResponseResult value) - { - return value switch - { - ReposGetOrgRuleSuitesResponseResult.Pass => "pass", - ReposGetOrgRuleSuitesResponseResult.Fail => "fail", - ReposGetOrgRuleSuitesResponseResult.Bypass => "bypass", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ReposGetOrgRuleSuitesResponseResult? ToEnum(string value) - { - return value switch - { - "pass" => ReposGetOrgRuleSuitesResponseResult.Pass, - "fail" => ReposGetOrgRuleSuitesResponseResult.Fail, - "bypass" => ReposGetOrgRuleSuitesResponseResult.Bypass, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposGetRepoRuleSuitesResponse.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposGetRepoRuleSuitesResponse.g.cs deleted file mode 100644 index 7aa1a9d7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposGetRepoRuleSuitesResponse.g.cs +++ /dev/null @@ -1,85 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposGetRepoRuleSuitesResponse - { - /// - /// The unique identifier of the rule insight. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// The number that identifies the user. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("actor_id")] - public int ActorId { get; set; } - - /// - /// The handle for the GitHub user account. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("actor_name")] - public string? ActorName { get; set; } - - /// - /// The first commit sha before the push evaluation. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("before_sha")] - public string? BeforeSha { get; set; } - - /// - /// The last commit sha in the push evaluation. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("after_sha")] - public string? AfterSha { get; set; } - - /// - /// The ref name that the evaluation ran on. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - public string? Ref { get; set; } - - /// - /// The ID of the repository associated with the rule evaluation. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_id")] - public int RepositoryId { get; set; } - - /// - /// The name of the repository without the `.git` extension. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_name")] - public string? RepositoryName { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pushed_at")] - public global::System.DateTime PushedAt { get; set; } - - /// - /// The result of the rule evaluations for rules with the `active` enforcement status. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("result")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ReposGetRepoRuleSuitesResponseResultJsonConverter))] - public global::GitHub.ReposGetRepoRuleSuitesResponseResult? Result { get; set; } - - /// - /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("evaluation_result")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ReposGetRepoRuleSuitesResponseEvaluationResultJsonConverter))] - public global::GitHub.ReposGetRepoRuleSuitesResponseEvaluationResult? EvaluationResult { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposGetRepoRuleSuitesResponseEvaluationResult.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposGetRepoRuleSuitesResponseEvaluationResult.g.cs deleted file mode 100644 index 55aec07e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposGetRepoRuleSuitesResponseEvaluationResult.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. - /// - public enum ReposGetRepoRuleSuitesResponseEvaluationResult - { - /// - /// - /// - Pass, - /// - /// - /// - Fail, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ReposGetRepoRuleSuitesResponseEvaluationResultExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ReposGetRepoRuleSuitesResponseEvaluationResult value) - { - return value switch - { - ReposGetRepoRuleSuitesResponseEvaluationResult.Pass => "pass", - ReposGetRepoRuleSuitesResponseEvaluationResult.Fail => "fail", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ReposGetRepoRuleSuitesResponseEvaluationResult? ToEnum(string value) - { - return value switch - { - "pass" => ReposGetRepoRuleSuitesResponseEvaluationResult.Pass, - "fail" => ReposGetRepoRuleSuitesResponseEvaluationResult.Fail, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposGetRepoRuleSuitesResponseResult.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposGetRepoRuleSuitesResponseResult.g.cs deleted file mode 100644 index c061406f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposGetRepoRuleSuitesResponseResult.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The result of the rule evaluations for rules with the `active` enforcement status. - /// - public enum ReposGetRepoRuleSuitesResponseResult - { - /// - /// - /// - Pass, - /// - /// - /// - Fail, - /// - /// - /// - Bypass, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ReposGetRepoRuleSuitesResponseResultExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ReposGetRepoRuleSuitesResponseResult value) - { - return value switch - { - ReposGetRepoRuleSuitesResponseResult.Pass => "pass", - ReposGetRepoRuleSuitesResponseResult.Fail => "fail", - ReposGetRepoRuleSuitesResponseResult.Bypass => "bypass", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ReposGetRepoRuleSuitesResponseResult? ToEnum(string value) - { - return value switch - { - "pass" => ReposGetRepoRuleSuitesResponseResult.Pass, - "fail" => ReposGetRepoRuleSuitesResponseResult.Fail, - "bypass" => ReposGetRepoRuleSuitesResponseResult.Bypass, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponse.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponse.g.cs index 7166c7ea..033a2fff 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponse.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponse.g.cs @@ -12,7 +12,7 @@ public sealed partial class ReposListAttestationsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("attestations")] - public global::System.Collections.Generic.IList? Attestations { get; set; } + public global::System.Collections.Generic.IList? Attestations { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestation.g.cs new file mode 100644 index 00000000..5157167e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestation.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposListAttestationsResponseAttestation + { + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("bundle")] + public global::GitHub.ReposListAttestationsResponseAttestationBundle? Bundle { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_id")] + public int RepositoryId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationBundle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationBundle.g.cs new file mode 100644 index 00000000..dcc0a236 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationBundle.g.cs @@ -0,0 +1,36 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The attestation's Sigstore Bundle.
+ /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. + ///
+ public sealed partial class ReposListAttestationsResponseAttestationBundle + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mediaType")] + public string? MediaType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("verificationMaterial")] + public global::GitHub.ReposListAttestationsResponseAttestationBundleVerificationMaterial? VerificationMaterial { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dsseEnvelope")] + public global::GitHub.ReposListAttestationsResponseAttestationBundleDsseEnvelope? DsseEnvelope { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationBundleDsseEnvelope.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationBundleDsseEnvelope.g.cs new file mode 100644 index 00000000..2bbe4dc4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationBundleDsseEnvelope.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposListAttestationsResponseAttestationBundleDsseEnvelope + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationBundleVerificationMaterial.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationBundleVerificationMaterial.g.cs new file mode 100644 index 00000000..d5bd5ffa --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationBundleVerificationMaterial.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposListAttestationsResponseAttestationBundleVerificationMaterial + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestations.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestations.g.cs deleted file mode 100644 index 54f7c753..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestations.g.cs +++ /dev/null @@ -1,30 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposListAttestationsResponseAttestations - { - /// - /// The attestation's Sigstore Bundle.
- /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("bundle")] - public global::GitHub.ReposListAttestationsResponseAttestationsBundle? Bundle { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_id")] - public int RepositoryId { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationsBundle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationsBundle.g.cs deleted file mode 100644 index a9058b41..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposListAttestationsResponseAttestationsBundle.g.cs +++ /dev/null @@ -1,36 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The attestation's Sigstore Bundle.
- /// Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. - ///
- public sealed partial class ReposListAttestationsResponseAttestationsBundle - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("mediaType")] - public string? MediaType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("verificationMaterial")] - public object? VerificationMaterial { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("dsseEnvelope")] - public object? DsseEnvelope { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveAppAccessRestrictionsRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveAppAccessRestrictionsRequest2.g.cs new file mode 100644 index 00000000..479ec8b5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveAppAccessRestrictionsRequest2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposRemoveAppAccessRestrictionsRequest2 + { + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("apps")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Apps { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveAppAccessRestrictionsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveAppAccessRestrictionsRequestVariant1.g.cs deleted file mode 100644 index 19d85c26..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveAppAccessRestrictionsRequestVariant1.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposRemoveAppAccessRestrictionsRequestVariant1 - { - /// - /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("apps")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Apps { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveStatusCheckContextsRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveStatusCheckContextsRequest2.g.cs new file mode 100644 index 00000000..c682ea94 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveStatusCheckContextsRequest2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposRemoveStatusCheckContextsRequest2 + { + /// + /// The name of the status checks + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contexts")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Contexts { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveStatusCheckContextsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveStatusCheckContextsRequestVariant1.g.cs deleted file mode 100644 index d48dd9e4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveStatusCheckContextsRequestVariant1.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposRemoveStatusCheckContextsRequestVariant1 - { - /// - /// The name of the status checks - /// - [global::System.Text.Json.Serialization.JsonPropertyName("contexts")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Contexts { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveTeamAccessRestrictionsRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveTeamAccessRestrictionsRequest2.g.cs new file mode 100644 index 00000000..ece82a57 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveTeamAccessRestrictionsRequest2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposRemoveTeamAccessRestrictionsRequest2 + { + /// + /// The slug values for teams + /// + [global::System.Text.Json.Serialization.JsonPropertyName("teams")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Teams { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveTeamAccessRestrictionsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveTeamAccessRestrictionsRequestVariant1.g.cs deleted file mode 100644 index 4590af27..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveTeamAccessRestrictionsRequestVariant1.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposRemoveTeamAccessRestrictionsRequestVariant1 - { - /// - /// The slug values for teams - /// - [global::System.Text.Json.Serialization.JsonPropertyName("teams")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Teams { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveUserAccessRestrictionsRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveUserAccessRestrictionsRequest2.g.cs new file mode 100644 index 00000000..dca9dc41 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveUserAccessRestrictionsRequest2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposRemoveUserAccessRestrictionsRequest2 + { + /// + /// The username for users + /// + [global::System.Text.Json.Serialization.JsonPropertyName("users")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Users { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveUserAccessRestrictionsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveUserAccessRestrictionsRequestVariant1.g.cs deleted file mode 100644 index e7622516..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposRemoveUserAccessRestrictionsRequestVariant1.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposRemoveUserAccessRestrictionsRequestVariant1 - { - /// - /// The username for users - /// - [global::System.Text.Json.Serialization.JsonPropertyName("users")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Users { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposSetAppAccessRestrictionsRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposSetAppAccessRestrictionsRequest2.g.cs new file mode 100644 index 00000000..b9c0e6ec --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposSetAppAccessRestrictionsRequest2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposSetAppAccessRestrictionsRequest2 + { + /// + /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("apps")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Apps { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposSetAppAccessRestrictionsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposSetAppAccessRestrictionsRequestVariant1.g.cs deleted file mode 100644 index a600b459..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposSetAppAccessRestrictionsRequestVariant1.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposSetAppAccessRestrictionsRequestVariant1 - { - /// - /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("apps")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Apps { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposSetStatusCheckContextsRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposSetStatusCheckContextsRequest2.g.cs new file mode 100644 index 00000000..90008c79 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposSetStatusCheckContextsRequest2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposSetStatusCheckContextsRequest2 + { + /// + /// The name of the status checks + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contexts")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Contexts { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposSetStatusCheckContextsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposSetStatusCheckContextsRequestVariant1.g.cs deleted file mode 100644 index 74fe49f0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposSetStatusCheckContextsRequestVariant1.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposSetStatusCheckContextsRequestVariant1 - { - /// - /// The name of the status checks - /// - [global::System.Text.Json.Serialization.JsonPropertyName("contexts")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Contexts { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposSetTeamAccessRestrictionsRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposSetTeamAccessRestrictionsRequest2.g.cs new file mode 100644 index 00000000..817e4138 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposSetTeamAccessRestrictionsRequest2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposSetTeamAccessRestrictionsRequest2 + { + /// + /// The slug values for teams + /// + [global::System.Text.Json.Serialization.JsonPropertyName("teams")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Teams { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposSetTeamAccessRestrictionsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposSetTeamAccessRestrictionsRequestVariant1.g.cs deleted file mode 100644 index 313770d5..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposSetTeamAccessRestrictionsRequestVariant1.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposSetTeamAccessRestrictionsRequestVariant1 - { - /// - /// The slug values for teams - /// - [global::System.Text.Json.Serialization.JsonPropertyName("teams")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Teams { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposSetUserAccessRestrictionsRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposSetUserAccessRestrictionsRequest2.g.cs new file mode 100644 index 00000000..2540a101 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposSetUserAccessRestrictionsRequest2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposSetUserAccessRestrictionsRequest2 + { + /// + /// The username for users + /// + [global::System.Text.Json.Serialization.JsonPropertyName("users")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Users { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposSetUserAccessRestrictionsRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposSetUserAccessRestrictionsRequestVariant1.g.cs deleted file mode 100644 index 71891bde..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposSetUserAccessRestrictionsRequestVariant1.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposSetUserAccessRestrictionsRequestVariant1 - { - /// - /// The username for users - /// - [global::System.Text.Json.Serialization.JsonPropertyName("users")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Users { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsBypassPullRequestAllowances.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsBypassPullRequestAllowances.g.cs index 41e25665..3ee68476 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsBypassPullRequestAllowances.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsBypassPullRequestAllowances.g.cs @@ -12,19 +12,19 @@ public sealed partial class ReposUpdateBranchProtectionRequestRequiredPullReques /// The list of user `login`s allowed to bypass pull request requirements. ///
[global::System.Text.Json.Serialization.JsonPropertyName("users")] - public global::System.Collections.Generic.IList? Users { get; set; } + public global::System.Collections.Generic.IList? Users { get; set; } /// /// The list of team `slug`s allowed to bypass pull request requirements. /// [global::System.Text.Json.Serialization.JsonPropertyName("teams")] - public global::System.Collections.Generic.IList? Teams { get; set; } + public global::System.Collections.Generic.IList? Teams { get; set; } /// /// The list of app `slug`s allowed to bypass pull request requirements. /// [global::System.Text.Json.Serialization.JsonPropertyName("apps")] - public global::System.Collections.Generic.IList? Apps { get; set; } + public global::System.Collections.Generic.IList? Apps { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsDismissalRestrictions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsDismissalRestrictions.g.cs index 386bf9ef..5e45fc66 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsDismissalRestrictions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsDismissalRestrictions.g.cs @@ -12,19 +12,19 @@ public sealed partial class ReposUpdateBranchProtectionRequestRequiredPullReques /// The list of user `login`s with dismissal access /// [global::System.Text.Json.Serialization.JsonPropertyName("users")] - public global::System.Collections.Generic.IList? Users { get; set; } + public global::System.Collections.Generic.IList? Users { get; set; } /// /// The list of team `slug`s with dismissal access /// [global::System.Text.Json.Serialization.JsonPropertyName("teams")] - public global::System.Collections.Generic.IList? Teams { get; set; } + public global::System.Collections.Generic.IList? Teams { get; set; } /// /// The list of app `slug`s with dismissal access /// [global::System.Text.Json.Serialization.JsonPropertyName("apps")] - public global::System.Collections.Generic.IList? Apps { get; set; } + public global::System.Collections.Generic.IList? Apps { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredStatusChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredStatusChecks.g.cs index a1a3c098..0c2d34bf 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredStatusChecks.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredStatusChecks.g.cs @@ -26,7 +26,7 @@ public sealed partial class ReposUpdateBranchProtectionRequestRequiredStatusChec /// The list of status checks to require in order to merge into this branch. /// [global::System.Text.Json.Serialization.JsonPropertyName("checks")] - public global::System.Collections.Generic.IList? Checks { get; set; } + public global::System.Collections.Generic.IList? Checks { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredStatusChecksCheck.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredStatusChecksCheck.g.cs new file mode 100644 index 00000000..f29d0541 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredStatusChecksCheck.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposUpdateBranchProtectionRequestRequiredStatusChecksCheck + { + /// + /// The name of the required check + /// + [global::System.Text.Json.Serialization.JsonPropertyName("context")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Context { get; set; } + + /// + /// The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("app_id")] + public int AppId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredStatusChecksChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredStatusChecksChecks.g.cs deleted file mode 100644 index e015d4a4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRequiredStatusChecksChecks.g.cs +++ /dev/null @@ -1,30 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposUpdateBranchProtectionRequestRequiredStatusChecksChecks - { - /// - /// The name of the required check - /// - [global::System.Text.Json.Serialization.JsonPropertyName("context")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Context { get; set; } - - /// - /// The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("app_id")] - public int AppId { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRestrictions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRestrictions.g.cs index b15c8d1a..e188cd19 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRestrictions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateBranchProtectionRequestRestrictions.g.cs @@ -26,7 +26,7 @@ public sealed partial class ReposUpdateBranchProtectionRequestRestrictions /// The list of app `slug`s with push access /// [global::System.Text.Json.Serialization.JsonPropertyName("apps")] - public global::System.Collections.Generic.IList? Apps { get; set; } + public global::System.Collections.Generic.IList? Apps { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequest.g.cs new file mode 100644 index 00000000..471dcb2a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequest.g.cs @@ -0,0 +1,45 @@ + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposUpdateInformationAboutPagesSiteRequest + { + /// + /// Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://docs.github.com/pages/configuring-a-custom-domain-for-your-github-pages-site)." + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cname")] + public string? Cname { get; set; } + + /// + /// Specify whether HTTPS should be enforced for the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("https_enforced")] + public bool HttpsEnforced { get; set; } + + /// + /// The process by which the GitHub Pages site will be built. `workflow` means that the site is built by a custom GitHub Actions workflow. `legacy` means that the site is built by GitHub when changes are pushed to a specific branch. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("build_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateInformationAboutPagesSiteRequestBuildTypeJsonConverter))] + public global::GitHub.ReposUpdateInformationAboutPagesSiteRequestBuildType? BuildType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("source")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))] + public global::System.AnyOf? Source { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestBuildType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestBuildType.g.cs new file mode 100644 index 00000000..d64dfbc3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestBuildType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The process by which the GitHub Pages site will be built. `workflow` means that the site is built by a custom GitHub Actions workflow. `legacy` means that the site is built by GitHub when changes are pushed to a specific branch. + /// + public enum ReposUpdateInformationAboutPagesSiteRequestBuildType + { + /// + /// + /// + Legacy, + /// + /// + /// + Workflow, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReposUpdateInformationAboutPagesSiteRequestBuildTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReposUpdateInformationAboutPagesSiteRequestBuildType value) + { + return value switch + { + ReposUpdateInformationAboutPagesSiteRequestBuildType.Legacy => "legacy", + ReposUpdateInformationAboutPagesSiteRequestBuildType.Workflow => "workflow", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReposUpdateInformationAboutPagesSiteRequestBuildType? ToEnum(string value) + { + return value switch + { + "legacy" => ReposUpdateInformationAboutPagesSiteRequestBuildType.Legacy, + "workflow" => ReposUpdateInformationAboutPagesSiteRequestBuildType.Workflow, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.g.cs new file mode 100644 index 00000000..e61e6197 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `"gh-pages"`, `"master"`, and `"master /docs"`. + /// + public enum ReposUpdateInformationAboutPagesSiteRequestSourceVariant1 + { + /// + /// + /// + GhPages, + /// + /// + /// + Master, + /// + /// + /// + MasterDocs, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReposUpdateInformationAboutPagesSiteRequestSourceVariant1Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReposUpdateInformationAboutPagesSiteRequestSourceVariant1 value) + { + return value switch + { + ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.GhPages => "gh-pages", + ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.Master => "master", + ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.MasterDocs => "master /docs", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReposUpdateInformationAboutPagesSiteRequestSourceVariant1? ToEnum(string value) + { + return value switch + { + "gh-pages" => ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.GhPages, + "master" => ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.Master, + "master /docs" => ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.MasterDocs, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2.g.cs new file mode 100644 index 00000000..b5bdaf3c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2.g.cs @@ -0,0 +1,32 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Update the source for the repository. Must include the branch name and path. + /// + public sealed partial class ReposUpdateInformationAboutPagesSiteRequestSourceVariant2 + { + /// + /// The repository branch used to publish your site's source files. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("branch")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Branch { get; set; } + + /// + /// The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path Path { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path.g.cs new file mode 100644 index 00000000..f6c1a9b4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. + /// + public enum ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path + { + /// + /// + /// + x, + /// + /// + /// + Docs, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path value) + { + return value switch + { + ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path.x => "/", + ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path.Docs => "/docs", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path? ToEnum(string value) + { + return value switch + { + "/" => ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path.x, + "/docs" => ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path.Docs, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant1.g.cs new file mode 100644 index 00000000..a8ab2428 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant1.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposUpdateInformationAboutPagesSiteRequestVariant1 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant2.g.cs new file mode 100644 index 00000000..6da487e9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposUpdateInformationAboutPagesSiteRequestVariant2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant3.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant3.g.cs new file mode 100644 index 00000000..e1cfc12b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant3.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposUpdateInformationAboutPagesSiteRequestVariant3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant4.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant4.g.cs new file mode 100644 index 00000000..1c389797 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant4.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposUpdateInformationAboutPagesSiteRequestVariant4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant5.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant5.g.cs new file mode 100644 index 00000000..f6b21522 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateInformationAboutPagesSiteRequestVariant5.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposUpdateInformationAboutPagesSiteRequestVariant5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateOrgRulesetRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateOrgRulesetRequest.g.cs index bee2707a..acffa950 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateOrgRulesetRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateOrgRulesetRequest.g.cs @@ -40,7 +40,7 @@ public sealed partial class ReposUpdateOrgRulesetRequest /// Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. /// [global::System.Text.Json.Serialization.JsonPropertyName("conditions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory3))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OrgRulesetConditionsJsonConverter))] public global::GitHub.OrgRulesetConditions? Conditions { get; set; } /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateOrgRulesetRequestConditions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateOrgRulesetRequestConditions.g.cs deleted file mode 100644 index b13143d7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateOrgRulesetRequestConditions.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Conditions to target repositories by name and refs by name - /// - public sealed partial class ReposUpdateOrgRulesetRequestConditions - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdatePullRequestReviewProtectionRequestBypassPullRequestAllowances.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdatePullRequestReviewProtectionRequestBypassPullRequestAllowances.g.cs index 83f74c7c..c6bdf009 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdatePullRequestReviewProtectionRequestBypassPullRequestAllowances.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdatePullRequestReviewProtectionRequestBypassPullRequestAllowances.g.cs @@ -12,19 +12,19 @@ public sealed partial class ReposUpdatePullRequestReviewProtectionRequestBypassP /// The list of user `login`s allowed to bypass pull request requirements. /// [global::System.Text.Json.Serialization.JsonPropertyName("users")] - public global::System.Collections.Generic.IList? Users { get; set; } + public global::System.Collections.Generic.IList? Users { get; set; } /// /// The list of team `slug`s allowed to bypass pull request requirements. /// [global::System.Text.Json.Serialization.JsonPropertyName("teams")] - public global::System.Collections.Generic.IList? Teams { get; set; } + public global::System.Collections.Generic.IList? Teams { get; set; } /// /// The list of app `slug`s allowed to bypass pull request requirements. /// [global::System.Text.Json.Serialization.JsonPropertyName("apps")] - public global::System.Collections.Generic.IList? Apps { get; set; } + public global::System.Collections.Generic.IList? Apps { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdatePullRequestReviewProtectionRequestDismissalRestrictions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdatePullRequestReviewProtectionRequestDismissalRestrictions.g.cs index 17b87fd0..f7dba0f0 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdatePullRequestReviewProtectionRequestDismissalRestrictions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdatePullRequestReviewProtectionRequestDismissalRestrictions.g.cs @@ -12,19 +12,19 @@ public sealed partial class ReposUpdatePullRequestReviewProtectionRequestDismiss /// The list of user `login`s with dismissal access /// [global::System.Text.Json.Serialization.JsonPropertyName("users")] - public global::System.Collections.Generic.IList? Users { get; set; } + public global::System.Collections.Generic.IList? Users { get; set; } /// /// The list of team `slug`s with dismissal access /// [global::System.Text.Json.Serialization.JsonPropertyName("teams")] - public global::System.Collections.Generic.IList? Teams { get; set; } + public global::System.Collections.Generic.IList? Teams { get; set; } /// /// The list of app `slug`s with dismissal access /// [global::System.Text.Json.Serialization.JsonPropertyName("apps")] - public global::System.Collections.Generic.IList? Apps { get; set; } + public global::System.Collections.Generic.IList? Apps { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateStatusCheckProtectionRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateStatusCheckProtectionRequest.g.cs index df538bee..f214d4f1 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateStatusCheckProtectionRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateStatusCheckProtectionRequest.g.cs @@ -19,13 +19,13 @@ public sealed partial class ReposUpdateStatusCheckProtectionRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("contexts")] [global::System.Obsolete("This property marked as deprecated.")] - public global::System.Collections.Generic.IList? Contexts { get; set; } + public global::System.Collections.Generic.IList? Contexts { get; set; } /// /// The list of status checks to require in order to merge into this branch. /// [global::System.Text.Json.Serialization.JsonPropertyName("checks")] - public global::System.Collections.Generic.IList? Checks { get; set; } + public global::System.Collections.Generic.IList? Checks { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateStatusCheckProtectionRequestCheck.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateStatusCheckProtectionRequestCheck.g.cs new file mode 100644 index 00000000..93cb634c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateStatusCheckProtectionRequestCheck.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ReposUpdateStatusCheckProtectionRequestCheck + { + /// + /// The name of the required check + /// + [global::System.Text.Json.Serialization.JsonPropertyName("context")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Context { get; set; } + + /// + /// The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("app_id")] + public int AppId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateStatusCheckProtectionRequestChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateStatusCheckProtectionRequestChecks.g.cs deleted file mode 100644 index 9bdd3930..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateStatusCheckProtectionRequestChecks.g.cs +++ /dev/null @@ -1,30 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ReposUpdateStatusCheckProtectionRequestChecks - { - /// - /// The name of the required check - /// - [global::System.Text.Json.Serialization.JsonPropertyName("context")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Context { get; set; } - - /// - /// The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("app_id")] - public int AppId { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateWebhookConfigForRepoRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateWebhookConfigForRepoRequest.g.cs index 64597c1f..a24aec16 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateWebhookConfigForRepoRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateWebhookConfigForRepoRequest.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -35,8 +33,8 @@ public sealed partial class ReposUpdateWebhookConfigForRepoRequest /// /// [global::System.Text.Json.Serialization.JsonPropertyName("insecure_ssl")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? InsecureSsl { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookConfigInsecureSslJsonConverter))] + public global::GitHub.WebhookConfigInsecureSsl? InsecureSsl { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateWebhookRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateWebhookRequest.g.cs index d746b202..45067eeb 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateWebhookRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ReposUpdateWebhookRequest.g.cs @@ -19,19 +19,19 @@ public sealed partial class ReposUpdateWebhookRequest /// Default Value: [push] /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// Determines a list of events to be added to the list of events that the Hook triggers for. /// [global::System.Text.Json.Serialization.JsonPropertyName("add_events")] - public global::System.Collections.Generic.IList? AddEvents { get; set; } + public global::System.Collections.Generic.IList? AddEvents { get; set; } /// /// Determines a list of events to be removed from the list of events that the Hook triggers for. /// [global::System.Text.Json.Serialization.JsonPropertyName("remove_events")] - public global::System.Collections.Generic.IList? RemoveEvents { get; set; } + public global::System.Collections.Generic.IList? RemoveEvents { get; set; } /// /// Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
diff --git a/src/libs/GitHub/Generated/GitHub.Models.Repository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Repository.g.cs index 41c77f9d..cf3c3cd8 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Repository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Repository.g.cs @@ -458,7 +458,7 @@ public sealed partial class Repository /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("topics")] - public global::System.Collections.Generic.IList? Topics { get; set; } + public global::System.Collections.Generic.IList? Topics { get; set; } /// /// Whether issues are enabled.
diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisory.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisory.g.cs index c97eb6cc..c78b3cbd 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisory.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisory.g.cs @@ -81,7 +81,7 @@ public sealed partial class RepositoryAdvisory ///
[global::System.Text.Json.Serialization.JsonPropertyName("identifiers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Identifiers { get; set; } + public required global::System.Collections.Generic.IList Identifiers { get; set; } /// /// The state of the advisory. @@ -152,7 +152,7 @@ public sealed partial class RepositoryAdvisory /// [global::System.Text.Json.Serialization.JsonPropertyName("cwes")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList? Cwes { get; set; } + public required global::System.Collections.Generic.IList? Cwes { get; set; } /// /// A list of only the CWE IDs. @@ -166,7 +166,7 @@ public sealed partial class RepositoryAdvisory /// [global::System.Text.Json.Serialization.JsonPropertyName("credits")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList? Credits { get; set; } + public required global::System.Collections.Generic.IList? Credits { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreate.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreate.g.cs index 1ace553f..de486b62 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreate.g.cs @@ -33,19 +33,19 @@ public sealed partial class RepositoryAdvisoryCreate /// [global::System.Text.Json.Serialization.JsonPropertyName("vulnerabilities")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Vulnerabilities { get; set; } + public required global::System.Collections.Generic.IList Vulnerabilities { get; set; } /// /// A list of Common Weakness Enumeration (CWE) IDs. /// [global::System.Text.Json.Serialization.JsonPropertyName("cwe_ids")] - public global::System.Collections.Generic.IList? CweIds { get; set; } + public global::System.Collections.Generic.IList? CweIds { get; set; } /// /// A list of users receiving credit for their participation in the security advisory. /// [global::System.Text.Json.Serialization.JsonPropertyName("credits")] - public global::System.Collections.Generic.IList? Credits { get; set; } + public global::System.Collections.Generic.IList? Credits { get; set; } /// /// The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateCredit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateCredit.g.cs new file mode 100644 index 00000000..e33ddd39 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateCredit.g.cs @@ -0,0 +1,32 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class RepositoryAdvisoryCreateCredit + { + /// + /// The username of the user credited. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// The type of credit the user is receiving. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryCreditTypesJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.SecurityAdvisoryCreditTypes Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateCredits.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateCredits.g.cs deleted file mode 100644 index a7c272aa..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateCredits.g.cs +++ /dev/null @@ -1,32 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class RepositoryAdvisoryCreateCredits - { - /// - /// The username of the user credited. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// The type of credit the user is receiving. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryCreditTypesJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.SecurityAdvisoryCreditTypes Type { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilitie.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilitie.g.cs new file mode 100644 index 00000000..cb4db3f3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilitie.g.cs @@ -0,0 +1,42 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class RepositoryAdvisoryCreateVulnerabilitie + { + /// + /// The name of the package affected by the vulnerability. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("package")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.RepositoryAdvisoryCreateVulnerabilitiePackage Package { get; set; } + + /// + /// The range of the package versions affected by the vulnerability. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_version_range")] + public string? VulnerableVersionRange { get; set; } + + /// + /// The package version(s) that resolve the vulnerability. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("patched_versions")] + public string? PatchedVersions { get; set; } + + /// + /// The functions in the package that are affected. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_functions")] + public global::System.Collections.Generic.IList? VulnerableFunctions { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilitiePackage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilitiePackage.g.cs new file mode 100644 index 00000000..d1245228 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilitiePackage.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The name of the package affected by the vulnerability. + /// + public sealed partial class RepositoryAdvisoryCreateVulnerabilitiePackage + { + /// + /// The package's language or package management ecosystem. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ecosystem")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryEcosystemsJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.SecurityAdvisoryEcosystems Ecosystem { get; set; } + + /// + /// The unique package name within its ecosystem. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilities.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilities.g.cs deleted file mode 100644 index 8d6567b3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilities.g.cs +++ /dev/null @@ -1,42 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class RepositoryAdvisoryCreateVulnerabilities - { - /// - /// The name of the package affected by the vulnerability. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("package")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.RepositoryAdvisoryCreateVulnerabilitiesPackage Package { get; set; } - - /// - /// The range of the package versions affected by the vulnerability. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_version_range")] - public string? VulnerableVersionRange { get; set; } - - /// - /// The package version(s) that resolve the vulnerability. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("patched_versions")] - public string? PatchedVersions { get; set; } - - /// - /// The functions in the package that are affected. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_functions")] - public global::System.Collections.Generic.IList? VulnerableFunctions { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilitiesPackage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilitiesPackage.g.cs deleted file mode 100644 index d06dddfd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCreateVulnerabilitiesPackage.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The name of the package affected by the vulnerability. - /// - public sealed partial class RepositoryAdvisoryCreateVulnerabilitiesPackage - { - /// - /// The package's language or package management ecosystem. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ecosystem")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryEcosystemsJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.SecurityAdvisoryEcosystems Ecosystem { get; set; } - - /// - /// The unique package name within its ecosystem. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCredit2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCredit2.g.cs new file mode 100644 index 00000000..557807bb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCredit2.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class RepositoryAdvisoryCredit2 + { + /// + /// The username of the user credited. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + public string? Login { get; set; } + + /// + /// The type of credit the user is receiving. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryCreditTypesJsonConverter))] + public global::GitHub.SecurityAdvisoryCreditTypes? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCredits.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCredits.g.cs deleted file mode 100644 index 7f52756e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCredits.g.cs +++ /dev/null @@ -1,30 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class RepositoryAdvisoryCredits - { - /// - /// The username of the user credited. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - public string? Login { get; set; } - - /// - /// The type of credit the user is receiving. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryCreditTypesJsonConverter))] - public global::GitHub.SecurityAdvisoryCreditTypes? Type { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCwe.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCwe.g.cs new file mode 100644 index 00000000..32c78270 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCwe.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class RepositoryAdvisoryCwe + { + /// + /// The Common Weakness Enumeration (CWE) identifier. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cwe_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CweId { get; set; } + + /// + /// The name of the CWE. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCwes.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCwes.g.cs deleted file mode 100644 index ede315ff..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryCwes.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class RepositoryAdvisoryCwes - { - /// - /// The Common Weakness Enumeration (CWE) identifier. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("cwe_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CweId { get; set; } - - /// - /// The name of the CWE. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifier.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifier.g.cs new file mode 100644 index 00000000..8670f7c0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifier.g.cs @@ -0,0 +1,32 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class RepositoryAdvisoryIdentifier + { + /// + /// The type of identifier. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.RepositoryAdvisoryIdentifierTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.RepositoryAdvisoryIdentifierType Type { get; set; } + + /// + /// The identifier value. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifierType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifierType.g.cs new file mode 100644 index 00000000..461c1c6f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifierType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The type of identifier. + /// + public enum RepositoryAdvisoryIdentifierType + { + /// + /// + /// + CVE, + /// + /// + /// + GHSA, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RepositoryAdvisoryIdentifierTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RepositoryAdvisoryIdentifierType value) + { + return value switch + { + RepositoryAdvisoryIdentifierType.CVE => "CVE", + RepositoryAdvisoryIdentifierType.GHSA => "GHSA", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RepositoryAdvisoryIdentifierType? ToEnum(string value) + { + return value switch + { + "CVE" => RepositoryAdvisoryIdentifierType.CVE, + "GHSA" => RepositoryAdvisoryIdentifierType.GHSA, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifiers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifiers.g.cs deleted file mode 100644 index 05c9b11e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifiers.g.cs +++ /dev/null @@ -1,32 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class RepositoryAdvisoryIdentifiers - { - /// - /// The type of identifier. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.RepositoryAdvisoryIdentifiersTypeJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.RepositoryAdvisoryIdentifiersType Type { get; set; } - - /// - /// The identifier value. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Value { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifiersType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifiersType.g.cs deleted file mode 100644 index 5acc9f5d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryIdentifiersType.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The type of identifier. - /// - public enum RepositoryAdvisoryIdentifiersType - { - /// - /// - /// - CVE, - /// - /// - /// - GHSA, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class RepositoryAdvisoryIdentifiersTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this RepositoryAdvisoryIdentifiersType value) - { - return value switch - { - RepositoryAdvisoryIdentifiersType.CVE => "CVE", - RepositoryAdvisoryIdentifiersType.GHSA => "GHSA", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static RepositoryAdvisoryIdentifiersType? ToEnum(string value) - { - return value switch - { - "CVE" => RepositoryAdvisoryIdentifiersType.CVE, - "GHSA" => RepositoryAdvisoryIdentifiersType.GHSA, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdate.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdate.g.cs index 0f0b3b66..8984e0cd 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdate.g.cs @@ -30,19 +30,19 @@ public sealed partial class RepositoryAdvisoryUpdate /// A product affected by the vulnerability detailed in a repository security advisory. /// [global::System.Text.Json.Serialization.JsonPropertyName("vulnerabilities")] - public global::System.Collections.Generic.IList? Vulnerabilities { get; set; } + public global::System.Collections.Generic.IList? Vulnerabilities { get; set; } /// /// A list of Common Weakness Enumeration (CWE) IDs. /// [global::System.Text.Json.Serialization.JsonPropertyName("cwe_ids")] - public global::System.Collections.Generic.IList? CweIds { get; set; } + public global::System.Collections.Generic.IList? CweIds { get; set; } /// /// A list of users receiving credit for their participation in the security advisory. /// [global::System.Text.Json.Serialization.JsonPropertyName("credits")] - public global::System.Collections.Generic.IList? Credits { get; set; } + public global::System.Collections.Generic.IList? Credits { get; set; } /// /// The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. @@ -68,13 +68,13 @@ public sealed partial class RepositoryAdvisoryUpdate /// A list of usernames who have been granted write access to the advisory. /// [global::System.Text.Json.Serialization.JsonPropertyName("collaborating_users")] - public global::System.Collections.Generic.IList? CollaboratingUsers { get; set; } + public global::System.Collections.Generic.IList? CollaboratingUsers { get; set; } /// /// A list of team slugs which have been granted write access to the advisory. /// [global::System.Text.Json.Serialization.JsonPropertyName("collaborating_teams")] - public global::System.Collections.Generic.IList? CollaboratingTeams { get; set; } + public global::System.Collections.Generic.IList? CollaboratingTeams { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateCredit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateCredit.g.cs new file mode 100644 index 00000000..c1ae510d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateCredit.g.cs @@ -0,0 +1,32 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class RepositoryAdvisoryUpdateCredit + { + /// + /// The username of the user credited. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// The type of credit the user is receiving. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryCreditTypesJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.SecurityAdvisoryCreditTypes Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateCredits.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateCredits.g.cs deleted file mode 100644 index 1c7bf7c4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateCredits.g.cs +++ /dev/null @@ -1,32 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class RepositoryAdvisoryUpdateCredits - { - /// - /// The username of the user credited. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// The type of credit the user is receiving. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryCreditTypesJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.SecurityAdvisoryCreditTypes Type { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilitie.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilitie.g.cs new file mode 100644 index 00000000..de5db0ee --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilitie.g.cs @@ -0,0 +1,42 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class RepositoryAdvisoryUpdateVulnerabilitie + { + /// + /// The name of the package affected by the vulnerability. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("package")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.RepositoryAdvisoryUpdateVulnerabilitiePackage Package { get; set; } + + /// + /// The range of the package versions affected by the vulnerability. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_version_range")] + public string? VulnerableVersionRange { get; set; } + + /// + /// The package version(s) that resolve the vulnerability. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("patched_versions")] + public string? PatchedVersions { get; set; } + + /// + /// The functions in the package that are affected. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_functions")] + public global::System.Collections.Generic.IList? VulnerableFunctions { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilitiePackage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilitiePackage.g.cs new file mode 100644 index 00000000..3abf5baa --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilitiePackage.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The name of the package affected by the vulnerability. + /// + public sealed partial class RepositoryAdvisoryUpdateVulnerabilitiePackage + { + /// + /// The package's language or package management ecosystem. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ecosystem")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryEcosystemsJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.SecurityAdvisoryEcosystems Ecosystem { get; set; } + + /// + /// The unique package name within its ecosystem. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilities.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilities.g.cs deleted file mode 100644 index 3288f411..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilities.g.cs +++ /dev/null @@ -1,42 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class RepositoryAdvisoryUpdateVulnerabilities - { - /// - /// The name of the package affected by the vulnerability. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("package")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.RepositoryAdvisoryUpdateVulnerabilitiesPackage Package { get; set; } - - /// - /// The range of the package versions affected by the vulnerability. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_version_range")] - public string? VulnerableVersionRange { get; set; } - - /// - /// The package version(s) that resolve the vulnerability. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("patched_versions")] - public string? PatchedVersions { get; set; } - - /// - /// The functions in the package that are affected. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_functions")] - public global::System.Collections.Generic.IList? VulnerableFunctions { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilitiesPackage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilitiesPackage.g.cs deleted file mode 100644 index 5ccd791f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryAdvisoryUpdateVulnerabilitiesPackage.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The name of the package affected by the vulnerability. - /// - public sealed partial class RepositoryAdvisoryUpdateVulnerabilitiesPackage - { - /// - /// The package's language or package management ecosystem. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ecosystem")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryEcosystemsJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.SecurityAdvisoryEcosystems Ecosystem { get; set; } - - /// - /// The unique package name within its ecosystem. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryRuleDetailed.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryRuleDetailed.g.cs index 0043203b..5d908973 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryRuleDetailed.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryRuleDetailed.g.cs @@ -14,9 +14,9 @@ namespace GitHub /// /// #if NET6_0_OR_GREATER - public global::System.AllOf? Value1 { get; init; } + public global::System.AllOf? Value1 { get; init; } #else - public global::System.AllOf? Value1 { get; } + public global::System.AllOf? Value1 { get; } #endif /// @@ -30,17 +30,17 @@ namespace GitHub /// /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value1; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value1; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value1 = value; } @@ -49,9 +49,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value2 { get; init; } + public global::System.AllOf? Value2 { get; init; } #else - public global::System.AllOf? Value2 { get; } + public global::System.AllOf? Value2 { get; } #endif /// @@ -65,17 +65,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value2; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value2; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value2 = value; } @@ -84,9 +84,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value3 { get; init; } + public global::System.AllOf? Value3 { get; init; } #else - public global::System.AllOf? Value3 { get; } + public global::System.AllOf? Value3 { get; } #endif /// @@ -100,17 +100,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value3; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value3; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value3 = value; } @@ -119,9 +119,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value4 { get; init; } + public global::System.AllOf? Value4 { get; init; } #else - public global::System.AllOf? Value4 { get; } + public global::System.AllOf? Value4 { get; } #endif /// @@ -135,17 +135,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value4; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value4; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value4 = value; } @@ -154,9 +154,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value5 { get; init; } + public global::System.AllOf? Value5 { get; init; } #else - public global::System.AllOf? Value5 { get; } + public global::System.AllOf? Value5 { get; } #endif /// @@ -170,17 +170,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value5; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value5; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value5 = value; } @@ -189,9 +189,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value6 { get; init; } + public global::System.AllOf? Value6 { get; init; } #else - public global::System.AllOf? Value6 { get; } + public global::System.AllOf? Value6 { get; } #endif /// @@ -205,17 +205,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value6; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value6; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value6 = value; } @@ -224,9 +224,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value7 { get; init; } + public global::System.AllOf? Value7 { get; init; } #else - public global::System.AllOf? Value7 { get; } + public global::System.AllOf? Value7 { get; } #endif /// @@ -240,17 +240,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value7; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value7; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value7 = value; } @@ -259,9 +259,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value8 { get; init; } + public global::System.AllOf? Value8 { get; init; } #else - public global::System.AllOf? Value8 { get; } + public global::System.AllOf? Value8 { get; } #endif /// @@ -275,17 +275,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value8; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value8; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value8 = value; } @@ -294,9 +294,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value9 { get; init; } + public global::System.AllOf? Value9 { get; init; } #else - public global::System.AllOf? Value9 { get; } + public global::System.AllOf? Value9 { get; } #endif /// @@ -310,17 +310,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value9; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value9; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value9 = value; } @@ -329,9 +329,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value10 { get; init; } + public global::System.AllOf? Value10 { get; init; } #else - public global::System.AllOf? Value10 { get; } + public global::System.AllOf? Value10 { get; } #endif /// @@ -345,17 +345,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value10; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value10; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value10 = value; } @@ -364,9 +364,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value11 { get; init; } + public global::System.AllOf? Value11 { get; init; } #else - public global::System.AllOf? Value11 { get; } + public global::System.AllOf? Value11 { get; } #endif /// @@ -380,17 +380,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value11; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value11; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value11 = value; } @@ -399,9 +399,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value12 { get; init; } + public global::System.AllOf? Value12 { get; init; } #else - public global::System.AllOf? Value12 { get; } + public global::System.AllOf? Value12 { get; } #endif /// @@ -415,17 +415,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value12; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value12; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value12 = value; } @@ -434,9 +434,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value13 { get; init; } + public global::System.AllOf? Value13 { get; init; } #else - public global::System.AllOf? Value13 { get; } + public global::System.AllOf? Value13 { get; } #endif /// @@ -450,17 +450,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value13; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value13; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value13 = value; } @@ -469,9 +469,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value14 { get; init; } + public global::System.AllOf? Value14 { get; init; } #else - public global::System.AllOf? Value14 { get; } + public global::System.AllOf? Value14 { get; } #endif /// @@ -485,17 +485,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value14; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value14; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value14 = value; } @@ -504,9 +504,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value15 { get; init; } + public global::System.AllOf? Value15 { get; init; } #else - public global::System.AllOf? Value15 { get; } + public global::System.AllOf? Value15 { get; } #endif /// @@ -520,17 +520,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value15; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value15; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value15 = value; } @@ -539,9 +539,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value16 { get; init; } + public global::System.AllOf? Value16 { get; init; } #else - public global::System.AllOf? Value16 { get; } + public global::System.AllOf? Value16 { get; } #endif /// @@ -555,17 +555,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value16; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value16; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value16 = value; } @@ -574,9 +574,9 @@ public RepositoryRuleDetailed(global::System.AllOf #if NET6_0_OR_GREATER - public global::System.AllOf? Value17 { get; init; } + public global::System.AllOf? Value17 { get; init; } #else - public global::System.AllOf? Value17 { get; } + public global::System.AllOf? Value17 { get; } #endif /// @@ -590,17 +590,17 @@ public RepositoryRuleDetailed(global::System.AllOf /// /// - public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); + public static implicit operator RepositoryRuleDetailed(global::System.AllOf value) => new RepositoryRuleDetailed(value); /// /// /// - public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value17; + public static implicit operator global::System.AllOf?(RepositoryRuleDetailed @this) => @this.Value17; /// /// /// - public RepositoryRuleDetailed(global::System.AllOf? value) + public RepositoryRuleDetailed(global::System.AllOf? value) { Value17 = value; } @@ -609,23 +609,23 @@ public RepositoryRuleDetailed(global::System.AllOf public RepositoryRuleDetailed( - global::System.AllOf? value1, - global::System.AllOf? value2, - global::System.AllOf? value3, - global::System.AllOf? value4, - global::System.AllOf? value5, - global::System.AllOf? value6, - global::System.AllOf? value7, - global::System.AllOf? value8, - global::System.AllOf? value9, - global::System.AllOf? value10, - global::System.AllOf? value11, - global::System.AllOf? value12, - global::System.AllOf? value13, - global::System.AllOf? value14, - global::System.AllOf? value15, - global::System.AllOf? value16, - global::System.AllOf? value17 + global::System.AllOf? value1, + global::System.AllOf? value2, + global::System.AllOf? value3, + global::System.AllOf? value4, + global::System.AllOf? value5, + global::System.AllOf? value6, + global::System.AllOf? value7, + global::System.AllOf? value8, + global::System.AllOf? value9, + global::System.AllOf? value10, + global::System.AllOf? value11, + global::System.AllOf? value12, + global::System.AllOf? value13, + global::System.AllOf? value14, + global::System.AllOf? value15, + global::System.AllOf? value16, + global::System.AllOf? value17 ) { Value1 = value1; @@ -686,39 +686,39 @@ public override int GetHashCode() var fields = new object?[] { Value1, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value2, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value3, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value4, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value5, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value6, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value7, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value8, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value9, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value10, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value11, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value12, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value13, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value14, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value15, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value16, - typeof(global::System.AllOf), + typeof(global::System.AllOf), Value17, - typeof(global::System.AllOf), + typeof(global::System.AllOf), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -734,23 +734,23 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(RepositoryRuleDetailed other) { return - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value1, other.Value1) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value2, other.Value2) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value3, other.Value3) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value4, other.Value4) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value5, other.Value5) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value6, other.Value6) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value7, other.Value7) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value8, other.Value8) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value9, other.Value9) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value10, other.Value10) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value11, other.Value11) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value12, other.Value12) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value13, other.Value13) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value14, other.Value14) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value15, other.Value15) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value16, other.Value16) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value17, other.Value17) + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value1, other.Value1) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value2, other.Value2) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value3, other.Value3) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value4, other.Value4) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value5, other.Value5) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value6, other.Value6) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value7, other.Value7) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value8, other.Value8) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value9, other.Value9) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value10, other.Value10) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value11, other.Value11) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value12, other.Value12) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value13, other.Value13) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value14, other.Value14) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value15, other.Value15) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value16, other.Value16) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(Value17, other.Value17) ; } diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryRulesetConditionsRefName.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryRulesetConditionsRefName.g.cs index a39bb221..b7da2c14 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryRulesetConditionsRefName.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryRulesetConditionsRefName.g.cs @@ -12,13 +12,13 @@ public sealed partial class RepositoryRulesetConditionsRefName /// Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches. /// [global::System.Text.Json.Serialization.JsonPropertyName("include")] - public global::System.Collections.Generic.IList? Include { get; set; } + public global::System.Collections.Generic.IList? Include { get; set; } /// /// Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. /// [global::System.Text.Json.Serialization.JsonPropertyName("exclude")] - public global::System.Collections.Generic.IList? Exclude { get; set; } + public global::System.Collections.Generic.IList? Exclude { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryRulesetConditionsRepositoryNameTargetRepositoryName.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryRulesetConditionsRepositoryNameTargetRepositoryName.g.cs index f4c00c36..75e7c577 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryRulesetConditionsRepositoryNameTargetRepositoryName.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryRulesetConditionsRepositoryNameTargetRepositoryName.g.cs @@ -12,13 +12,13 @@ public sealed partial class RepositoryRulesetConditionsRepositoryNameTargetRepos /// Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories. /// [global::System.Text.Json.Serialization.JsonPropertyName("include")] - public global::System.Collections.Generic.IList? Include { get; set; } + public global::System.Collections.Generic.IList? Include { get; set; } /// /// Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. /// [global::System.Text.Json.Serialization.JsonPropertyName("exclude")] - public global::System.Collections.Generic.IList? Exclude { get; set; } + public global::System.Collections.Generic.IList? Exclude { get; set; } /// /// Whether renaming of target repositories is prevented. diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryWebhooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryWebhooks.g.cs index 807036c1..09e2685a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryWebhooks.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryWebhooks.g.cs @@ -465,13 +465,13 @@ public sealed partial class RepositoryWebhooks /// /// [global::System.Text.Json.Serialization.JsonPropertyName("topics")] - public global::System.Collections.Generic.IList? Topics { get; set; } + public global::System.Collections.Generic.IList? Topics { get; set; } /// /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_properties")] - public object? CustomProperties { get; set; } + public global::GitHub.RepositoryWebhooksCustomProperties? CustomProperties { get; set; } /// /// Whether issues are enabled.
diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryWebhooksCustomProperties.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryWebhooksCustomProperties.g.cs new file mode 100644 index 00000000..2cbdd628 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryWebhooksCustomProperties.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + public sealed partial class RepositoryWebhooksCustomProperties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RepositoryWebhooksTemplateRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RepositoryWebhooksTemplateRepository.g.cs index 9bfe7419..5f75932c 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.RepositoryWebhooksTemplateRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.RepositoryWebhooksTemplateRepository.g.cs @@ -372,7 +372,7 @@ public sealed partial class RepositoryWebhooksTemplateRepository /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("topics")] - public global::System.Collections.Generic.IList? Topics { get; set; } + public global::System.Collections.Generic.IList? Topics { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuite.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuite.g.cs index 4d4a9ed7..41e0821e 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.RuleSuite.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.RuleSuite.g.cs @@ -4,7 +4,7 @@ namespace GitHub { /// - /// Response + /// /// public sealed partial class RuleSuite { @@ -18,7 +18,7 @@ public sealed partial class RuleSuite /// The number that identifies the user. /// [global::System.Text.Json.Serialization.JsonPropertyName("actor_id")] - public int? ActorId { get; set; } + public int ActorId { get; set; } /// /// The handle for the GitHub user account. @@ -76,12 +76,6 @@ public sealed partial class RuleSuite [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteEvaluationResultJsonConverter))] public global::GitHub.RuleSuiteEvaluationResult? EvaluationResult { get; set; } - /// - /// Details on the evaluated rules. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("rule_evaluations")] - public global::System.Collections.Generic.IList? RuleEvaluations { get; set; } - /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuite2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuite2.g.cs new file mode 100644 index 00000000..df75ced4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RuleSuite2.g.cs @@ -0,0 +1,91 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Response + /// + public sealed partial class RuleSuite2 + { + /// + /// The unique identifier of the rule insight. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// The number that identifies the user. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("actor_id")] + public int? ActorId { get; set; } + + /// + /// The handle for the GitHub user account. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("actor_name")] + public string? ActorName { get; set; } + + /// + /// The first commit sha before the push evaluation. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("before_sha")] + public string? BeforeSha { get; set; } + + /// + /// The last commit sha in the push evaluation. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("after_sha")] + public string? AfterSha { get; set; } + + /// + /// The ref name that the evaluation ran on. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + public string? Ref { get; set; } + + /// + /// The ID of the repository associated with the rule evaluation. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_id")] + public int RepositoryId { get; set; } + + /// + /// The name of the repository without the `.git` extension. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_name")] + public string? RepositoryName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pushed_at")] + public global::System.DateTime PushedAt { get; set; } + + /// + /// The result of the rule evaluations for rules with the `active` enforcement status. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("result")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteResult2JsonConverter))] + public global::GitHub.RuleSuiteResult2? Result { get; set; } + + /// + /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("evaluation_result")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteEvaluationResult2JsonConverter))] + public global::GitHub.RuleSuiteEvaluationResult2? EvaluationResult { get; set; } + + /// + /// Details on the evaluated rules. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rule_evaluations")] + public global::System.Collections.Generic.IList? RuleEvaluations { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteEvaluationResult2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteEvaluationResult2.g.cs new file mode 100644 index 00000000..cb88e0f9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteEvaluationResult2.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. + /// + public enum RuleSuiteEvaluationResult2 + { + /// + /// + /// + Pass, + /// + /// + /// + Fail, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RuleSuiteEvaluationResult2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RuleSuiteEvaluationResult2 value) + { + return value switch + { + RuleSuiteEvaluationResult2.Pass => "pass", + RuleSuiteEvaluationResult2.Fail => "fail", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RuleSuiteEvaluationResult2? ToEnum(string value) + { + return value switch + { + "pass" => RuleSuiteEvaluationResult2.Pass, + "fail" => RuleSuiteEvaluationResult2.Fail, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteResult2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteResult2.g.cs new file mode 100644 index 00000000..045d5e21 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteResult2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The result of the rule evaluations for rules with the `active` enforcement status. + /// + public enum RuleSuiteResult2 + { + /// + /// + /// + Pass, + /// + /// + /// + Fail, + /// + /// + /// + Bypass, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RuleSuiteResult2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RuleSuiteResult2 value) + { + return value switch + { + RuleSuiteResult2.Pass => "pass", + RuleSuiteResult2.Fail => "fail", + RuleSuiteResult2.Bypass => "bypass", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RuleSuiteResult2? ToEnum(string value) + { + return value switch + { + "pass" => RuleSuiteResult2.Pass, + "fail" => RuleSuiteResult2.Fail, + "bypass" => RuleSuiteResult2.Bypass, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluation.g.cs new file mode 100644 index 00000000..cadf363e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluation.g.cs @@ -0,0 +1,49 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class RuleSuiteRuleEvaluation + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rule_source")] + public global::GitHub.RuleSuiteRuleEvaluationRuleSource? RuleSource { get; set; } + + /// + /// The enforcement level of this rule source. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("enforcement")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteRuleEvaluationEnforcementJsonConverter))] + public global::GitHub.RuleSuiteRuleEvaluationEnforcement? Enforcement { get; set; } + + /// + /// The result of the evaluation of the individual rule. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("result")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteRuleEvaluationResultJsonConverter))] + public global::GitHub.RuleSuiteRuleEvaluationResult? Result { get; set; } + + /// + /// The type of rule. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rule_type")] + public string? RuleType { get; set; } + + /// + /// Any associated details with the rule evaluation. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("details")] + public string? Details { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationEnforcement.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationEnforcement.g.cs new file mode 100644 index 00000000..cc267a34 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationEnforcement.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The enforcement level of this rule source. + /// + public enum RuleSuiteRuleEvaluationEnforcement + { + /// + /// + /// + Active, + /// + /// + /// + Evaluate, + /// + /// + /// + DeletedRuleset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RuleSuiteRuleEvaluationEnforcementExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RuleSuiteRuleEvaluationEnforcement value) + { + return value switch + { + RuleSuiteRuleEvaluationEnforcement.Active => "active", + RuleSuiteRuleEvaluationEnforcement.Evaluate => "evaluate", + RuleSuiteRuleEvaluationEnforcement.DeletedRuleset => "deleted ruleset", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RuleSuiteRuleEvaluationEnforcement? ToEnum(string value) + { + return value switch + { + "active" => RuleSuiteRuleEvaluationEnforcement.Active, + "evaluate" => RuleSuiteRuleEvaluationEnforcement.Evaluate, + "deleted ruleset" => RuleSuiteRuleEvaluationEnforcement.DeletedRuleset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationResult.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationResult.g.cs new file mode 100644 index 00000000..bdc3f54f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationResult.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The result of the evaluation of the individual rule. + /// + public enum RuleSuiteRuleEvaluationResult + { + /// + /// + /// + Pass, + /// + /// + /// + Fail, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RuleSuiteRuleEvaluationResultExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RuleSuiteRuleEvaluationResult value) + { + return value switch + { + RuleSuiteRuleEvaluationResult.Pass => "pass", + RuleSuiteRuleEvaluationResult.Fail => "fail", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RuleSuiteRuleEvaluationResult? ToEnum(string value) + { + return value switch + { + "pass" => RuleSuiteRuleEvaluationResult.Pass, + "fail" => RuleSuiteRuleEvaluationResult.Fail, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationRuleSource.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationRuleSource.g.cs new file mode 100644 index 00000000..c8dbcd6c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationRuleSource.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class RuleSuiteRuleEvaluationRuleSource + { + /// + /// The type of rule source. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// The ID of the rule source. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int? Id { get; set; } + + /// + /// The name of the rule source. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluations.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluations.g.cs deleted file mode 100644 index 7274cb25..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluations.g.cs +++ /dev/null @@ -1,49 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class RuleSuiteRuleEvaluations - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("rule_source")] - public global::GitHub.RuleSuiteRuleEvaluationsRuleSource? RuleSource { get; set; } - - /// - /// The enforcement level of this rule source. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("enforcement")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteRuleEvaluationsEnforcementJsonConverter))] - public global::GitHub.RuleSuiteRuleEvaluationsEnforcement? Enforcement { get; set; } - - /// - /// The result of the evaluation of the individual rule. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("result")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteRuleEvaluationsResultJsonConverter))] - public global::GitHub.RuleSuiteRuleEvaluationsResult? Result { get; set; } - - /// - /// The type of rule. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("rule_type")] - public string? RuleType { get; set; } - - /// - /// Any associated details with the rule evaluation. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("details")] - public string? Details { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationsEnforcement.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationsEnforcement.g.cs deleted file mode 100644 index a2e9b9b4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationsEnforcement.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The enforcement level of this rule source. - /// - public enum RuleSuiteRuleEvaluationsEnforcement - { - /// - /// - /// - Active, - /// - /// - /// - Evaluate, - /// - /// - /// - DeletedRuleset, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class RuleSuiteRuleEvaluationsEnforcementExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this RuleSuiteRuleEvaluationsEnforcement value) - { - return value switch - { - RuleSuiteRuleEvaluationsEnforcement.Active => "active", - RuleSuiteRuleEvaluationsEnforcement.Evaluate => "evaluate", - RuleSuiteRuleEvaluationsEnforcement.DeletedRuleset => "deleted ruleset", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static RuleSuiteRuleEvaluationsEnforcement? ToEnum(string value) - { - return value switch - { - "active" => RuleSuiteRuleEvaluationsEnforcement.Active, - "evaluate" => RuleSuiteRuleEvaluationsEnforcement.Evaluate, - "deleted ruleset" => RuleSuiteRuleEvaluationsEnforcement.DeletedRuleset, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationsResult.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationsResult.g.cs deleted file mode 100644 index c1cf4ce9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationsResult.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The result of the evaluation of the individual rule. - /// - public enum RuleSuiteRuleEvaluationsResult - { - /// - /// - /// - Pass, - /// - /// - /// - Fail, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class RuleSuiteRuleEvaluationsResultExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this RuleSuiteRuleEvaluationsResult value) - { - return value switch - { - RuleSuiteRuleEvaluationsResult.Pass => "pass", - RuleSuiteRuleEvaluationsResult.Fail => "fail", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static RuleSuiteRuleEvaluationsResult? ToEnum(string value) - { - return value switch - { - "pass" => RuleSuiteRuleEvaluationsResult.Pass, - "fail" => RuleSuiteRuleEvaluationsResult.Fail, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationsRuleSource.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationsRuleSource.g.cs deleted file mode 100644 index 99c3049b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RuleSuiteRuleEvaluationsRuleSource.g.cs +++ /dev/null @@ -1,35 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class RuleSuiteRuleEvaluationsRuleSource - { - /// - /// The type of rule source. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } - - /// - /// The ID of the rule source. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } - - /// - /// The name of the rule source. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuites.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuites.g.cs deleted file mode 100644 index bdc21774..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RuleSuites.g.cs +++ /dev/null @@ -1,85 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class RuleSuites - { - /// - /// The unique identifier of the rule insight. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// The number that identifies the user. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("actor_id")] - public int ActorId { get; set; } - - /// - /// The handle for the GitHub user account. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("actor_name")] - public string? ActorName { get; set; } - - /// - /// The first commit sha before the push evaluation. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("before_sha")] - public string? BeforeSha { get; set; } - - /// - /// The last commit sha in the push evaluation. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("after_sha")] - public string? AfterSha { get; set; } - - /// - /// The ref name that the evaluation ran on. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - public string? Ref { get; set; } - - /// - /// The ID of the repository associated with the rule evaluation. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_id")] - public int RepositoryId { get; set; } - - /// - /// The name of the repository without the `.git` extension. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_name")] - public string? RepositoryName { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pushed_at")] - public global::System.DateTime PushedAt { get; set; } - - /// - /// The result of the rule evaluations for rules with the `active` enforcement status. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("result")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.RuleSuitesResultJsonConverter))] - public global::GitHub.RuleSuitesResult? Result { get; set; } - - /// - /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("evaluation_result")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.RuleSuitesEvaluationResultJsonConverter))] - public global::GitHub.RuleSuitesEvaluationResult? EvaluationResult { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuitesEvaluationResult.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuitesEvaluationResult.g.cs deleted file mode 100644 index d7823510..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RuleSuitesEvaluationResult.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. - /// - public enum RuleSuitesEvaluationResult - { - /// - /// - /// - Pass, - /// - /// - /// - Fail, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class RuleSuitesEvaluationResultExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this RuleSuitesEvaluationResult value) - { - return value switch - { - RuleSuitesEvaluationResult.Pass => "pass", - RuleSuitesEvaluationResult.Fail => "fail", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static RuleSuitesEvaluationResult? ToEnum(string value) - { - return value switch - { - "pass" => RuleSuitesEvaluationResult.Pass, - "fail" => RuleSuitesEvaluationResult.Fail, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.RuleSuitesResult.g.cs b/src/libs/GitHub/Generated/GitHub.Models.RuleSuitesResult.g.cs deleted file mode 100644 index b9b5d2b1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.RuleSuitesResult.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The result of the rule evaluations for rules with the `active` enforcement status. - /// - public enum RuleSuitesResult - { - /// - /// - /// - Pass, - /// - /// - /// - Fail, - /// - /// - /// - Bypass, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class RuleSuitesResultExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this RuleSuitesResult value) - { - return value switch - { - RuleSuitesResult.Pass => "pass", - RuleSuitesResult.Fail => "fail", - RuleSuitesResult.Bypass => "bypass", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static RuleSuitesResult? ToEnum(string value) - { - return value switch - { - "pass" => RuleSuitesResult.Pass, - "fail" => RuleSuitesResult.Fail, - "bypass" => RuleSuitesResult.Bypass, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ScimError.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ScimError.g.cs index ac59743c..8601ac15 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ScimError.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ScimError.g.cs @@ -42,7 +42,7 @@ public sealed partial class ScimError /// /// [global::System.Text.Json.Serialization.JsonPropertyName("schemas")] - public global::System.Collections.Generic.IList? Schemas { get; set; } + public global::System.Collections.Generic.IList? Schemas { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.SearchCodeResponse2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SearchCodeResponse2.g.cs new file mode 100644 index 00000000..c61aa079 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.SearchCodeResponse2.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class SearchCodeResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + public string? Code { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("documentation_url")] + public string? DocumentationUrl { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SearchIssuesAndPullRequestsResponse2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SearchIssuesAndPullRequestsResponse2.g.cs new file mode 100644 index 00000000..5879d271 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.SearchIssuesAndPullRequestsResponse2.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class SearchIssuesAndPullRequestsResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + public string? Code { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("documentation_url")] + public string? DocumentationUrl { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SearchReposResponse2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SearchReposResponse2.g.cs new file mode 100644 index 00000000..b28b4d15 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.SearchReposResponse2.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class SearchReposResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + public string? Code { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("documentation_url")] + public string? DocumentationUrl { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatche.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatche.g.cs new file mode 100644 index 00000000..d40343ba --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatche.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class SearchResultTextMatche + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object_url")] + public string? ObjectUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object_type")] + public string? ObjectType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("property")] + public string? Property { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fragment")] + public string? Fragment { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("matches")] + public global::System.Collections.Generic.IList? Matches { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatcheMatche.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatcheMatche.g.cs new file mode 100644 index 00000000..5b1501b7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatcheMatche.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class SearchResultTextMatcheMatche + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("text")] + public string? Text { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("indices")] + public global::System.Collections.Generic.IList? Indices { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatches.g.cs deleted file mode 100644 index d3e88a29..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatches.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class SearchResultTextMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_url")] - public string? ObjectUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_type")] - public string? ObjectType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("property")] - public string? Property { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("fragment")] - public string? Fragment { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("matches")] - public global::System.Collections.Generic.IList? Matches { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatchesMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatchesMatches.g.cs deleted file mode 100644 index 9a76e16b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.SearchResultTextMatchesMatches.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class SearchResultTextMatchesMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("text")] - public string? Text { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("indices")] - public global::System.Collections.Generic.IList? Indices { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SearchUsersResponse2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SearchUsersResponse2.g.cs new file mode 100644 index 00000000..e02add75 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.SearchUsersResponse2.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class SearchUsersResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + public string? Code { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("documentation_url")] + public string? DocumentationUrl { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SecurityAdvisoriesListGlobalAdvisoriesEcosystem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SecurityAdvisoriesListGlobalAdvisoriesEcosystem.g.cs deleted file mode 100644 index b58ca3e9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.SecurityAdvisoriesListGlobalAdvisoriesEcosystem.g.cs +++ /dev/null @@ -1,117 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The package's language or package management ecosystem. - /// - public enum SecurityAdvisoriesListGlobalAdvisoriesEcosystem - { - /// - /// - /// - Rubygems, - /// - /// - /// - Npm, - /// - /// - /// - Pip, - /// - /// - /// - Maven, - /// - /// - /// - Nuget, - /// - /// - /// - Composer, - /// - /// - /// - Go, - /// - /// - /// - Rust, - /// - /// - /// - Erlang, - /// - /// - /// - Actions, - /// - /// - /// - Pub, - /// - /// - /// - Other, - /// - /// - /// - Swift, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class SecurityAdvisoriesListGlobalAdvisoriesEcosystemExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this SecurityAdvisoriesListGlobalAdvisoriesEcosystem value) - { - return value switch - { - SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Rubygems => "rubygems", - SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Npm => "npm", - SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Pip => "pip", - SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Maven => "maven", - SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Nuget => "nuget", - SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Composer => "composer", - SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Go => "go", - SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Rust => "rust", - SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Erlang => "erlang", - SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Actions => "actions", - SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Pub => "pub", - SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Other => "other", - SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Swift => "swift", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static SecurityAdvisoriesListGlobalAdvisoriesEcosystem? ToEnum(string value) - { - return value switch - { - "rubygems" => SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Rubygems, - "npm" => SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Npm, - "pip" => SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Pip, - "maven" => SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Maven, - "nuget" => SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Nuget, - "composer" => SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Composer, - "go" => SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Go, - "rust" => SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Rust, - "erlang" => SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Erlang, - "actions" => SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Actions, - "pub" => SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Pub, - "other" => SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Other, - "swift" => SecurityAdvisoriesListGlobalAdvisoriesEcosystem.Swift, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SelectedActions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SelectedActions.g.cs index f84aba79..13b295e4 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.SelectedActions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.SelectedActions.g.cs @@ -26,7 +26,7 @@ public sealed partial class SelectedActions /// > The `patterns_allowed` setting only applies to public repositories. /// [global::System.Text.Json.Serialization.JsonPropertyName("patterns_allowed")] - public global::System.Collections.Generic.IList? PatternsAllowed { get; set; } + public global::System.Collections.Generic.IList? PatternsAllowed { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0DsseEnvelope.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0DsseEnvelope.g.cs index 6841df5d..eeb7322b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0DsseEnvelope.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0DsseEnvelope.g.cs @@ -24,7 +24,7 @@ public sealed partial class SigstoreBundle0DsseEnvelope /// /// [global::System.Text.Json.Serialization.JsonPropertyName("signatures")] - public global::System.Collections.Generic.IList? Signatures { get; set; } + public global::System.Collections.Generic.IList? Signatures { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0DsseEnvelopeSignature.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0DsseEnvelopeSignature.g.cs new file mode 100644 index 00000000..94929da3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0DsseEnvelopeSignature.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class SigstoreBundle0DsseEnvelopeSignature + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sig")] + public string? Sig { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("keyid")] + public string? Keyid { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0DsseEnvelopeSignatures.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0DsseEnvelopeSignatures.g.cs deleted file mode 100644 index 3b7c491c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0DsseEnvelopeSignatures.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class SigstoreBundle0DsseEnvelopeSignatures - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sig")] - public string? Sig { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("keyid")] - public string? Keyid { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterial.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterial.g.cs index e1a4d8e2..2f137b39 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterial.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterial.g.cs @@ -18,7 +18,7 @@ public sealed partial class SigstoreBundle0VerificationMaterial /// /// [global::System.Text.Json.Serialization.JsonPropertyName("tlogEntries")] - public global::System.Collections.Generic.IList? TlogEntries { get; set; } + public global::System.Collections.Generic.IList? TlogEntries { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrie.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrie.g.cs new file mode 100644 index 00000000..67705910 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrie.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialTlogEntrie + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("logIndex")] + public string? LogIndex { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("logId")] + public global::GitHub.SigstoreBundle0VerificationMaterialTlogEntrieLogId? LogId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("kindVersion")] + public global::GitHub.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion? KindVersion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("integratedTime")] + public string? IntegratedTime { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inclusionPromise")] + public global::GitHub.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise? InclusionPromise { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inclusionProof")] + public string? InclusionProof { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("canonicalizedBody")] + public string? CanonicalizedBody { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise.g.cs new file mode 100644 index 00000000..5c04391f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("signedEntryTimestamp")] + public string? SignedEntryTimestamp { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion.g.cs new file mode 100644 index 00000000..1848d2a9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialTlogEntrieKindVersion + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("kind")] + public string? Kind { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("version")] + public string? Version { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrieLogId.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrieLogId.g.cs new file mode 100644 index 00000000..0063d9a2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntrieLogId.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialTlogEntrieLogId + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("keyId")] + public string? KeyId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntries.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntries.g.cs deleted file mode 100644 index c46f8065..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntries.g.cs +++ /dev/null @@ -1,59 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class SigstoreBundle0VerificationMaterialTlogEntries - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("logIndex")] - public string? LogIndex { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("logId")] - public global::GitHub.SigstoreBundle0VerificationMaterialTlogEntriesLogId? LogId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("kindVersion")] - public global::GitHub.SigstoreBundle0VerificationMaterialTlogEntriesKindVersion? KindVersion { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("integratedTime")] - public string? IntegratedTime { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("inclusionPromise")] - public global::GitHub.SigstoreBundle0VerificationMaterialTlogEntriesInclusionPromise? InclusionPromise { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("inclusionProof")] - public string? InclusionProof { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("canonicalizedBody")] - public string? CanonicalizedBody { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntriesInclusionPromise.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntriesInclusionPromise.g.cs deleted file mode 100644 index 5fa86b9b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntriesInclusionPromise.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class SigstoreBundle0VerificationMaterialTlogEntriesInclusionPromise - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("signedEntryTimestamp")] - public string? SignedEntryTimestamp { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntriesKindVersion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntriesKindVersion.g.cs deleted file mode 100644 index 20ad6368..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntriesKindVersion.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class SigstoreBundle0VerificationMaterialTlogEntriesKindVersion - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("kind")] - public string? Kind { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("version")] - public string? Version { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntriesLogId.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntriesLogId.g.cs deleted file mode 100644 index 5fe032f9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialTlogEntriesLogId.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class SigstoreBundle0VerificationMaterialTlogEntriesLogId - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("keyId")] - public string? KeyId { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialX509CertificateChain.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialX509CertificateChain.g.cs index c349c7e0..9e369c71 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialX509CertificateChain.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialX509CertificateChain.g.cs @@ -12,7 +12,7 @@ public sealed partial class SigstoreBundle0VerificationMaterialX509CertificateCh /// /// [global::System.Text.Json.Serialization.JsonPropertyName("certificates")] - public global::System.Collections.Generic.IList? Certificates { get; set; } + public global::System.Collections.Generic.IList? Certificates { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate.g.cs new file mode 100644 index 00000000..77aab9e3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class SigstoreBundle0VerificationMaterialX509CertificateChainCertificate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rawBytes")] + public string? RawBytes { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificates.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificates.g.cs deleted file mode 100644 index 51f2e74a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.SigstoreBundle0VerificationMaterialX509CertificateChainCertificates.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class SigstoreBundle0VerificationMaterialX509CertificateChainCertificates - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("rawBytes")] - public string? RawBytes { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.Snapshot.g.cs b/src/libs/GitHub/Generated/GitHub.Models.Snapshot.g.cs index d874710c..57227ff3 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.Snapshot.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.Snapshot.g.cs @@ -55,7 +55,7 @@ public sealed partial class Snapshot /// A collection of package manifests, which are a collection of related dependencies declared in a file or representing a logical group of dependencies. /// [global::System.Text.Json.Serialization.JsonPropertyName("manifests")] - public object? Manifests { get; set; } + public global::GitHub.SnapshotManifests? Manifests { get; set; } /// /// The time at which the snapshot was scanned. diff --git a/src/libs/GitHub/Generated/GitHub.Models.SnapshotManifests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.SnapshotManifests.g.cs new file mode 100644 index 00000000..4c408729 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.SnapshotManifests.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// A collection of package manifests, which are a collection of related dependencies declared in a file or representing a logical group of dependencies. + /// + public sealed partial class SnapshotManifests + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.StatusCheckPolicy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.StatusCheckPolicy.g.cs index 5b5231d2..7bd77003 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.StatusCheckPolicy.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.StatusCheckPolicy.g.cs @@ -34,7 +34,7 @@ public sealed partial class StatusCheckPolicy /// [global::System.Text.Json.Serialization.JsonPropertyName("checks")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Checks { get; set; } + public required global::System.Collections.Generic.IList Checks { get; set; } /// /// Example: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts diff --git a/src/libs/GitHub/Generated/GitHub.Models.StatusCheckPolicyCheck.g.cs b/src/libs/GitHub/Generated/GitHub.Models.StatusCheckPolicyCheck.g.cs new file mode 100644 index 00000000..e873ea17 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.StatusCheckPolicyCheck.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class StatusCheckPolicyCheck + { + /// + /// Example: continuous-integration/travis-ci + /// + [global::System.Text.Json.Serialization.JsonPropertyName("context")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Context { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("app_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? AppId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.StatusCheckPolicyChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.StatusCheckPolicyChecks.g.cs deleted file mode 100644 index 389ececf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.StatusCheckPolicyChecks.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class StatusCheckPolicyChecks - { - /// - /// Example: continuous-integration/travis-ci - /// - [global::System.Text.Json.Serialization.JsonPropertyName("context")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Context { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("app_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? AppId { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.TeamRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TeamRepository.g.cs index 54154724..ddfcea3c 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.TeamRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.TeamRepository.g.cs @@ -463,7 +463,7 @@ public sealed partial class TeamRepository /// /// [global::System.Text.Json.Serialization.JsonPropertyName("topics")] - public global::System.Collections.Generic.IList? Topics { get; set; } + public global::System.Collections.Generic.IList? Topics { get; set; } /// /// Whether issues are enabled.
diff --git a/src/libs/GitHub/Generated/GitHub.Models.TeamsCreateRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TeamsCreateRequest.g.cs index e3dd2a34..3ee012cd 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.TeamsCreateRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.TeamsCreateRequest.g.cs @@ -25,13 +25,13 @@ public sealed partial class TeamsCreateRequest /// List GitHub IDs for organization members who will become team maintainers. ///
[global::System.Text.Json.Serialization.JsonPropertyName("maintainers")] - public global::System.Collections.Generic.IList? Maintainers { get; set; } + public global::System.Collections.Generic.IList? Maintainers { get; set; } /// /// The full name (e.g., "organization-name/repository-name") of repositories to add the team to. /// [global::System.Text.Json.Serialization.JsonPropertyName("repo_names")] - public global::System.Collections.Generic.IList? RepoNames { get; set; } + public global::System.Collections.Generic.IList? RepoNames { get; set; } /// /// The level of privacy this team should have. The options are:
diff --git a/src/libs/GitHub/Generated/GitHub.Models.TimelineCommittedEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TimelineCommittedEvent.g.cs index ea763f35..62d91aa2 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.TimelineCommittedEvent.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.TimelineCommittedEvent.g.cs @@ -70,7 +70,7 @@ public sealed partial class TimelineCommittedEvent ///
[global::System.Text.Json.Serialization.JsonPropertyName("parents")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Parents { get; set; } + public required global::System.Collections.Generic.IList Parents { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.TimelineCommittedEventParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TimelineCommittedEventParent.g.cs new file mode 100644 index 00000000..8563d8ce --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.TimelineCommittedEventParent.g.cs @@ -0,0 +1,39 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class TimelineCommittedEventParent + { + /// + /// SHA for the commit
+ /// Example: 7638417db6d59f3c431d3e1f261cc637155684cd + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.TimelineCommittedEventParents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TimelineCommittedEventParents.g.cs deleted file mode 100644 index 0c32aec9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.TimelineCommittedEventParents.g.cs +++ /dev/null @@ -1,39 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class TimelineCommittedEventParents - { - /// - /// SHA for the commit
- /// Example: 7638417db6d59f3c431d3e1f261cc637155684cd - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItem.g.cs index 44a90701..47224ea6 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItem.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItem.g.cs @@ -101,19 +101,19 @@ public sealed partial class TopicSearchResultItem /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("text_matches")] - public global::System.Collections.Generic.IList? TextMatches { get; set; } + public global::System.Collections.Generic.IList? TextMatches { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("related")] - public global::System.Collections.Generic.IList? Related { get; set; } + public global::System.Collections.Generic.IList? Related { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("aliases")] - public global::System.Collections.Generic.IList? Aliases { get; set; } + public global::System.Collections.Generic.IList? Aliases { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliase.g.cs new file mode 100644 index 00000000..8f483b9c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliase.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class TopicSearchResultItemAliase + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("topic_relation")] + public global::GitHub.TopicSearchResultItemAliaseTopicRelation? TopicRelation { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliaseTopicRelation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliaseTopicRelation.g.cs new file mode 100644 index 00000000..a6cc956e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliaseTopicRelation.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class TopicSearchResultItemAliaseTopicRelation + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("topic_id")] + public int TopicId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relation_type")] + public string? RelationType { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliases.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliases.g.cs deleted file mode 100644 index f45ed8e4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliases.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class TopicSearchResultItemAliases - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("topic_relation")] - public global::GitHub.TopicSearchResultItemAliasesTopicRelation? TopicRelation { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliasesTopicRelation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliasesTopicRelation.g.cs deleted file mode 100644 index 1eb2202b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemAliasesTopicRelation.g.cs +++ /dev/null @@ -1,41 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class TopicSearchResultItemAliasesTopicRelation - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("topic_id")] - public int TopicId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("relation_type")] - public string? RelationType { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelated.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelated.g.cs deleted file mode 100644 index 5444d677..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelated.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class TopicSearchResultItemRelated - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("topic_relation")] - public global::GitHub.TopicSearchResultItemRelatedTopicRelation? TopicRelation { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelatedItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelatedItem.g.cs new file mode 100644 index 00000000..1162dfcf --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelatedItem.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class TopicSearchResultItemRelatedItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("topic_relation")] + public global::GitHub.TopicSearchResultItemRelatedItemTopicRelation? TopicRelation { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelatedItemTopicRelation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelatedItemTopicRelation.g.cs new file mode 100644 index 00000000..7f43e01c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelatedItemTopicRelation.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class TopicSearchResultItemRelatedItemTopicRelation + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("topic_id")] + public int TopicId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("relation_type")] + public string? RelationType { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelatedTopicRelation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelatedTopicRelation.g.cs deleted file mode 100644 index 896bdb58..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemRelatedTopicRelation.g.cs +++ /dev/null @@ -1,41 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class TopicSearchResultItemRelatedTopicRelation - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("topic_id")] - public int TopicId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("relation_type")] - public string? RelationType { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemTextMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemTextMatches.g.cs deleted file mode 100644 index 77d6855b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemTextMatches.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class TopicSearchResultItemTextMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_url")] - public string? ObjectUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_type")] - public string? ObjectType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("property")] - public string? Property { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("fragment")] - public string? Fragment { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("matches")] - public global::System.Collections.Generic.IList? Matches { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemTextMatchesMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemTextMatchesMatches.g.cs deleted file mode 100644 index 02b030cb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.TopicSearchResultItemTextMatchesMatches.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class TopicSearchResultItemTextMatchesMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("text")] - public string? Text { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("indices")] - public global::System.Collections.Generic.IList? Indices { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.UserSearchResultItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.UserSearchResultItem.g.cs index 01d31746..7553506a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.UserSearchResultItem.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.UserSearchResultItem.g.cs @@ -211,7 +211,7 @@ public sealed partial class UserSearchResultItem /// /// [global::System.Text.Json.Serialization.JsonPropertyName("text_matches")] - public global::System.Collections.Generic.IList? TextMatches { get; set; } + public global::System.Collections.Generic.IList? TextMatches { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.UserSearchResultItemTextMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.UserSearchResultItemTextMatches.g.cs deleted file mode 100644 index 7c34a85e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.UserSearchResultItemTextMatches.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class UserSearchResultItemTextMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_url")] - public string? ObjectUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("object_type")] - public string? ObjectType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("property")] - public string? Property { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("fragment")] - public string? Fragment { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("matches")] - public global::System.Collections.Generic.IList? Matches { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.UserSearchResultItemTextMatchesMatches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.UserSearchResultItemTextMatchesMatches.g.cs deleted file mode 100644 index 74c92b09..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.UserSearchResultItemTextMatchesMatches.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class UserSearchResultItemTextMatchesMatches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("text")] - public string? Text { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("indices")] - public global::System.Collections.Generic.IList? Indices { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.UsersAddEmailForAuthenticatedUserRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.UsersAddEmailForAuthenticatedUserRequest2.g.cs new file mode 100644 index 00000000..3dcbdbb2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.UsersAddEmailForAuthenticatedUserRequest2.g.cs @@ -0,0 +1,25 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class UsersAddEmailForAuthenticatedUserRequest2 + { + /// + /// Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key.
+ /// Example: [] + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("emails")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Emails { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.UsersAddEmailForAuthenticatedUserRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.UsersAddEmailForAuthenticatedUserRequestVariant1.g.cs deleted file mode 100644 index 68ee3953..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.UsersAddEmailForAuthenticatedUserRequestVariant1.g.cs +++ /dev/null @@ -1,25 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class UsersAddEmailForAuthenticatedUserRequestVariant1 - { - /// - /// Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key.
- /// Example: [] - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("emails")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Emails { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.UsersDeleteEmailForAuthenticatedUserRequest2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.UsersDeleteEmailForAuthenticatedUserRequest2.g.cs new file mode 100644 index 00000000..cbf3760f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.UsersDeleteEmailForAuthenticatedUserRequest2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Deletes one or more email addresses from your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key. + /// + public sealed partial class UsersDeleteEmailForAuthenticatedUserRequest2 + { + /// + /// Email addresses associated with the GitHub user account. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("emails")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Emails { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.UsersDeleteEmailForAuthenticatedUserRequestVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.UsersDeleteEmailForAuthenticatedUserRequestVariant1.g.cs deleted file mode 100644 index cd23a186..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.UsersDeleteEmailForAuthenticatedUserRequestVariant1.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Deletes one or more email addresses from your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key. - /// - public sealed partial class UsersDeleteEmailForAuthenticatedUserRequestVariant1 - { - /// - /// Email addresses associated with the GitHub user account. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("emails")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Emails { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.UsersListAttestationsResponse.g.cs b/src/libs/GitHub/Generated/GitHub.Models.UsersListAttestationsResponse.g.cs index 5513fd60..cbb85e1d 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.UsersListAttestationsResponse.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.UsersListAttestationsResponse.g.cs @@ -12,7 +12,7 @@ public sealed partial class UsersListAttestationsResponse /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("attestations")] - public global::System.Collections.Generic.IList? Attestations { get; set; } + public global::System.Collections.Generic.IList? Attestations { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.UsersListAttestationsResponseAttestation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.UsersListAttestationsResponseAttestation.g.cs new file mode 100644 index 00000000..a67c10c1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.UsersListAttestationsResponseAttestation.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class UsersListAttestationsResponseAttestation + { + /// + /// Sigstore Bundle v0.1 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("bundle")] + public global::GitHub.SigstoreBundle0? Bundle { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_id")] + public int RepositoryId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.UsersListAttestationsResponseAttestations.g.cs b/src/libs/GitHub/Generated/GitHub.Models.UsersListAttestationsResponseAttestations.g.cs deleted file mode 100644 index cd2bbd06..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.UsersListAttestationsResponseAttestations.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class UsersListAttestationsResponseAttestations - { - /// - /// Sigstore Bundle v0.1 - /// - [global::System.Text.Json.Serialization.JsonPropertyName("bundle")] - public global::GitHub.SigstoreBundle0? Bundle { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_id")] - public int RepositoryId { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ValidationError.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ValidationError.g.cs index b973525e..04a0fa2b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ValidationError.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ValidationError.g.cs @@ -26,7 +26,7 @@ public sealed partial class ValidationError /// /// [global::System.Text.Json.Serialization.JsonPropertyName("errors")] - public global::System.Collections.Generic.IList? Errors { get; set; } + public global::System.Collections.Generic.IList? Errors { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.ValidationErrorError.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ValidationErrorError.g.cs new file mode 100644 index 00000000..2b159032 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.ValidationErrorError.g.cs @@ -0,0 +1,57 @@ + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class ValidationErrorError + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("resource")] + public string? Resource { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("field")] + public string? Field { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Code { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("index")] + public int Index { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory3))] + public global::System.OneOf?>? Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ValidationErrorErrors.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ValidationErrorErrors.g.cs deleted file mode 100644 index 9fcb85e1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.ValidationErrorErrors.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class ValidationErrorErrors - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("resource")] - public string? Resource { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("field")] - public string? Field { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("message")] - public string? Message { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("code")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Code { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory3))] - public global::System.OneOf?>? Value { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.ValidationErrorSimple.g.cs b/src/libs/GitHub/Generated/GitHub.Models.ValidationErrorSimple.g.cs index 8667571f..64afab39 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.ValidationErrorSimple.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.ValidationErrorSimple.g.cs @@ -26,7 +26,7 @@ public sealed partial class ValidationErrorSimple /// /// [global::System.Text.Json.Serialization.JsonPropertyName("errors")] - public global::System.Collections.Generic.IList? Errors { get; set; } + public global::System.Collections.Generic.IList? Errors { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuite.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuite.g.cs index ac56b69e..f99f8e7c 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuite.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuite.g.cs @@ -98,7 +98,7 @@ public sealed partial class WebhookCheckSuiteCompletedCheckSuite /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PullRequests { get; set; } + public required global::System.Collections.Generic.IList PullRequests { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuiteApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuiteApp.g.cs index 603b58c0..8e91d92c 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuiteApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuiteApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookCheckSuiteCompletedCheckSuiteApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuiteAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuiteAppEvent.g.cs new file mode 100644 index 00000000..737791c7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuiteAppEvent.g.cs @@ -0,0 +1,351 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookCheckSuiteCompletedCheckSuiteAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + MergeGroup, + /// + /// + /// + PullRequestReviewThread, + /// + /// + /// + WorkflowJob, + /// + /// + /// + MergeQueueEntry, + /// + /// + /// + SecurityAndAnalysis, + /// + /// + /// + ProjectsV2Item, + /// + /// + /// + SecretScanningAlertLocation, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookCheckSuiteCompletedCheckSuiteAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookCheckSuiteCompletedCheckSuiteAppEvent value) + { + return value switch + { + WebhookCheckSuiteCompletedCheckSuiteAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.CheckRun => "check_run", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.CheckSuite => "check_suite", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.CommitComment => "commit_comment", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.ContentReference => "content_reference", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Create => "create", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Delete => "delete", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Deployment => "deployment", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.DeploymentReview => "deployment_review", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.DeploymentStatus => "deployment_status", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.DeployKey => "deploy_key", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Discussion => "discussion", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.DiscussionComment => "discussion_comment", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Fork => "fork", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Gollum => "gollum", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Issues => "issues", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.IssueComment => "issue_comment", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Label => "label", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Member => "member", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Membership => "membership", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Milestone => "milestone", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Organization => "organization", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.OrgBlock => "org_block", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.PageBuild => "page_build", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Project => "project", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.ProjectCard => "project_card", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.ProjectColumn => "project_column", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Public => "public", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.PullRequest => "pull_request", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.PullRequestReview => "pull_request_review", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Push => "push", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.RegistryPackage => "registry_package", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Release => "release", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Repository => "repository", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Star => "star", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Status => "status", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Team => "team", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.TeamAdd => "team_add", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.Watch => "watch", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.WorkflowRun => "workflow_run", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.MergeGroup => "merge_group", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.PullRequestReviewThread => "pull_request_review_thread", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.WorkflowJob => "workflow_job", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.MergeQueueEntry => "merge_queue_entry", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.SecurityAndAnalysis => "security_and_analysis", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.ProjectsV2Item => "projects_v2_item", + WebhookCheckSuiteCompletedCheckSuiteAppEvent.SecretScanningAlertLocation => "secret_scanning_alert_location", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookCheckSuiteCompletedCheckSuiteAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.BranchProtectionRule, + "check_run" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.CheckRun, + "check_suite" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.CheckSuite, + "code_scanning_alert" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.CodeScanningAlert, + "commit_comment" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.CommitComment, + "content_reference" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.ContentReference, + "create" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Create, + "delete" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Delete, + "deployment" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Deployment, + "deployment_review" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.DeploymentReview, + "deployment_status" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.DeploymentStatus, + "deploy_key" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.DeployKey, + "discussion" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Discussion, + "discussion_comment" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.DiscussionComment, + "fork" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Fork, + "gollum" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Gollum, + "issues" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Issues, + "issue_comment" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.IssueComment, + "label" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Label, + "member" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Member, + "membership" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Membership, + "milestone" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Milestone, + "organization" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Organization, + "org_block" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.OrgBlock, + "page_build" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.PageBuild, + "project" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Project, + "project_card" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.ProjectCard, + "project_column" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.ProjectColumn, + "public" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Public, + "pull_request" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.PullRequest, + "pull_request_review" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.PullRequestReviewComment, + "push" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Push, + "registry_package" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.RegistryPackage, + "release" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Release, + "repository" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Repository, + "repository_dispatch" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.SecretScanningAlert, + "star" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Star, + "status" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Status, + "team" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Team, + "team_add" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.TeamAdd, + "watch" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.Watch, + "workflow_dispatch" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.WorkflowDispatch, + "workflow_run" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.WorkflowRun, + "merge_group" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.MergeGroup, + "pull_request_review_thread" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.PullRequestReviewThread, + "workflow_job" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.WorkflowJob, + "merge_queue_entry" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.MergeQueueEntry, + "security_and_analysis" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.SecurityAndAnalysis, + "projects_v2_item" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.ProjectsV2Item, + "secret_scanning_alert_location" => WebhookCheckSuiteCompletedCheckSuiteAppEvent.SecretScanningAlertLocation, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuiteAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuiteAppEvents.g.cs deleted file mode 100644 index 0586ce96..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuiteAppEvents.g.cs +++ /dev/null @@ -1,351 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookCheckSuiteCompletedCheckSuiteAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - MergeGroup, - /// - /// - /// - PullRequestReviewThread, - /// - /// - /// - WorkflowJob, - /// - /// - /// - MergeQueueEntry, - /// - /// - /// - SecurityAndAnalysis, - /// - /// - /// - ProjectsV2Item, - /// - /// - /// - SecretScanningAlertLocation, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookCheckSuiteCompletedCheckSuiteAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookCheckSuiteCompletedCheckSuiteAppEvents value) - { - return value switch - { - WebhookCheckSuiteCompletedCheckSuiteAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.CheckRun => "check_run", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.CheckSuite => "check_suite", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.CommitComment => "commit_comment", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.ContentReference => "content_reference", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Create => "create", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Delete => "delete", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Deployment => "deployment", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.DeploymentReview => "deployment_review", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.DeploymentStatus => "deployment_status", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.DeployKey => "deploy_key", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Discussion => "discussion", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.DiscussionComment => "discussion_comment", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Fork => "fork", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Gollum => "gollum", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Issues => "issues", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.IssueComment => "issue_comment", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Label => "label", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Member => "member", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Membership => "membership", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Milestone => "milestone", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Organization => "organization", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.OrgBlock => "org_block", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.PageBuild => "page_build", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Project => "project", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.ProjectCard => "project_card", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.ProjectColumn => "project_column", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Public => "public", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.PullRequest => "pull_request", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.PullRequestReview => "pull_request_review", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Push => "push", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.RegistryPackage => "registry_package", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Release => "release", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Repository => "repository", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Star => "star", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Status => "status", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Team => "team", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.TeamAdd => "team_add", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.Watch => "watch", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.WorkflowRun => "workflow_run", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.MergeGroup => "merge_group", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.PullRequestReviewThread => "pull_request_review_thread", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.WorkflowJob => "workflow_job", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.MergeQueueEntry => "merge_queue_entry", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.SecurityAndAnalysis => "security_and_analysis", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.ProjectsV2Item => "projects_v2_item", - WebhookCheckSuiteCompletedCheckSuiteAppEvents.SecretScanningAlertLocation => "secret_scanning_alert_location", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookCheckSuiteCompletedCheckSuiteAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.BranchProtectionRule, - "check_run" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.CheckRun, - "check_suite" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.CheckSuite, - "code_scanning_alert" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.CodeScanningAlert, - "commit_comment" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.CommitComment, - "content_reference" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.ContentReference, - "create" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Create, - "delete" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Delete, - "deployment" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Deployment, - "deployment_review" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.DeploymentReview, - "deployment_status" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.DeploymentStatus, - "deploy_key" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.DeployKey, - "discussion" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Discussion, - "discussion_comment" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.DiscussionComment, - "fork" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Fork, - "gollum" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Gollum, - "issues" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Issues, - "issue_comment" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.IssueComment, - "label" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Label, - "member" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Member, - "membership" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Membership, - "milestone" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Milestone, - "organization" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Organization, - "org_block" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.OrgBlock, - "page_build" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.PageBuild, - "project" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Project, - "project_card" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.ProjectCard, - "project_column" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.ProjectColumn, - "public" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Public, - "pull_request" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.PullRequest, - "pull_request_review" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.PullRequestReviewComment, - "push" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Push, - "registry_package" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.RegistryPackage, - "release" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Release, - "repository" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Repository, - "repository_dispatch" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.SecretScanningAlert, - "star" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Star, - "status" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Status, - "team" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Team, - "team_add" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.TeamAdd, - "watch" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.Watch, - "workflow_dispatch" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.WorkflowDispatch, - "workflow_run" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.WorkflowRun, - "merge_group" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.MergeGroup, - "pull_request_review_thread" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.PullRequestReviewThread, - "workflow_job" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.WorkflowJob, - "merge_queue_entry" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.MergeQueueEntry, - "security_and_analysis" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.SecurityAndAnalysis, - "projects_v2_item" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.ProjectsV2Item, - "secret_scanning_alert_location" => WebhookCheckSuiteCompletedCheckSuiteAppEvents.SecretScanningAlertLocation, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequest.g.cs new file mode 100644 index 00000000..48009c79 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequest.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteCompletedCheckSuitePullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestBase Base { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestHead Head { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestBase.g.cs new file mode 100644 index 00000000..20dcc164 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestBase.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteCompletedCheckSuitePullRequestBase + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestBaseRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestBaseRepo.g.cs new file mode 100644 index 00000000..5148ac04 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestBaseRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteCompletedCheckSuitePullRequestBaseRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestHead.g.cs new file mode 100644 index 00000000..fb521e9f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestHead.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteCompletedCheckSuitePullRequestHead + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestHeadRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestHeadRepo.g.cs new file mode 100644 index 00000000..adaa4845 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestHeadRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteCompletedCheckSuitePullRequestHeadRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequests.g.cs deleted file mode 100644 index 6dc01b66..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequests.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteCompletedCheckSuitePullRequests - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("base")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestsBase Base { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestsHead Head { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsBase.g.cs deleted file mode 100644 index c28186f0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsBase.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteCompletedCheckSuitePullRequestsBase - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestsBaseRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsBaseRepo.g.cs deleted file mode 100644 index 532bd069..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsBaseRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteCompletedCheckSuitePullRequestsBaseRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsHead.g.cs deleted file mode 100644 index 7d13e200..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsHead.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteCompletedCheckSuitePullRequestsHead - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestsHeadRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsHeadRepo.g.cs deleted file mode 100644 index 6c822208..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteCompletedCheckSuitePullRequestsHeadRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteCompletedCheckSuitePullRequestsHeadRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuite.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuite.g.cs index 19586a5a..8a4c507e 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuite.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuite.g.cs @@ -98,7 +98,7 @@ public sealed partial class WebhookCheckSuiteRequestedCheckSuite /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PullRequests { get; set; } + public required global::System.Collections.Generic.IList PullRequests { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuiteApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuiteApp.g.cs index 2f87984e..93706506 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuiteApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuiteApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookCheckSuiteRequestedCheckSuiteApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuiteAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuiteAppEvent.g.cs new file mode 100644 index 00000000..73d49b7d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuiteAppEvent.g.cs @@ -0,0 +1,357 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookCheckSuiteRequestedCheckSuiteAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + PullRequestReviewThread, + /// + /// + /// + WorkflowJob, + /// + /// + /// + MergeQueueEntry, + /// + /// + /// + SecurityAndAnalysis, + /// + /// + /// + SecretScanningAlertLocation, + /// + /// + /// + ProjectsV2Item, + /// + /// + /// + MergeGroup, + /// + /// + /// + RepositoryImport, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookCheckSuiteRequestedCheckSuiteAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookCheckSuiteRequestedCheckSuiteAppEvent value) + { + return value switch + { + WebhookCheckSuiteRequestedCheckSuiteAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.CheckRun => "check_run", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.CheckSuite => "check_suite", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.CommitComment => "commit_comment", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.ContentReference => "content_reference", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Create => "create", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Delete => "delete", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Deployment => "deployment", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.DeploymentReview => "deployment_review", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.DeploymentStatus => "deployment_status", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.DeployKey => "deploy_key", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Discussion => "discussion", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.DiscussionComment => "discussion_comment", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Fork => "fork", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Gollum => "gollum", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Issues => "issues", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.IssueComment => "issue_comment", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Label => "label", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Member => "member", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Membership => "membership", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Milestone => "milestone", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Organization => "organization", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.OrgBlock => "org_block", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.PageBuild => "page_build", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Project => "project", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.ProjectCard => "project_card", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.ProjectColumn => "project_column", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Public => "public", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.PullRequest => "pull_request", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.PullRequestReview => "pull_request_review", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Push => "push", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.RegistryPackage => "registry_package", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Release => "release", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Repository => "repository", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Star => "star", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Status => "status", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Team => "team", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.TeamAdd => "team_add", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.Watch => "watch", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.WorkflowRun => "workflow_run", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.PullRequestReviewThread => "pull_request_review_thread", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.WorkflowJob => "workflow_job", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.MergeQueueEntry => "merge_queue_entry", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.SecurityAndAnalysis => "security_and_analysis", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.SecretScanningAlertLocation => "secret_scanning_alert_location", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.ProjectsV2Item => "projects_v2_item", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.MergeGroup => "merge_group", + WebhookCheckSuiteRequestedCheckSuiteAppEvent.RepositoryImport => "repository_import", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookCheckSuiteRequestedCheckSuiteAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.BranchProtectionRule, + "check_run" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.CheckRun, + "check_suite" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.CheckSuite, + "code_scanning_alert" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.CodeScanningAlert, + "commit_comment" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.CommitComment, + "content_reference" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.ContentReference, + "create" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Create, + "delete" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Delete, + "deployment" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Deployment, + "deployment_review" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.DeploymentReview, + "deployment_status" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.DeploymentStatus, + "deploy_key" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.DeployKey, + "discussion" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Discussion, + "discussion_comment" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.DiscussionComment, + "fork" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Fork, + "gollum" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Gollum, + "issues" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Issues, + "issue_comment" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.IssueComment, + "label" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Label, + "member" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Member, + "membership" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Membership, + "milestone" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Milestone, + "organization" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Organization, + "org_block" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.OrgBlock, + "page_build" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.PageBuild, + "project" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Project, + "project_card" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.ProjectCard, + "project_column" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.ProjectColumn, + "public" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Public, + "pull_request" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.PullRequest, + "pull_request_review" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.PullRequestReviewComment, + "push" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Push, + "registry_package" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.RegistryPackage, + "release" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Release, + "repository" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Repository, + "repository_dispatch" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.SecretScanningAlert, + "star" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Star, + "status" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Status, + "team" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Team, + "team_add" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.TeamAdd, + "watch" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.Watch, + "workflow_dispatch" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.WorkflowDispatch, + "workflow_run" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.WorkflowRun, + "pull_request_review_thread" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.PullRequestReviewThread, + "workflow_job" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.WorkflowJob, + "merge_queue_entry" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.MergeQueueEntry, + "security_and_analysis" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.SecurityAndAnalysis, + "secret_scanning_alert_location" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.SecretScanningAlertLocation, + "projects_v2_item" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.ProjectsV2Item, + "merge_group" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.MergeGroup, + "repository_import" => WebhookCheckSuiteRequestedCheckSuiteAppEvent.RepositoryImport, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuiteAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuiteAppEvents.g.cs deleted file mode 100644 index 26439fbf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuiteAppEvents.g.cs +++ /dev/null @@ -1,357 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookCheckSuiteRequestedCheckSuiteAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - PullRequestReviewThread, - /// - /// - /// - WorkflowJob, - /// - /// - /// - MergeQueueEntry, - /// - /// - /// - SecurityAndAnalysis, - /// - /// - /// - SecretScanningAlertLocation, - /// - /// - /// - ProjectsV2Item, - /// - /// - /// - MergeGroup, - /// - /// - /// - RepositoryImport, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookCheckSuiteRequestedCheckSuiteAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookCheckSuiteRequestedCheckSuiteAppEvents value) - { - return value switch - { - WebhookCheckSuiteRequestedCheckSuiteAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.CheckRun => "check_run", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.CheckSuite => "check_suite", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.CommitComment => "commit_comment", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.ContentReference => "content_reference", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Create => "create", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Delete => "delete", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Deployment => "deployment", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.DeploymentReview => "deployment_review", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.DeploymentStatus => "deployment_status", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.DeployKey => "deploy_key", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Discussion => "discussion", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.DiscussionComment => "discussion_comment", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Fork => "fork", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Gollum => "gollum", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Issues => "issues", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.IssueComment => "issue_comment", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Label => "label", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Member => "member", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Membership => "membership", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Milestone => "milestone", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Organization => "organization", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.OrgBlock => "org_block", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.PageBuild => "page_build", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Project => "project", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.ProjectCard => "project_card", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.ProjectColumn => "project_column", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Public => "public", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.PullRequest => "pull_request", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.PullRequestReview => "pull_request_review", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Push => "push", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.RegistryPackage => "registry_package", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Release => "release", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Repository => "repository", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Star => "star", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Status => "status", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Team => "team", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.TeamAdd => "team_add", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.Watch => "watch", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.WorkflowRun => "workflow_run", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.PullRequestReviewThread => "pull_request_review_thread", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.WorkflowJob => "workflow_job", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.MergeQueueEntry => "merge_queue_entry", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.SecurityAndAnalysis => "security_and_analysis", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.SecretScanningAlertLocation => "secret_scanning_alert_location", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.ProjectsV2Item => "projects_v2_item", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.MergeGroup => "merge_group", - WebhookCheckSuiteRequestedCheckSuiteAppEvents.RepositoryImport => "repository_import", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookCheckSuiteRequestedCheckSuiteAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.BranchProtectionRule, - "check_run" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.CheckRun, - "check_suite" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.CheckSuite, - "code_scanning_alert" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.CodeScanningAlert, - "commit_comment" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.CommitComment, - "content_reference" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.ContentReference, - "create" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Create, - "delete" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Delete, - "deployment" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Deployment, - "deployment_review" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.DeploymentReview, - "deployment_status" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.DeploymentStatus, - "deploy_key" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.DeployKey, - "discussion" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Discussion, - "discussion_comment" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.DiscussionComment, - "fork" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Fork, - "gollum" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Gollum, - "issues" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Issues, - "issue_comment" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.IssueComment, - "label" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Label, - "member" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Member, - "membership" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Membership, - "milestone" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Milestone, - "organization" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Organization, - "org_block" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.OrgBlock, - "page_build" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.PageBuild, - "project" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Project, - "project_card" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.ProjectCard, - "project_column" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.ProjectColumn, - "public" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Public, - "pull_request" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.PullRequest, - "pull_request_review" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.PullRequestReviewComment, - "push" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Push, - "registry_package" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.RegistryPackage, - "release" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Release, - "repository" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Repository, - "repository_dispatch" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.SecretScanningAlert, - "star" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Star, - "status" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Status, - "team" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Team, - "team_add" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.TeamAdd, - "watch" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.Watch, - "workflow_dispatch" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.WorkflowDispatch, - "workflow_run" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.WorkflowRun, - "pull_request_review_thread" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.PullRequestReviewThread, - "workflow_job" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.WorkflowJob, - "merge_queue_entry" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.MergeQueueEntry, - "security_and_analysis" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.SecurityAndAnalysis, - "secret_scanning_alert_location" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.SecretScanningAlertLocation, - "projects_v2_item" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.ProjectsV2Item, - "merge_group" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.MergeGroup, - "repository_import" => WebhookCheckSuiteRequestedCheckSuiteAppEvents.RepositoryImport, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequest.g.cs new file mode 100644 index 00000000..76327405 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequest.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteRequestedCheckSuitePullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestBase Base { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestHead Head { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestBase.g.cs new file mode 100644 index 00000000..9738760f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestBase.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteRequestedCheckSuitePullRequestBase + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestBaseRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestBaseRepo.g.cs new file mode 100644 index 00000000..5bea40a3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestBaseRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteRequestedCheckSuitePullRequestBaseRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestHead.g.cs new file mode 100644 index 00000000..6f0bd4e2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestHead.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteRequestedCheckSuitePullRequestHead + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestHeadRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestHeadRepo.g.cs new file mode 100644 index 00000000..26c1ad8d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestHeadRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteRequestedCheckSuitePullRequestHeadRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequests.g.cs deleted file mode 100644 index 4c200006..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequests.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteRequestedCheckSuitePullRequests - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("base")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestsBase Base { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestsHead Head { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsBase.g.cs deleted file mode 100644 index f728b658..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsBase.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteRequestedCheckSuitePullRequestsBase - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestsBaseRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsBaseRepo.g.cs deleted file mode 100644 index aff85ed7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsBaseRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteRequestedCheckSuitePullRequestsBaseRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsHead.g.cs deleted file mode 100644 index 0857e255..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsHead.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteRequestedCheckSuitePullRequestsHead - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestsHeadRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsHeadRepo.g.cs deleted file mode 100644 index 73588498..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRequestedCheckSuitePullRequestsHeadRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteRequestedCheckSuitePullRequestsHeadRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuite.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuite.g.cs index 6fb58dd5..54a1f48b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuite.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuite.g.cs @@ -98,7 +98,7 @@ public sealed partial class WebhookCheckSuiteRerequestedCheckSuite /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PullRequests { get; set; } + public required global::System.Collections.Generic.IList PullRequests { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuiteApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuiteApp.g.cs index bce23b28..a3a89437 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuiteApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuiteApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookCheckSuiteRerequestedCheckSuiteApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuiteAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuiteAppEvent.g.cs new file mode 100644 index 00000000..685a9ce3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuiteAppEvent.g.cs @@ -0,0 +1,327 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookCheckSuiteRerequestedCheckSuiteAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + PullRequestReviewThread, + /// + /// + /// + MergeQueueEntry, + /// + /// + /// + WorkflowJob, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookCheckSuiteRerequestedCheckSuiteAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookCheckSuiteRerequestedCheckSuiteAppEvent value) + { + return value switch + { + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.CheckRun => "check_run", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.CheckSuite => "check_suite", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.CommitComment => "commit_comment", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.ContentReference => "content_reference", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Create => "create", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Delete => "delete", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Deployment => "deployment", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.DeploymentReview => "deployment_review", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.DeploymentStatus => "deployment_status", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.DeployKey => "deploy_key", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Discussion => "discussion", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.DiscussionComment => "discussion_comment", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Fork => "fork", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Gollum => "gollum", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Issues => "issues", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.IssueComment => "issue_comment", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Label => "label", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Member => "member", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Membership => "membership", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Milestone => "milestone", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Organization => "organization", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.OrgBlock => "org_block", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.PageBuild => "page_build", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Project => "project", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.ProjectCard => "project_card", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.ProjectColumn => "project_column", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Public => "public", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.PullRequest => "pull_request", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.PullRequestReview => "pull_request_review", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Push => "push", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.RegistryPackage => "registry_package", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Release => "release", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Repository => "repository", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Star => "star", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Status => "status", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Team => "team", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.TeamAdd => "team_add", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Watch => "watch", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.WorkflowRun => "workflow_run", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.PullRequestReviewThread => "pull_request_review_thread", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.MergeQueueEntry => "merge_queue_entry", + WebhookCheckSuiteRerequestedCheckSuiteAppEvent.WorkflowJob => "workflow_job", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookCheckSuiteRerequestedCheckSuiteAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.BranchProtectionRule, + "check_run" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.CheckRun, + "check_suite" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.CheckSuite, + "code_scanning_alert" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.CodeScanningAlert, + "commit_comment" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.CommitComment, + "content_reference" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.ContentReference, + "create" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Create, + "delete" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Delete, + "deployment" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Deployment, + "deployment_review" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.DeploymentReview, + "deployment_status" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.DeploymentStatus, + "deploy_key" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.DeployKey, + "discussion" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Discussion, + "discussion_comment" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.DiscussionComment, + "fork" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Fork, + "gollum" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Gollum, + "issues" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Issues, + "issue_comment" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.IssueComment, + "label" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Label, + "member" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Member, + "membership" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Membership, + "milestone" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Milestone, + "organization" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Organization, + "org_block" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.OrgBlock, + "page_build" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.PageBuild, + "project" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Project, + "project_card" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.ProjectCard, + "project_column" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.ProjectColumn, + "public" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Public, + "pull_request" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.PullRequest, + "pull_request_review" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.PullRequestReviewComment, + "push" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Push, + "registry_package" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.RegistryPackage, + "release" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Release, + "repository" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Repository, + "repository_dispatch" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.SecretScanningAlert, + "star" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Star, + "status" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Status, + "team" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Team, + "team_add" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.TeamAdd, + "watch" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.Watch, + "workflow_dispatch" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.WorkflowDispatch, + "workflow_run" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.WorkflowRun, + "pull_request_review_thread" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.PullRequestReviewThread, + "merge_queue_entry" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.MergeQueueEntry, + "workflow_job" => WebhookCheckSuiteRerequestedCheckSuiteAppEvent.WorkflowJob, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuiteAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuiteAppEvents.g.cs deleted file mode 100644 index b226ce5d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuiteAppEvents.g.cs +++ /dev/null @@ -1,327 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookCheckSuiteRerequestedCheckSuiteAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - PullRequestReviewThread, - /// - /// - /// - MergeQueueEntry, - /// - /// - /// - WorkflowJob, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookCheckSuiteRerequestedCheckSuiteAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookCheckSuiteRerequestedCheckSuiteAppEvents value) - { - return value switch - { - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.CheckRun => "check_run", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.CheckSuite => "check_suite", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.CommitComment => "commit_comment", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.ContentReference => "content_reference", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Create => "create", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Delete => "delete", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Deployment => "deployment", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.DeploymentReview => "deployment_review", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.DeploymentStatus => "deployment_status", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.DeployKey => "deploy_key", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Discussion => "discussion", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.DiscussionComment => "discussion_comment", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Fork => "fork", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Gollum => "gollum", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Issues => "issues", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.IssueComment => "issue_comment", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Label => "label", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Member => "member", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Membership => "membership", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Milestone => "milestone", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Organization => "organization", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.OrgBlock => "org_block", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.PageBuild => "page_build", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Project => "project", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.ProjectCard => "project_card", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.ProjectColumn => "project_column", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Public => "public", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.PullRequest => "pull_request", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.PullRequestReview => "pull_request_review", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Push => "push", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.RegistryPackage => "registry_package", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Release => "release", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Repository => "repository", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Star => "star", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Status => "status", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Team => "team", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.TeamAdd => "team_add", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Watch => "watch", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.WorkflowRun => "workflow_run", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.PullRequestReviewThread => "pull_request_review_thread", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.MergeQueueEntry => "merge_queue_entry", - WebhookCheckSuiteRerequestedCheckSuiteAppEvents.WorkflowJob => "workflow_job", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookCheckSuiteRerequestedCheckSuiteAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.BranchProtectionRule, - "check_run" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.CheckRun, - "check_suite" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.CheckSuite, - "code_scanning_alert" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.CodeScanningAlert, - "commit_comment" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.CommitComment, - "content_reference" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.ContentReference, - "create" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Create, - "delete" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Delete, - "deployment" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Deployment, - "deployment_review" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.DeploymentReview, - "deployment_status" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.DeploymentStatus, - "deploy_key" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.DeployKey, - "discussion" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Discussion, - "discussion_comment" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.DiscussionComment, - "fork" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Fork, - "gollum" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Gollum, - "issues" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Issues, - "issue_comment" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.IssueComment, - "label" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Label, - "member" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Member, - "membership" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Membership, - "milestone" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Milestone, - "organization" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Organization, - "org_block" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.OrgBlock, - "page_build" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.PageBuild, - "project" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Project, - "project_card" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.ProjectCard, - "project_column" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.ProjectColumn, - "public" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Public, - "pull_request" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.PullRequest, - "pull_request_review" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.PullRequestReviewComment, - "push" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Push, - "registry_package" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.RegistryPackage, - "release" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Release, - "repository" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Repository, - "repository_dispatch" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.SecretScanningAlert, - "star" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Star, - "status" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Status, - "team" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Team, - "team_add" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.TeamAdd, - "watch" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.Watch, - "workflow_dispatch" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.WorkflowDispatch, - "workflow_run" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.WorkflowRun, - "pull_request_review_thread" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.PullRequestReviewThread, - "merge_queue_entry" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.MergeQueueEntry, - "workflow_job" => WebhookCheckSuiteRerequestedCheckSuiteAppEvents.WorkflowJob, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequest.g.cs new file mode 100644 index 00000000..ac6245da --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequest.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteRerequestedCheckSuitePullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestBase Base { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestHead Head { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestBase.g.cs new file mode 100644 index 00000000..d8b1a35b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestBase.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteRerequestedCheckSuitePullRequestBase + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestBaseRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestBaseRepo.g.cs new file mode 100644 index 00000000..ff485aff --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestBaseRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteRerequestedCheckSuitePullRequestBaseRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestHead.g.cs new file mode 100644 index 00000000..f3666444 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestHead.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteRerequestedCheckSuitePullRequestHead + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestHeadRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestHeadRepo.g.cs new file mode 100644 index 00000000..a963b703 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestHeadRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCheckSuiteRerequestedCheckSuitePullRequestHeadRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequests.g.cs deleted file mode 100644 index 64505ac8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequests.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteRerequestedCheckSuitePullRequests - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("base")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestsBase Base { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestsHead Head { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsBase.g.cs deleted file mode 100644 index a0e5db38..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsBase.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteRerequestedCheckSuitePullRequestsBase - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestsBaseRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsBaseRepo.g.cs deleted file mode 100644 index 662addb2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsBaseRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteRerequestedCheckSuitePullRequestsBaseRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsHead.g.cs deleted file mode 100644 index e039f129..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsHead.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteRerequestedCheckSuitePullRequestsHead - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestsHeadRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsHeadRepo.g.cs deleted file mode 100644 index 203ee414..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCheckSuiteRerequestedCheckSuitePullRequestsHeadRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookCheckSuiteRerequestedCheckSuitePullRequestsHeadRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstance.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstance.g.cs index 9ec5795c..e6ce1e27 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstance.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstance.g.cs @@ -25,7 +25,7 @@ public sealed partial class WebhookCodeScanningAlertAppearedInBranchAlertMostRec /// /// [global::System.Text.Json.Serialization.JsonPropertyName("classifications")] - public global::System.Collections.Generic.IList? Classifications { get; set; } + public global::System.Collections.Generic.IList? Classifications { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstance.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstance.g.cs index 336ae340..5b64f8c8 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstance.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstance.g.cs @@ -25,7 +25,7 @@ public sealed partial class WebhookCodeScanningAlertClosedByUserAlertMostRecentI /// /// [global::System.Text.Json.Serialization.JsonPropertyName("classifications")] - public global::System.Collections.Generic.IList? Classifications { get; set; } + public global::System.Collections.Generic.IList? Classifications { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertClosedByUserAlertRule.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertClosedByUserAlertRule.g.cs index 193aee37..b570b95b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertClosedByUserAlertRule.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertClosedByUserAlertRule.g.cs @@ -58,7 +58,7 @@ public sealed partial class WebhookCodeScanningAlertClosedByUserAlertRule /// /// [global::System.Text.Json.Serialization.JsonPropertyName("tags")] - public global::System.Collections.Generic.IList? Tags { get; set; } + public global::System.Collections.Generic.IList? Tags { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlert.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlert.g.cs index 44ae7b26..4525b247 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlert.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlert.g.cs @@ -20,14 +20,14 @@ public sealed partial class WebhookCodeScanningAlertCreatedAlert /// [global::System.Text.Json.Serialization.JsonPropertyName("dismissed_at")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? DismissedAt { get; set; } + public required global::GitHub.WebhookCodeScanningAlertCreatedAlertDismissedAt? DismissedAt { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("dismissed_by")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? DismissedBy { get; set; } + public required global::GitHub.WebhookCodeScanningAlertCreatedAlertDismissedBy? DismissedBy { get; set; } /// /// The dismissal comment associated with the dismissal of the alert. @@ -40,13 +40,13 @@ public sealed partial class WebhookCodeScanningAlertCreatedAlert /// [global::System.Text.Json.Serialization.JsonPropertyName("dismissed_reason")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? DismissedReason { get; set; } + public required global::GitHub.WebhookCodeScanningAlertCreatedAlertDismissedReason? DismissedReason { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("fixed_at")] - public object? FixedAt { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlertFixedAt? FixedAt { get; set; } /// /// The GitHub URL of the alert resource. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertDismissedAt.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertDismissedAt.g.cs new file mode 100644 index 00000000..fdded5c9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertDismissedAt.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + public sealed partial class WebhookCodeScanningAlertCreatedAlertDismissedAt + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertDismissedBy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertDismissedBy.g.cs new file mode 100644 index 00000000..8c1e7674 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertDismissedBy.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCodeScanningAlertCreatedAlertDismissedBy + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertDismissedReason.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertDismissedReason.g.cs new file mode 100644 index 00000000..67f588ca --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertDismissedReason.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. + /// + public sealed partial class WebhookCodeScanningAlertCreatedAlertDismissedReason + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertFixedAt.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertFixedAt.g.cs new file mode 100644 index 00000000..3184b54a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertFixedAt.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCodeScanningAlertCreatedAlertFixedAt + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertMostRecentInstance.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertMostRecentInstance.g.cs index 3926bf8e..1e72d00c 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertMostRecentInstance.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertMostRecentInstance.g.cs @@ -25,7 +25,7 @@ public sealed partial class WebhookCodeScanningAlertCreatedAlertMostRecentInstan /// /// [global::System.Text.Json.Serialization.JsonPropertyName("classifications")] - public global::System.Collections.Generic.IList? Classifications { get; set; } + public global::System.Collections.Generic.IList? Classifications { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertRule.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertRule.g.cs index 44d5ab32..477f6f86 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertRule.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertCreatedAlertRule.g.cs @@ -58,7 +58,7 @@ public sealed partial class WebhookCodeScanningAlertCreatedAlertRule /// /// [global::System.Text.Json.Serialization.JsonPropertyName("tags")] - public global::System.Collections.Generic.IList? Tags { get; set; } + public global::System.Collections.Generic.IList? Tags { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertFixedAlertMostRecentInstance.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertFixedAlertMostRecentInstance.g.cs index 81009668..dec31ed9 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertFixedAlertMostRecentInstance.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertFixedAlertMostRecentInstance.g.cs @@ -25,7 +25,7 @@ public sealed partial class WebhookCodeScanningAlertFixedAlertMostRecentInstance /// /// [global::System.Text.Json.Serialization.JsonPropertyName("classifications")] - public global::System.Collections.Generic.IList? Classifications { get; set; } + public global::System.Collections.Generic.IList? Classifications { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertFixedAlertRule.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertFixedAlertRule.g.cs index c5498669..f7897ad7 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertFixedAlertRule.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertFixedAlertRule.g.cs @@ -58,7 +58,7 @@ public sealed partial class WebhookCodeScanningAlertFixedAlertRule /// /// [global::System.Text.Json.Serialization.JsonPropertyName("tags")] - public global::System.Collections.Generic.IList? Tags { get; set; } + public global::System.Collections.Generic.IList? Tags { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlert.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlert.g.cs index 9777e37e..46aabf40 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlert.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlert.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookCodeScanningAlertReopenedAlert /// [global::System.Text.Json.Serialization.JsonPropertyName("dismissed_by")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? DismissedBy { get; set; } + public required global::GitHub.WebhookCodeScanningAlertReopenedAlertDismissedBy? DismissedBy { get; set; } /// /// The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlertDismissedBy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlertDismissedBy.g.cs new file mode 100644 index 00000000..bac0c25f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlertDismissedBy.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCodeScanningAlertReopenedAlertDismissedBy + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlertMostRecentInstance.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlertMostRecentInstance.g.cs index ec13cec0..00333c33 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlertMostRecentInstance.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlertMostRecentInstance.g.cs @@ -25,7 +25,7 @@ public sealed partial class WebhookCodeScanningAlertReopenedAlertMostRecentInsta /// /// [global::System.Text.Json.Serialization.JsonPropertyName("classifications")] - public global::System.Collections.Generic.IList? Classifications { get; set; } + public global::System.Collections.Generic.IList? Classifications { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlertRule.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlertRule.g.cs index 4aff9bbf..f88ed9be 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlertRule.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedAlertRule.g.cs @@ -58,7 +58,7 @@ public sealed partial class WebhookCodeScanningAlertReopenedAlertRule /// /// [global::System.Text.Json.Serialization.JsonPropertyName("tags")] - public global::System.Collections.Generic.IList? Tags { get; set; } + public global::System.Collections.Generic.IList? Tags { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlert.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlert.g.cs index 459d8c3e..4eade003 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlert.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlert.g.cs @@ -20,21 +20,21 @@ public sealed partial class WebhookCodeScanningAlertReopenedByUserAlert /// [global::System.Text.Json.Serialization.JsonPropertyName("dismissed_at")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? DismissedAt { get; set; } + public required global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertDismissedAt? DismissedAt { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("dismissed_by")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? DismissedBy { get; set; } + public required global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertDismissedBy? DismissedBy { get; set; } /// /// The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. /// [global::System.Text.Json.Serialization.JsonPropertyName("dismissed_reason")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? DismissedReason { get; set; } + public required global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertDismissedReason? DismissedReason { get; set; } /// /// The GitHub URL of the alert resource. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertDismissedAt.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertDismissedAt.g.cs new file mode 100644 index 00000000..0adf6b39 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertDismissedAt.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + public sealed partial class WebhookCodeScanningAlertReopenedByUserAlertDismissedAt + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertDismissedBy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertDismissedBy.g.cs new file mode 100644 index 00000000..e660f47e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertDismissedBy.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookCodeScanningAlertReopenedByUserAlertDismissedBy + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertDismissedReason.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertDismissedReason.g.cs new file mode 100644 index 00000000..0e8672a2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertDismissedReason.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. + /// + public sealed partial class WebhookCodeScanningAlertReopenedByUserAlertDismissedReason + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstance.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstance.g.cs index 9c390b3c..7da88957 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstance.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstance.g.cs @@ -25,7 +25,7 @@ public sealed partial class WebhookCodeScanningAlertReopenedByUserAlertMostRecen /// /// [global::System.Text.Json.Serialization.JsonPropertyName("classifications")] - public global::System.Collections.Generic.IList? Classifications { get; set; } + public global::System.Collections.Generic.IList? Classifications { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookConfig.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookConfig.g.cs index 9843c8c5..5f8d66cd 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookConfig.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookConfig.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -35,8 +33,8 @@ public sealed partial class WebhookConfig /// /// [global::System.Text.Json.Serialization.JsonPropertyName("insecure_ssl")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? InsecureSsl { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookConfigInsecureSslJsonConverter))] + public global::GitHub.WebhookConfigInsecureSsl? InsecureSsl { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeployment.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeployment.g.cs index 11578aef..0ce9065a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeployment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeployment.g.cs @@ -65,7 +65,7 @@ public sealed partial class WebhookDeploymentCreatedDeployment [global::System.Text.Json.Serialization.JsonPropertyName("payload")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.OneOf Payload { get; set; } + public required global::System.OneOf Payload { get; set; } /// /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPayload.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPayload.g.cs new file mode 100644 index 00000000..c57e2698 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPayload.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentCreatedDeploymentPayload + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPerformedViaGithubApp.g.cs index faf01434..55ce8a38 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookDeploymentCreatedDeploymentPerformedViaGithub /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..2c61208e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.g.cs @@ -0,0 +1,339 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + WorkflowJob, + /// + /// + /// + PullRequestReviewThread, + /// + /// + /// + MergeQueueEntry, + /// + /// + /// + SecretScanningAlertLocation, + /// + /// + /// + MergeGroup, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent value) + { + return value switch + { + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Create => "create", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Delete => "delete", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Deployment => "deployment", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Discussion => "discussion", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Fork => "fork", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Gollum => "gollum", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Issues => "issues", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Label => "label", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Member => "member", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Membership => "membership", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Milestone => "milestone", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Organization => "organization", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Project => "project", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Public => "public", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Push => "push", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Release => "release", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Repository => "repository", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Star => "star", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Status => "status", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Team => "team", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Watch => "watch", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.WorkflowJob => "workflow_job", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.PullRequestReviewThread => "pull_request_review_thread", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.MergeQueueEntry => "merge_queue_entry", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.SecretScanningAlertLocation => "secret_scanning_alert_location", + WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.MergeGroup => "merge_group", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.ContentReference, + "create" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Create, + "delete" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Delete, + "deployment" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Fork, + "gollum" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Gollum, + "issues" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.IssueComment, + "label" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Label, + "member" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Member, + "membership" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Membership, + "milestone" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Milestone, + "organization" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Organization, + "org_block" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.PageBuild, + "project" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Project, + "project_card" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Public, + "pull_request" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Push, + "registry_package" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Release, + "repository" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Star, + "status" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Status, + "team" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Team, + "team_add" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.WorkflowRun, + "workflow_job" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.WorkflowJob, + "pull_request_review_thread" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.PullRequestReviewThread, + "merge_queue_entry" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.MergeQueueEntry, + "secret_scanning_alert_location" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.SecretScanningAlertLocation, + "merge_group" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.MergeGroup, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.g.cs deleted file mode 100644 index ff814cac..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,339 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - WorkflowJob, - /// - /// - /// - PullRequestReviewThread, - /// - /// - /// - MergeQueueEntry, - /// - /// - /// - SecretScanningAlertLocation, - /// - /// - /// - MergeGroup, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents value) - { - return value switch - { - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Create => "create", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Delete => "delete", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Deployment => "deployment", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Discussion => "discussion", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Fork => "fork", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Gollum => "gollum", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Issues => "issues", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Label => "label", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Member => "member", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Membership => "membership", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Milestone => "milestone", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Organization => "organization", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Project => "project", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Public => "public", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Push => "push", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Release => "release", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Repository => "repository", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Star => "star", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Status => "status", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Team => "team", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Watch => "watch", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.WorkflowJob => "workflow_job", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.PullRequestReviewThread => "pull_request_review_thread", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.MergeQueueEntry => "merge_queue_entry", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.SecretScanningAlertLocation => "secret_scanning_alert_location", - WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.MergeGroup => "merge_group", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.ContentReference, - "create" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Create, - "delete" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Delete, - "deployment" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Fork, - "gollum" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Gollum, - "issues" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.IssueComment, - "label" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Label, - "member" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Member, - "membership" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Membership, - "milestone" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Milestone, - "organization" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Organization, - "org_block" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.PageBuild, - "project" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Project, - "project_card" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Public, - "pull_request" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Push, - "registry_package" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Release, - "repository" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Star, - "status" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Status, - "team" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Team, - "team_add" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.WorkflowRun, - "workflow_job" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.WorkflowJob, - "pull_request_review_thread" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.PullRequestReviewThread, - "merge_queue_entry" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.MergeQueueEntry, - "secret_scanning_alert_location" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.SecretScanningAlertLocation, - "merge_group" => WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.MergeGroup, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRun.g.cs index 6e462f33..f8725627 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRun.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRun.g.cs @@ -87,7 +87,7 @@ public sealed partial class WebhookDeploymentCreatedWorkflowRun /// /// [global::System.Text.Json.Serialization.JsonPropertyName("head_commit")] - public object? HeadCommit { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunHeadCommit? HeadCommit { get; set; } /// /// @@ -153,20 +153,20 @@ public sealed partial class WebhookDeploymentCreatedWorkflowRun /// /// [global::System.Text.Json.Serialization.JsonPropertyName("previous_attempt_url")] - public object? PreviousAttemptUrl { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunPreviousAttemptUrl? PreviousAttemptUrl { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PullRequests { get; set; } + public required global::System.Collections.Generic.IList PullRequests { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("referenced_workflows")] - public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } + public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunHeadCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunHeadCommit.g.cs new file mode 100644 index 00000000..b78e4441 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunHeadCommit.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentCreatedWorkflowRunHeadCommit + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunHeadRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunHeadRepository.g.cs index fb6b36e1..de274325 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunHeadRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunHeadRepository.g.cs @@ -78,7 +78,7 @@ public sealed partial class WebhookDeploymentCreatedWorkflowRunHeadRepository /// /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public object? Description { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunHeadRepositoryDescription? Description { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunHeadRepositoryDescription.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunHeadRepositoryDescription.g.cs new file mode 100644 index 00000000..4a47ed89 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunHeadRepositoryDescription.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentCreatedWorkflowRunHeadRepositoryDescription + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPreviousAttemptUrl.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPreviousAttemptUrl.g.cs new file mode 100644 index 00000000..d8a99898 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPreviousAttemptUrl.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentCreatedWorkflowRunPreviousAttemptUrl + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequest.g.cs new file mode 100644 index 00000000..38e70910 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequest.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentCreatedWorkflowRunPullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestBase Base { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestHead Head { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestBase.g.cs new file mode 100644 index 00000000..98e3e2bf --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestBase.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentCreatedWorkflowRunPullRequestBase + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestBaseRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestBaseRepo.g.cs new file mode 100644 index 00000000..933ed99e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestBaseRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentCreatedWorkflowRunPullRequestBaseRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestHead.g.cs new file mode 100644 index 00000000..ad25dd2c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestHead.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentCreatedWorkflowRunPullRequestHead + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestHeadRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestHeadRepo.g.cs new file mode 100644 index 00000000..0bb33edd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestHeadRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentCreatedWorkflowRunPullRequestHeadRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequests.g.cs deleted file mode 100644 index 66ddd50c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequests.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentCreatedWorkflowRunPullRequests - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("base")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestsBase Base { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestsHead Head { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsBase.g.cs deleted file mode 100644 index 4fa12c1e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsBase.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentCreatedWorkflowRunPullRequestsBase - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestsBaseRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsBaseRepo.g.cs deleted file mode 100644 index ddab1f44..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsBaseRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentCreatedWorkflowRunPullRequestsBaseRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsHead.g.cs deleted file mode 100644 index 55595039..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsHead.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentCreatedWorkflowRunPullRequestsHead - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestsHeadRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsHeadRepo.g.cs deleted file mode 100644 index 9101706b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunPullRequestsHeadRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentCreatedWorkflowRunPullRequestsHeadRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunReferencedWorkflow.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunReferencedWorkflow.g.cs new file mode 100644 index 00000000..87ada413 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunReferencedWorkflow.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentCreatedWorkflowRunReferencedWorkflow + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + public string? Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunReferencedWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunReferencedWorkflows.g.cs deleted file mode 100644 index d73cf692..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunReferencedWorkflows.g.cs +++ /dev/null @@ -1,37 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentCreatedWorkflowRunReferencedWorkflows - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - public string? Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunRepository.g.cs index 7dc3682d..ffff0e7d 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunRepository.g.cs @@ -78,7 +78,7 @@ public sealed partial class WebhookDeploymentCreatedWorkflowRunRepository /// /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public object? Description { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunRepositoryDescription? Description { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunRepositoryDescription.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunRepositoryDescription.g.cs new file mode 100644 index 00000000..e4fbccb5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentCreatedWorkflowRunRepositoryDescription.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentCreatedWorkflowRunRepositoryDescription + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApproved.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApproved.g.cs index df9975e8..6aa00fc1 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApproved.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApproved.g.cs @@ -64,7 +64,7 @@ public sealed partial class WebhookDeploymentReviewApproved /// /// [global::System.Text.Json.Serialization.JsonPropertyName("reviewers")] - public global::System.Collections.Generic.IList? Reviewers { get; set; } + public global::System.Collections.Generic.IList? Reviewers { get; set; } /// /// The GitHub user that triggered the event. This property is included in every webhook payload. @@ -90,7 +90,7 @@ public sealed partial class WebhookDeploymentReviewApproved /// /// [global::System.Text.Json.Serialization.JsonPropertyName("workflow_job_runs")] - public global::System.Collections.Generic.IList? WorkflowJobRuns { get; set; } + public global::System.Collections.Generic.IList? WorkflowJobRuns { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewers.g.cs deleted file mode 100644 index e1ffc32a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewers.g.cs +++ /dev/null @@ -1,30 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewApprovedReviewers - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("reviewer")] - public global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewer? Reviewer { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedReviewersTypeJsonConverter))] - public global::GitHub.WebhookDeploymentReviewApprovedReviewersType? Type { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewersReviewer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewersReviewer.g.cs deleted file mode 100644 index 9aa2fe6b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewersReviewer.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewApprovedReviewersReviewer - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedReviewersReviewerTypeJsonConverter))] - public global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewerType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewersReviewerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewersReviewerType.g.cs deleted file mode 100644 index 90048236..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewersReviewerType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookDeploymentReviewApprovedReviewersReviewerType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookDeploymentReviewApprovedReviewersReviewerTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookDeploymentReviewApprovedReviewersReviewerType value) - { - return value switch - { - WebhookDeploymentReviewApprovedReviewersReviewerType.Bot => "Bot", - WebhookDeploymentReviewApprovedReviewersReviewerType.User => "User", - WebhookDeploymentReviewApprovedReviewersReviewerType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookDeploymentReviewApprovedReviewersReviewerType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookDeploymentReviewApprovedReviewersReviewerType.Bot, - "User" => WebhookDeploymentReviewApprovedReviewersReviewerType.User, - "Organization" => WebhookDeploymentReviewApprovedReviewersReviewerType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewersType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewersType.g.cs deleted file mode 100644 index d803a568..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedReviewersType.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookDeploymentReviewApprovedReviewersType - { - /// - /// - /// - User, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookDeploymentReviewApprovedReviewersTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookDeploymentReviewApprovedReviewersType value) - { - return value switch - { - WebhookDeploymentReviewApprovedReviewersType.User => "User", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookDeploymentReviewApprovedReviewersType? ToEnum(string value) - { - return value switch - { - "User" => WebhookDeploymentReviewApprovedReviewersType.User, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowJobRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowJobRun.g.cs new file mode 100644 index 00000000..e2005b47 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowJobRun.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewApprovedWorkflowJobRun + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowJobRunConclusion? Conclusion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public string? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("environment")] + public string? Environment { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public string? Status { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public string? UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowJobRunConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowJobRunConclusion.g.cs new file mode 100644 index 00000000..2ea9554e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowJobRunConclusion.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewApprovedWorkflowJobRunConclusion + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowJobRuns.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowJobRuns.g.cs deleted file mode 100644 index 109bcd5b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowJobRuns.g.cs +++ /dev/null @@ -1,65 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewApprovedWorkflowJobRuns - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] - public object? Conclusion { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public string? CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("environment")] - public string? Environment { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("status")] - public string? Status { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - public string? UpdatedAt { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRun.g.cs index 1a905598..d960f952 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRun.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRun.g.cs @@ -87,7 +87,7 @@ public sealed partial class WebhookDeploymentReviewApprovedWorkflowRun /// /// [global::System.Text.Json.Serialization.JsonPropertyName("head_commit")] - public object? HeadCommit { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunHeadCommit? HeadCommit { get; set; } /// /// @@ -160,13 +160,13 @@ public sealed partial class WebhookDeploymentReviewApprovedWorkflowRun /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PullRequests { get; set; } + public required global::System.Collections.Generic.IList PullRequests { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("referenced_workflows")] - public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } + public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunHeadCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunHeadCommit.g.cs new file mode 100644 index 00000000..570e6bc8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunHeadCommit.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewApprovedWorkflowRunHeadCommit + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequest.g.cs new file mode 100644 index 00000000..d9f54504 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequest.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewApprovedWorkflowRunPullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBase Base { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHead Head { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBase.g.cs new file mode 100644 index 00000000..a6ae5c36 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBase.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewApprovedWorkflowRunPullRequestBase + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBaseRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBaseRepo.g.cs new file mode 100644 index 00000000..a08b8578 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBaseRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewApprovedWorkflowRunPullRequestBaseRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHead.g.cs new file mode 100644 index 00000000..5a08dc11 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHead.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewApprovedWorkflowRunPullRequestHead + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHeadRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHeadRepo.g.cs new file mode 100644 index 00000000..c1d52225 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHeadRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewApprovedWorkflowRunPullRequestHeadRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequests.g.cs deleted file mode 100644 index b39ada2c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequests.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewApprovedWorkflowRunPullRequests - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("base")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBase Base { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHead Head { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBase.g.cs deleted file mode 100644 index 42138893..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBase.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBase - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBaseRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBaseRepo.g.cs deleted file mode 100644 index d559c77f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBaseRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBaseRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHead.g.cs deleted file mode 100644 index f283e61f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHead.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHead - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHeadRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHeadRepo.g.cs deleted file mode 100644 index f91b085a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHeadRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHeadRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunReferencedWorkflow.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunReferencedWorkflow.g.cs new file mode 100644 index 00000000..f11c4aa9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunReferencedWorkflow.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewApprovedWorkflowRunReferencedWorkflow + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + public string? Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunReferencedWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunReferencedWorkflows.g.cs deleted file mode 100644 index 70caf85d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewApprovedWorkflowRunReferencedWorkflows.g.cs +++ /dev/null @@ -1,37 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewApprovedWorkflowRunReferencedWorkflows - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - public string? Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejected.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejected.g.cs index 20d2111e..a4cfa967 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejected.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejected.g.cs @@ -64,7 +64,7 @@ public sealed partial class WebhookDeploymentReviewRejected /// /// [global::System.Text.Json.Serialization.JsonPropertyName("reviewers")] - public global::System.Collections.Generic.IList? Reviewers { get; set; } + public global::System.Collections.Generic.IList? Reviewers { get; set; } /// /// The GitHub user that triggered the event. This property is included in every webhook payload. @@ -90,7 +90,7 @@ public sealed partial class WebhookDeploymentReviewRejected /// /// [global::System.Text.Json.Serialization.JsonPropertyName("workflow_job_runs")] - public global::System.Collections.Generic.IList? WorkflowJobRuns { get; set; } + public global::System.Collections.Generic.IList? WorkflowJobRuns { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewers.g.cs deleted file mode 100644 index d1cdf9fe..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewers.g.cs +++ /dev/null @@ -1,30 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRejectedReviewers - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("reviewer")] - public global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewer? Reviewer { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedReviewersTypeJsonConverter))] - public global::GitHub.WebhookDeploymentReviewRejectedReviewersType? Type { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewersReviewer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewersReviewer.g.cs deleted file mode 100644 index a0798f24..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewersReviewer.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRejectedReviewersReviewer - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedReviewersReviewerTypeJsonConverter))] - public global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewerType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewersReviewerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewersReviewerType.g.cs deleted file mode 100644 index 4ff1a54a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewersReviewerType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookDeploymentReviewRejectedReviewersReviewerType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookDeploymentReviewRejectedReviewersReviewerTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookDeploymentReviewRejectedReviewersReviewerType value) - { - return value switch - { - WebhookDeploymentReviewRejectedReviewersReviewerType.Bot => "Bot", - WebhookDeploymentReviewRejectedReviewersReviewerType.User => "User", - WebhookDeploymentReviewRejectedReviewersReviewerType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookDeploymentReviewRejectedReviewersReviewerType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookDeploymentReviewRejectedReviewersReviewerType.Bot, - "User" => WebhookDeploymentReviewRejectedReviewersReviewerType.User, - "Organization" => WebhookDeploymentReviewRejectedReviewersReviewerType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewersType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewersType.g.cs deleted file mode 100644 index a86c4a76..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedReviewersType.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookDeploymentReviewRejectedReviewersType - { - /// - /// - /// - User, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookDeploymentReviewRejectedReviewersTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookDeploymentReviewRejectedReviewersType value) - { - return value switch - { - WebhookDeploymentReviewRejectedReviewersType.User => "User", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookDeploymentReviewRejectedReviewersType? ToEnum(string value) - { - return value switch - { - "User" => WebhookDeploymentReviewRejectedReviewersType.User, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowJobRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowJobRun.g.cs new file mode 100644 index 00000000..f569d4ac --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowJobRun.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRejectedWorkflowJobRun + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + public string? Conclusion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public string? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("environment")] + public string? Environment { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public string? Status { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public string? UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowJobRuns.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowJobRuns.g.cs deleted file mode 100644 index 99261d55..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowJobRuns.g.cs +++ /dev/null @@ -1,65 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRejectedWorkflowJobRuns - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] - public string? Conclusion { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public string? CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("environment")] - public string? Environment { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("status")] - public string? Status { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - public string? UpdatedAt { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRun.g.cs index bac07421..6ada5689 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRun.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRun.g.cs @@ -80,7 +80,7 @@ public sealed partial class WebhookDeploymentReviewRejectedWorkflowRun /// /// [global::System.Text.Json.Serialization.JsonPropertyName("head_commit")] - public object? HeadCommit { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunHeadCommit? HeadCommit { get; set; } /// /// @@ -153,13 +153,13 @@ public sealed partial class WebhookDeploymentReviewRejectedWorkflowRun /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PullRequests { get; set; } + public required global::System.Collections.Generic.IList PullRequests { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("referenced_workflows")] - public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } + public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunHeadCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunHeadCommit.g.cs new file mode 100644 index 00000000..6db2e77a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunHeadCommit.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRejectedWorkflowRunHeadCommit + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequest.g.cs new file mode 100644 index 00000000..35abe3e3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequest.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRejectedWorkflowRunPullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBase Base { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHead Head { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBase.g.cs new file mode 100644 index 00000000..dd3f31fb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBase.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRejectedWorkflowRunPullRequestBase + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBaseRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBaseRepo.g.cs new file mode 100644 index 00000000..ec4826fb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBaseRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRejectedWorkflowRunPullRequestBaseRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHead.g.cs new file mode 100644 index 00000000..b9ab7a5c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHead.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRejectedWorkflowRunPullRequestHead + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHeadRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHeadRepo.g.cs new file mode 100644 index 00000000..7214e13d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHeadRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRejectedWorkflowRunPullRequestHeadRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequests.g.cs deleted file mode 100644 index e986a3e9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequests.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRejectedWorkflowRunPullRequests - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("base")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBase Base { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHead Head { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBase.g.cs deleted file mode 100644 index 1d0b0a95..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBase.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBase - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBaseRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBaseRepo.g.cs deleted file mode 100644 index 1ca3017b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBaseRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBaseRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHead.g.cs deleted file mode 100644 index 4097e83c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHead.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHead - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHeadRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHeadRepo.g.cs deleted file mode 100644 index 2300ec3d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHeadRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHeadRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunReferencedWorkflow.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunReferencedWorkflow.g.cs new file mode 100644 index 00000000..25e39458 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunReferencedWorkflow.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRejectedWorkflowRunReferencedWorkflow + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + public string? Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunReferencedWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunReferencedWorkflows.g.cs deleted file mode 100644 index 426ebff9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRejectedWorkflowRunReferencedWorkflows.g.cs +++ /dev/null @@ -1,37 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRejectedWorkflowRunReferencedWorkflows - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - public string? Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequested.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequested.g.cs index 96e53ee7..ffd10580 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequested.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequested.g.cs @@ -67,7 +67,7 @@ public sealed partial class WebhookDeploymentReviewRequested /// [global::System.Text.Json.Serialization.JsonPropertyName("reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Reviewers { get; set; } + public required global::System.Collections.Generic.IList Reviewers { get; set; } /// /// The GitHub user that triggered the event. This property is included in every webhook payload. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewer.g.cs new file mode 100644 index 00000000..8851bafc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewer.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRequestedReviewer + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reviewer")] + public global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewer? Reviewer { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedReviewerTypeJsonConverter))] + public global::GitHub.WebhookDeploymentReviewRequestedReviewerType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewerReviewer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewerReviewer.g.cs new file mode 100644 index 00000000..62415b92 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewerReviewer.g.cs @@ -0,0 +1,145 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRequestedReviewerReviewer + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + public string? Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedReviewerReviewerTypeJsonConverter))] + public global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewerType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewerReviewerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewerReviewerType.g.cs new file mode 100644 index 00000000..50007f4c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewerReviewerType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookDeploymentReviewRequestedReviewerReviewerType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookDeploymentReviewRequestedReviewerReviewerTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookDeploymentReviewRequestedReviewerReviewerType value) + { + return value switch + { + WebhookDeploymentReviewRequestedReviewerReviewerType.Bot => "Bot", + WebhookDeploymentReviewRequestedReviewerReviewerType.User => "User", + WebhookDeploymentReviewRequestedReviewerReviewerType.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookDeploymentReviewRequestedReviewerReviewerType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookDeploymentReviewRequestedReviewerReviewerType.Bot, + "User" => WebhookDeploymentReviewRequestedReviewerReviewerType.User, + "Organization" => WebhookDeploymentReviewRequestedReviewerReviewerType.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewerType.g.cs new file mode 100644 index 00000000..2dc56499 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewerType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookDeploymentReviewRequestedReviewerType + { + /// + /// + /// + User, + /// + /// + /// + Team, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookDeploymentReviewRequestedReviewerTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookDeploymentReviewRequestedReviewerType value) + { + return value switch + { + WebhookDeploymentReviewRequestedReviewerType.User => "User", + WebhookDeploymentReviewRequestedReviewerType.Team => "Team", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookDeploymentReviewRequestedReviewerType? ToEnum(string value) + { + return value switch + { + "User" => WebhookDeploymentReviewRequestedReviewerType.User, + "Team" => WebhookDeploymentReviewRequestedReviewerType.Team, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewers.g.cs deleted file mode 100644 index f75cfa18..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewers.g.cs +++ /dev/null @@ -1,30 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRequestedReviewers - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("reviewer")] - public global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewer? Reviewer { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedReviewersTypeJsonConverter))] - public global::GitHub.WebhookDeploymentReviewRequestedReviewersType? Type { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewersReviewer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewersReviewer.g.cs deleted file mode 100644 index 15dc9845..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewersReviewer.g.cs +++ /dev/null @@ -1,145 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRequestedReviewersReviewer - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - public string? Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedReviewersReviewerTypeJsonConverter))] - public global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewerType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewersReviewerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewersReviewerType.g.cs deleted file mode 100644 index c72c4fc1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewersReviewerType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookDeploymentReviewRequestedReviewersReviewerType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookDeploymentReviewRequestedReviewersReviewerTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookDeploymentReviewRequestedReviewersReviewerType value) - { - return value switch - { - WebhookDeploymentReviewRequestedReviewersReviewerType.Bot => "Bot", - WebhookDeploymentReviewRequestedReviewersReviewerType.User => "User", - WebhookDeploymentReviewRequestedReviewersReviewerType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookDeploymentReviewRequestedReviewersReviewerType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookDeploymentReviewRequestedReviewersReviewerType.Bot, - "User" => WebhookDeploymentReviewRequestedReviewersReviewerType.User, - "Organization" => WebhookDeploymentReviewRequestedReviewersReviewerType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewersType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewersType.g.cs deleted file mode 100644 index c2511708..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedReviewersType.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookDeploymentReviewRequestedReviewersType - { - /// - /// - /// - User, - /// - /// - /// - Team, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookDeploymentReviewRequestedReviewersTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookDeploymentReviewRequestedReviewersType value) - { - return value switch - { - WebhookDeploymentReviewRequestedReviewersType.User => "User", - WebhookDeploymentReviewRequestedReviewersType.Team => "Team", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookDeploymentReviewRequestedReviewersType? ToEnum(string value) - { - return value switch - { - "User" => WebhookDeploymentReviewRequestedReviewersType.User, - "Team" => WebhookDeploymentReviewRequestedReviewersType.Team, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowJobRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowJobRun.g.cs index 6e53ea6a..1e0808f5 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowJobRun.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowJobRun.g.cs @@ -13,7 +13,7 @@ public sealed partial class WebhookDeploymentReviewRequestedWorkflowJobRun /// [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Conclusion { get; set; } + public required global::GitHub.WebhookDeploymentReviewRequestedWorkflowJobRunConclusion? Conclusion { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowJobRunConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowJobRunConclusion.g.cs new file mode 100644 index 00000000..f90746f9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowJobRunConclusion.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRequestedWorkflowJobRunConclusion + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRun.g.cs index 551d886f..3d5d69a9 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRun.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRun.g.cs @@ -80,7 +80,7 @@ public sealed partial class WebhookDeploymentReviewRequestedWorkflowRun /// /// [global::System.Text.Json.Serialization.JsonPropertyName("head_commit")] - public object? HeadCommit { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunHeadCommit? HeadCommit { get; set; } /// /// @@ -153,13 +153,13 @@ public sealed partial class WebhookDeploymentReviewRequestedWorkflowRun /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PullRequests { get; set; } + public required global::System.Collections.Generic.IList PullRequests { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("referenced_workflows")] - public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } + public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunHeadCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunHeadCommit.g.cs new file mode 100644 index 00000000..05a35a49 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunHeadCommit.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRequestedWorkflowRunHeadCommit + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequest.g.cs new file mode 100644 index 00000000..a3dada62 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequest.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRequestedWorkflowRunPullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBase Base { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHead Head { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBase.g.cs new file mode 100644 index 00000000..8595cd0a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBase.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRequestedWorkflowRunPullRequestBase + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBaseRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBaseRepo.g.cs new file mode 100644 index 00000000..15bd9a21 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBaseRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRequestedWorkflowRunPullRequestBaseRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHead.g.cs new file mode 100644 index 00000000..2c3bb5bc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHead.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRequestedWorkflowRunPullRequestHead + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHeadRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHeadRepo.g.cs new file mode 100644 index 00000000..8c9a9e7f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHeadRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRequestedWorkflowRunPullRequestHeadRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequests.g.cs deleted file mode 100644 index 3c30c892..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequests.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRequestedWorkflowRunPullRequests - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("base")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBase Base { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHead Head { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBase.g.cs deleted file mode 100644 index c58f20e3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBase.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBase - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBaseRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBaseRepo.g.cs deleted file mode 100644 index e38a4ed3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBaseRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBaseRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHead.g.cs deleted file mode 100644 index 707e56b6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHead.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHead - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHeadRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHeadRepo.g.cs deleted file mode 100644 index ad484911..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHeadRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHeadRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunReferencedWorkflow.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunReferencedWorkflow.g.cs new file mode 100644 index 00000000..e5fe7b32 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunReferencedWorkflow.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentReviewRequestedWorkflowRunReferencedWorkflow + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + public string? Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunReferencedWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunReferencedWorkflows.g.cs deleted file mode 100644 index 6cf916f0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentReviewRequestedWorkflowRunReferencedWorkflows.g.cs +++ /dev/null @@ -1,37 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentReviewRequestedWorkflowRunReferencedWorkflows - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - public string? Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeployment.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeployment.g.cs index 345c6526..e12c413d 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeployment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeployment.g.cs @@ -65,7 +65,7 @@ public sealed partial class WebhookDeploymentStatusCreatedDeployment [global::System.Text.Json.Serialization.JsonPropertyName("payload")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.OneOf? Payload { get; set; } + public required global::System.OneOf? Payload { get; set; } /// /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPayload.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPayload.g.cs new file mode 100644 index 00000000..0e2e1909 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPayload.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentStatusCreatedDeploymentPayload + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubApp.g.cs index fc004d12..abf46fa0 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookDeploymentStatusCreatedDeploymentPerformedVia /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..00490a29 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.g.cs @@ -0,0 +1,339 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + MergeQueueEntry, + /// + /// + /// + WorkflowJob, + /// + /// + /// + PullRequestReviewThread, + /// + /// + /// + SecretScanningAlertLocation, + /// + /// + /// + MergeGroup, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent value) + { + return value switch + { + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Create => "create", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Delete => "delete", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Deployment => "deployment", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Discussion => "discussion", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Fork => "fork", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Gollum => "gollum", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Issues => "issues", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Label => "label", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Member => "member", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Membership => "membership", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Milestone => "milestone", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Organization => "organization", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Project => "project", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Public => "public", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Push => "push", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Release => "release", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Repository => "repository", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Star => "star", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Status => "status", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Team => "team", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Watch => "watch", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.MergeQueueEntry => "merge_queue_entry", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.WorkflowJob => "workflow_job", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.PullRequestReviewThread => "pull_request_review_thread", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.SecretScanningAlertLocation => "secret_scanning_alert_location", + WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.MergeGroup => "merge_group", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.ContentReference, + "create" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Create, + "delete" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Delete, + "deployment" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Fork, + "gollum" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Gollum, + "issues" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.IssueComment, + "label" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Label, + "member" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Member, + "membership" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Membership, + "milestone" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Milestone, + "organization" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Organization, + "org_block" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.PageBuild, + "project" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Project, + "project_card" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Public, + "pull_request" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Push, + "registry_package" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Release, + "repository" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Star, + "status" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Status, + "team" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Team, + "team_add" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.WorkflowRun, + "merge_queue_entry" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.MergeQueueEntry, + "workflow_job" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.WorkflowJob, + "pull_request_review_thread" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.PullRequestReviewThread, + "secret_scanning_alert_location" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.SecretScanningAlertLocation, + "merge_group" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.MergeGroup, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 6f40f5cc..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,339 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - MergeQueueEntry, - /// - /// - /// - WorkflowJob, - /// - /// - /// - PullRequestReviewThread, - /// - /// - /// - SecretScanningAlertLocation, - /// - /// - /// - MergeGroup, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents value) - { - return value switch - { - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Create => "create", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Delete => "delete", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Deployment => "deployment", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Discussion => "discussion", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Fork => "fork", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Gollum => "gollum", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Issues => "issues", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Label => "label", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Member => "member", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Membership => "membership", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Milestone => "milestone", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Organization => "organization", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Project => "project", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Public => "public", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Push => "push", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Release => "release", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Repository => "repository", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Star => "star", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Status => "status", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Team => "team", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Watch => "watch", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.MergeQueueEntry => "merge_queue_entry", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.WorkflowJob => "workflow_job", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.PullRequestReviewThread => "pull_request_review_thread", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.SecretScanningAlertLocation => "secret_scanning_alert_location", - WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.MergeGroup => "merge_group", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.ContentReference, - "create" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Create, - "delete" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Delete, - "deployment" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Fork, - "gollum" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Gollum, - "issues" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.IssueComment, - "label" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Label, - "member" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Member, - "membership" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Membership, - "milestone" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Milestone, - "organization" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Organization, - "org_block" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.PageBuild, - "project" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Project, - "project_card" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Public, - "pull_request" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Push, - "registry_package" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Release, - "repository" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Star, - "status" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Status, - "team" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Team, - "team_add" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.WorkflowRun, - "merge_queue_entry" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.MergeQueueEntry, - "workflow_job" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.WorkflowJob, - "pull_request_review_thread" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.PullRequestReviewThread, - "secret_scanning_alert_location" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.SecretScanningAlertLocation, - "merge_group" => WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.MergeGroup, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubApp.g.cs index edccb05c..76686222 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookDeploymentStatusCreatedDeploymentStatusPerfor /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..8b78853f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.g.cs @@ -0,0 +1,339 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + PullRequestReviewThread, + /// + /// + /// + MergeQueueEntry, + /// + /// + /// + WorkflowJob, + /// + /// + /// + MergeGroup, + /// + /// + /// + SecretScanningAlertLocation, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent value) + { + return value switch + { + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Create => "create", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Delete => "delete", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Deployment => "deployment", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Discussion => "discussion", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Fork => "fork", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Gollum => "gollum", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Issues => "issues", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Label => "label", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Member => "member", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Membership => "membership", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Milestone => "milestone", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Organization => "organization", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Project => "project", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Public => "public", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Push => "push", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Release => "release", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Repository => "repository", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Star => "star", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Status => "status", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Team => "team", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Watch => "watch", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.PullRequestReviewThread => "pull_request_review_thread", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.MergeQueueEntry => "merge_queue_entry", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.WorkflowJob => "workflow_job", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.MergeGroup => "merge_group", + WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.SecretScanningAlertLocation => "secret_scanning_alert_location", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.ContentReference, + "create" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Create, + "delete" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Delete, + "deployment" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Fork, + "gollum" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Gollum, + "issues" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.IssueComment, + "label" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Label, + "member" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Member, + "membership" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Membership, + "milestone" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Milestone, + "organization" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Organization, + "org_block" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.PageBuild, + "project" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Project, + "project_card" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Public, + "pull_request" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Push, + "registry_package" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Release, + "repository" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Star, + "status" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Status, + "team" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Team, + "team_add" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.WorkflowRun, + "pull_request_review_thread" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.PullRequestReviewThread, + "merge_queue_entry" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.MergeQueueEntry, + "workflow_job" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.WorkflowJob, + "merge_group" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.MergeGroup, + "secret_scanning_alert_location" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.SecretScanningAlertLocation, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 6518ac41..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,339 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - PullRequestReviewThread, - /// - /// - /// - MergeQueueEntry, - /// - /// - /// - WorkflowJob, - /// - /// - /// - MergeGroup, - /// - /// - /// - SecretScanningAlertLocation, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents value) - { - return value switch - { - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Create => "create", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Delete => "delete", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Deployment => "deployment", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Discussion => "discussion", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Fork => "fork", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Gollum => "gollum", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Issues => "issues", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Label => "label", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Member => "member", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Membership => "membership", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Milestone => "milestone", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Organization => "organization", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Project => "project", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Public => "public", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Push => "push", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Release => "release", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Repository => "repository", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Star => "star", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Status => "status", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Team => "team", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Watch => "watch", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.PullRequestReviewThread => "pull_request_review_thread", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.MergeQueueEntry => "merge_queue_entry", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.WorkflowJob => "workflow_job", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.MergeGroup => "merge_group", - WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.SecretScanningAlertLocation => "secret_scanning_alert_location", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.ContentReference, - "create" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Create, - "delete" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Delete, - "deployment" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Fork, - "gollum" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Gollum, - "issues" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.IssueComment, - "label" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Label, - "member" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Member, - "membership" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Membership, - "milestone" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Milestone, - "organization" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Organization, - "org_block" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.PageBuild, - "project" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Project, - "project_card" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Public, - "pull_request" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Push, - "registry_package" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Release, - "repository" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Star, - "status" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Status, - "team" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Team, - "team_add" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.WorkflowRun, - "pull_request_review_thread" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.PullRequestReviewThread, - "merge_queue_entry" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.MergeQueueEntry, - "workflow_job" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.WorkflowJob, - "merge_group" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.MergeGroup, - "secret_scanning_alert_location" => WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.SecretScanningAlertLocation, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRun.g.cs index 938da81d..28238f66 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRun.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRun.g.cs @@ -87,7 +87,7 @@ public sealed partial class WebhookDeploymentStatusCreatedWorkflowRun /// /// [global::System.Text.Json.Serialization.JsonPropertyName("head_commit")] - public object? HeadCommit { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunHeadCommit? HeadCommit { get; set; } /// /// @@ -153,20 +153,20 @@ public sealed partial class WebhookDeploymentStatusCreatedWorkflowRun /// /// [global::System.Text.Json.Serialization.JsonPropertyName("previous_attempt_url")] - public object? PreviousAttemptUrl { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPreviousAttemptUrl? PreviousAttemptUrl { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PullRequests { get; set; } + public required global::System.Collections.Generic.IList PullRequests { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("referenced_workflows")] - public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } + public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunHeadCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunHeadCommit.g.cs new file mode 100644 index 00000000..c9a215a8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunHeadCommit.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunHeadCommit + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunHeadRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunHeadRepository.g.cs index 758a16c5..29a323b3 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunHeadRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunHeadRepository.g.cs @@ -78,7 +78,7 @@ public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunHeadReposit /// /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public object? Description { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunHeadRepositoryDescription? Description { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunHeadRepositoryDescription.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunHeadRepositoryDescription.g.cs new file mode 100644 index 00000000..3bab5bfa --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunHeadRepositoryDescription.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunHeadRepositoryDescription + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPreviousAttemptUrl.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPreviousAttemptUrl.g.cs new file mode 100644 index 00000000..400de5a6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPreviousAttemptUrl.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunPreviousAttemptUrl + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequest.g.cs new file mode 100644 index 00000000..512541f8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequest.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunPullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBase Base { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHead Head { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBase.g.cs new file mode 100644 index 00000000..c7dd0ebf --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBase.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunPullRequestBase + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBaseRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBaseRepo.g.cs new file mode 100644 index 00000000..b275e0ec --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBaseRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunPullRequestBaseRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHead.g.cs new file mode 100644 index 00000000..2a91de7b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHead.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunPullRequestHead + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHeadRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHeadRepo.g.cs new file mode 100644 index 00000000..6db735aa --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHeadRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunPullRequestHeadRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequests.g.cs deleted file mode 100644 index 1495184a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequests.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunPullRequests - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("base")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBase Base { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHead Head { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBase.g.cs deleted file mode 100644 index 66cfc8fe..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBase.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBase - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBaseRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBaseRepo.g.cs deleted file mode 100644 index 66684017..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBaseRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBaseRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHead.g.cs deleted file mode 100644 index ac3926f3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHead.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHead - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHeadRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHeadRepo.g.cs deleted file mode 100644 index 84d09a04..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHeadRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHeadRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunReferencedWorkflow.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunReferencedWorkflow.g.cs new file mode 100644 index 00000000..e913e3b9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunReferencedWorkflow.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunReferencedWorkflow + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + public string? Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunReferencedWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunReferencedWorkflows.g.cs deleted file mode 100644 index 13b217cc..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunReferencedWorkflows.g.cs +++ /dev/null @@ -1,37 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunReferencedWorkflows - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - public string? Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunRepository.g.cs index 587247a0..c16ef955 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunRepository.g.cs @@ -78,7 +78,7 @@ public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunRepository /// /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public object? Description { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunRepositoryDescription? Description { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunRepositoryDescription.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunRepositoryDescription.g.cs new file mode 100644 index 00000000..a7c16dd4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookDeploymentStatusCreatedWorkflowRunRepositoryDescription.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookDeploymentStatusCreatedWorkflowRunRepositoryDescription + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookFork.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookFork.g.cs index d9db3131..c661b2a6 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookFork.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookFork.g.cs @@ -24,7 +24,7 @@ public sealed partial class WebhookFork [global::System.Text.Json.Serialization.JsonPropertyName("forkee")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf Forkee { get; set; } + public required global::System.AllOf Forkee { get; set; } /// /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkee.g.cs deleted file mode 100644 index 90625332..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkee.g.cs +++ /dev/null @@ -1,646 +0,0 @@ - -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace GitHub -{ - /// - /// A git repository - /// - public sealed partial class WebhookForkForkee - { - /// - /// Whether to allow auto-merge for pull requests.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("allow_auto_merge")] - public bool AllowAutoMerge { get; set; } = false; - - /// - /// Whether to allow private forks - /// - [global::System.Text.Json.Serialization.JsonPropertyName("allow_forking")] - public bool AllowForking { get; set; } - - /// - /// Whether to allow merge commits for pull requests.
- /// Default Value: true - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("allow_merge_commit")] - public bool AllowMergeCommit { get; set; } = true; - - /// - /// Whether to allow rebase merges for pull requests.
- /// Default Value: true - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("allow_rebase_merge")] - public bool AllowRebaseMerge { get; set; } = true; - - /// - /// Whether to allow squash merges for pull requests.
- /// Default Value: true - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("allow_squash_merge")] - public bool AllowSquashMerge { get; set; } = true; - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("allow_update_branch")] - public bool AllowUpdateBranch { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("archive_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ArchiveUrl { get; set; } - - /// - /// Whether the repository is archived.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("archived")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Archived { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("assignees_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string AssigneesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("blobs_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string BlobsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("branches_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string BranchesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("clone_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CloneUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("collaborators_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CollaboratorsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CommentsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("commits_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CommitsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("compare_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CompareUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("contents_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ContentsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("contributors_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ContributorsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.OneOf CreatedAt { get; set; } - - /// - /// The default branch of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default_branch")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string DefaultBranch { get; set; } - - /// - /// Whether to delete head branches when pull requests are merged
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("delete_branch_on_merge")] - public bool DeleteBranchOnMerge { get; set; } = false; - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deployments_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string DeploymentsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// Returns whether or not this repository is disabled. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("disabled")] - public bool Disabled { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("downloads_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string DownloadsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("fork")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Fork { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("forks")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Forks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("forks_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int ForksCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("forks_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ForksUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FullName { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("git_commits_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string GitCommitsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("git_refs_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string GitRefsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("git_tags_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string GitTagsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("git_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string GitUrl { get; set; } - - /// - /// Whether downloads are enabled.
- /// Default Value: true - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("has_downloads")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool HasDownloads { get; set; } - - /// - /// Whether issues are enabled.
- /// Default Value: true - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("has_issues")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool HasIssues { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("has_pages")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool HasPages { get; set; } - - /// - /// Whether projects are enabled.
- /// Default Value: true - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("has_projects")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool HasProjects { get; set; } - - /// - /// Whether the wiki is enabled.
- /// Default Value: true - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("has_wiki")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool HasWiki { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("homepage")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Homepage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("hooks_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HooksUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the repository - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("is_template")] - public bool IsTemplate { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("issue_comment_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string IssueCommentUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("issue_events_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string IssueEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("issues_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string IssuesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("keys_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string KeysUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string LabelsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("language")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Language { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("languages_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string LanguagesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("license")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookForkForkeeLicense? License { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("master_branch")] - public string? MasterBranch { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("merges_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MergesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("milestones_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MilestonesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("mirror_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? MirrorUrl { get; set; } - - /// - /// The name of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("notifications_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NotificationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("open_issues")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int OpenIssues { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("open_issues_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int OpenIssuesCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization")] - public string? Organization { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("owner")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookForkForkeeOwner? Owner { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] - public global::GitHub.WebhookForkForkeePermissions? Permissions { get; set; } - - /// - /// Whether the repository is private or public. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("private")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Private { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("public")] - public bool Public { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pulls_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string PullsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pushed_at")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.OneOf? PushedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("releases_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ReleasesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("role_name")] - public string? RoleName { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("size")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Size { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ssh_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string SshUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("stargazers")] - public int Stargazers { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("stargazers_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int StargazersCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("stargazers_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string StargazersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("statuses_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string StatusesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscribers_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string SubscribersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscription_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string SubscriptionUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("svn_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string SvnUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("tags_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string TagsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("teams_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string TeamsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("topics")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Topics { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("trees_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string TreesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("visibility")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookForkForkeeVisibilityJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookForkForkeeVisibility Visibility { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("watchers")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Watchers { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("watchers_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int WatchersCount { get; set; } - - /// - /// Whether to require contributors to sign off on web-based commits - /// - [global::System.Text.Json.Serialization.JsonPropertyName("web_commit_signoff_required")] - public bool WebCommitSignoffRequired { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeLicense.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeLicense.g.cs deleted file mode 100644 index 7df54413..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeLicense.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookForkForkeeLicense - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("key")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Key { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("spdx_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string SpdxId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeOwner.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeOwner.g.cs deleted file mode 100644 index 8a2e78c2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeOwner.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookForkForkeeOwner - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookForkForkeeOwnerTypeJsonConverter))] - public global::GitHub.WebhookForkForkeeOwnerType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeOwnerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeOwnerType.g.cs deleted file mode 100644 index 312f99c7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeOwnerType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookForkForkeeOwnerType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookForkForkeeOwnerTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookForkForkeeOwnerType value) - { - return value switch - { - WebhookForkForkeeOwnerType.Bot => "Bot", - WebhookForkForkeeOwnerType.User => "User", - WebhookForkForkeeOwnerType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookForkForkeeOwnerType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookForkForkeeOwnerType.Bot, - "User" => WebhookForkForkeeOwnerType.User, - "Organization" => WebhookForkForkeeOwnerType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeePermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeePermissions.g.cs deleted file mode 100644 index ae837e90..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeePermissions.g.cs +++ /dev/null @@ -1,50 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookForkForkeePermissions - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("admin")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Admin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("maintain")] - public bool Maintain { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Pull { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("push")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Push { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("triage")] - public bool Triage { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1.g.cs new file mode 100644 index 00000000..0f2f9302 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1.g.cs @@ -0,0 +1,646 @@ + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace GitHub +{ + /// + /// A git repository + /// + public sealed partial class WebhookForkForkeeVariant1 + { + /// + /// Whether to allow auto-merge for pull requests.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("allow_auto_merge")] + public bool AllowAutoMerge { get; set; } = false; + + /// + /// Whether to allow private forks + /// + [global::System.Text.Json.Serialization.JsonPropertyName("allow_forking")] + public bool AllowForking { get; set; } + + /// + /// Whether to allow merge commits for pull requests.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("allow_merge_commit")] + public bool AllowMergeCommit { get; set; } = true; + + /// + /// Whether to allow rebase merges for pull requests.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("allow_rebase_merge")] + public bool AllowRebaseMerge { get; set; } = true; + + /// + /// Whether to allow squash merges for pull requests.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("allow_squash_merge")] + public bool AllowSquashMerge { get; set; } = true; + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("allow_update_branch")] + public bool AllowUpdateBranch { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("archive_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ArchiveUrl { get; set; } + + /// + /// Whether the repository is archived.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("archived")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Archived { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignees_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string AssigneesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("blobs_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string BlobsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("branches_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string BranchesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("clone_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CloneUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("collaborators_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CollaboratorsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CommentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("commits_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CommitsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("compare_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CompareUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contents_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ContentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contributors_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ContributorsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.OneOf CreatedAt { get; set; } + + /// + /// The default branch of the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default_branch")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DefaultBranch { get; set; } + + /// + /// Whether to delete head branches when pull requests are merged
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("delete_branch_on_merge")] + public bool DeleteBranchOnMerge { get; set; } = false; + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deployments_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DeploymentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// Returns whether or not this repository is disabled. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("disabled")] + public bool Disabled { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("downloads_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DownloadsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fork")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Fork { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("forks")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Forks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("forks_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ForksCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("forks_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ForksUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string FullName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("git_commits_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string GitCommitsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("git_refs_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string GitRefsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("git_tags_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string GitTagsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("git_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string GitUrl { get; set; } + + /// + /// Whether downloads are enabled.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("has_downloads")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HasDownloads { get; set; } + + /// + /// Whether issues are enabled.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("has_issues")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HasIssues { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("has_pages")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HasPages { get; set; } + + /// + /// Whether projects are enabled.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("has_projects")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HasProjects { get; set; } + + /// + /// Whether the wiki is enabled.
+ /// Default Value: true + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("has_wiki")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HasWiki { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("homepage")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Homepage { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hooks_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HooksUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the repository + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_template")] + public bool IsTemplate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("issue_comment_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string IssueCommentUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("issue_events_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string IssueEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("issues_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string IssuesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("keys_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string KeysUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("language")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Language { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("languages_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string LanguagesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("license")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookForkForkeeVariant1License? License { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("master_branch")] + public string? MasterBranch { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("merges_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MergesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("milestones_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MilestonesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mirror_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? MirrorUrl { get; set; } + + /// + /// The name of the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("notifications_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NotificationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("open_issues")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int OpenIssues { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("open_issues_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int OpenIssuesCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization")] + public string? Organization { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("owner")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookForkForkeeVariant1Owner? Owner { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] + public global::GitHub.WebhookForkForkeeVariant1Permissions? Permissions { get; set; } + + /// + /// Whether the repository is private or public. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("private")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Private { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("public")] + public bool Public { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pulls_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string PullsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pushed_at")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.OneOf? PushedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("releases_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ReleasesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("role_name")] + public string? RoleName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Size { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ssh_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SshUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stargazers")] + public int Stargazers { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stargazers_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int StargazersCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stargazers_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string StargazersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("statuses_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string StatusesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscribers_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SubscribersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscription_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SubscriptionUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("svn_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SvnUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tags_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string TagsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("teams_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string TeamsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("topics")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Topics { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("trees_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string TreesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("visibility")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookForkForkeeVariant1VisibilityJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookForkForkeeVariant1Visibility Visibility { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("watchers")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Watchers { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("watchers_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int WatchersCount { get; set; } + + /// + /// Whether to require contributors to sign off on web-based commits + /// + [global::System.Text.Json.Serialization.JsonPropertyName("web_commit_signoff_required")] + public bool WebCommitSignoffRequired { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1License.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1License.g.cs new file mode 100644 index 00000000..fa4e6e84 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1License.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookForkForkeeVariant1License + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("key")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Key { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("spdx_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SpdxId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1Owner.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1Owner.g.cs new file mode 100644 index 00000000..12bb85f6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1Owner.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookForkForkeeVariant1Owner + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookForkForkeeVariant1OwnerTypeJsonConverter))] + public global::GitHub.WebhookForkForkeeVariant1OwnerType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1OwnerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1OwnerType.g.cs new file mode 100644 index 00000000..84ce5e79 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1OwnerType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookForkForkeeVariant1OwnerType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookForkForkeeVariant1OwnerTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookForkForkeeVariant1OwnerType value) + { + return value switch + { + WebhookForkForkeeVariant1OwnerType.Bot => "Bot", + WebhookForkForkeeVariant1OwnerType.User => "User", + WebhookForkForkeeVariant1OwnerType.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookForkForkeeVariant1OwnerType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookForkForkeeVariant1OwnerType.Bot, + "User" => WebhookForkForkeeVariant1OwnerType.User, + "Organization" => WebhookForkForkeeVariant1OwnerType.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1Permissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1Permissions.g.cs new file mode 100644 index 00000000..b33da8f8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1Permissions.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookForkForkeeVariant1Permissions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("admin")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Admin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("maintain")] + public bool Maintain { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Pull { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("push")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Push { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("triage")] + public bool Triage { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1Visibility.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1Visibility.g.cs new file mode 100644 index 00000000..3563bdb3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant1Visibility.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookForkForkeeVariant1Visibility + { + /// + /// + /// + Public, + /// + /// + /// + Private, + /// + /// + /// + Internal, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookForkForkeeVariant1VisibilityExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookForkForkeeVariant1Visibility value) + { + return value switch + { + WebhookForkForkeeVariant1Visibility.Public => "public", + WebhookForkForkeeVariant1Visibility.Private => "private", + WebhookForkForkeeVariant1Visibility.Internal => "internal", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookForkForkeeVariant1Visibility? ToEnum(string value) + { + return value switch + { + "public" => WebhookForkForkeeVariant1Visibility.Public, + "private" => WebhookForkForkeeVariant1Visibility.Private, + "internal" => WebhookForkForkeeVariant1Visibility.Internal, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2.g.cs new file mode 100644 index 00000000..b4788c55 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2.g.cs @@ -0,0 +1,485 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookForkForkeeVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("allow_forking")] + public bool AllowForking { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("archive_url")] + public string? ArchiveUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("archived")] + public bool Archived { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignees_url")] + public string? AssigneesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("blobs_url")] + public string? BlobsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("branches_url")] + public string? BranchesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("clone_url")] + public string? CloneUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("collaborators_url")] + public string? CollaboratorsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] + public string? CommentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("commits_url")] + public string? CommitsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("compare_url")] + public string? CompareUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contents_url")] + public string? ContentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contributors_url")] + public string? ContributorsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public string? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default_branch")] + public string? DefaultBranch { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deployments_url")] + public string? DeploymentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("disabled")] + public bool Disabled { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("downloads_url")] + public string? DownloadsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fork")] + public bool Fork { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("forks")] + public int Forks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("forks_count")] + public int ForksCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("forks_url")] + public string? ForksUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] + public string? FullName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("git_commits_url")] + public string? GitCommitsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("git_refs_url")] + public string? GitRefsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("git_tags_url")] + public string? GitTagsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("git_url")] + public string? GitUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("has_downloads")] + public bool HasDownloads { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("has_issues")] + public bool HasIssues { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("has_pages")] + public bool HasPages { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("has_projects")] + public bool HasProjects { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("has_wiki")] + public bool HasWiki { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("homepage")] + public string? Homepage { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hooks_url")] + public string? HooksUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_template")] + public bool IsTemplate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("issue_comment_url")] + public string? IssueCommentUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("issue_events_url")] + public string? IssueEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("issues_url")] + public string? IssuesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("keys_url")] + public string? KeysUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + public string? LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("language")] + public global::GitHub.WebhookForkForkeeVariant2Language? Language { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("languages_url")] + public string? LanguagesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("license")] + public global::GitHub.WebhookForkForkeeVariant2License? License { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("merges_url")] + public string? MergesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("milestones_url")] + public string? MilestonesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mirror_url")] + public global::GitHub.WebhookForkForkeeVariant2MirrorUrl? MirrorUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("notifications_url")] + public string? NotificationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("open_issues")] + public int OpenIssues { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("open_issues_count")] + public int OpenIssuesCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("owner")] + public global::GitHub.WebhookForkForkeeVariant2Owner? Owner { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("private")] + public bool Private { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("public")] + public bool Public { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pulls_url")] + public string? PullsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pushed_at")] + public string? PushedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("releases_url")] + public string? ReleasesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + public int Size { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ssh_url")] + public string? SshUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stargazers_count")] + public int StargazersCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stargazers_url")] + public string? StargazersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("statuses_url")] + public string? StatusesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscribers_url")] + public string? SubscribersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscription_url")] + public string? SubscriptionUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("svn_url")] + public string? SvnUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tags_url")] + public string? TagsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("teams_url")] + public string? TeamsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("topics")] + public global::System.Collections.Generic.IList? Topics { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("trees_url")] + public string? TreesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public string? UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("visibility")] + public string? Visibility { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("watchers")] + public int Watchers { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("watchers_count")] + public int WatchersCount { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2Language.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2Language.g.cs new file mode 100644 index 00000000..1e7d7075 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2Language.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookForkForkeeVariant2Language + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2License.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2License.g.cs new file mode 100644 index 00000000..62efd619 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2License.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookForkForkeeVariant2License + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2MirrorUrl.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2MirrorUrl.g.cs new file mode 100644 index 00000000..b8189a30 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2MirrorUrl.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookForkForkeeVariant2MirrorUrl + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2Owner.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2Owner.g.cs new file mode 100644 index 00000000..92b0d090 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2Owner.g.cs @@ -0,0 +1,125 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookForkForkeeVariant2Owner + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + public string? Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2Topic.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2Topic.g.cs new file mode 100644 index 00000000..3f79e4b1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVariant2Topic.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookForkForkeeVariant2Topic + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVisibility.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVisibility.g.cs deleted file mode 100644 index 65cb52e1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookForkForkeeVisibility.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookForkForkeeVisibility - { - /// - /// - /// - Public, - /// - /// - /// - Private, - /// - /// - /// - Internal, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookForkForkeeVisibilityExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookForkForkeeVisibility value) - { - return value switch - { - WebhookForkForkeeVisibility.Public => "public", - WebhookForkForkeeVisibility.Private => "private", - WebhookForkForkeeVisibility.Internal => "internal", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookForkForkeeVisibility? ToEnum(string value) - { - return value switch - { - "public" => WebhookForkForkeeVisibility.Public, - "private" => WebhookForkForkeeVisibility.Private, - "internal" => WebhookForkForkeeVisibility.Internal, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookGollum.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookGollum.g.cs index 861e8c43..1ab0d9ee 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookGollum.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookGollum.g.cs @@ -36,7 +36,7 @@ public sealed partial class WebhookGollum ///
[global::System.Text.Json.Serialization.JsonPropertyName("pages")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Pages { get; set; } + public required global::System.Collections.Generic.IList Pages { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPage.g.cs new file mode 100644 index 00000000..abc568a4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPage.g.cs @@ -0,0 +1,60 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookGollumPage + { + /// + /// The action that was performed on the page. Can be `created` or `edited`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("action")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookGollumPageActionJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookGollumPageAction Action { get; set; } + + /// + /// Points to the HTML wiki page. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// The name of the page. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("page_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string PageName { get; set; } + + /// + /// The latest commit SHA of the page. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("summary")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Summary { get; set; } + + /// + /// The current page title. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPageAction.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPageAction.g.cs new file mode 100644 index 00000000..6bbe14e2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPageAction.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The action that was performed on the page. Can be `created` or `edited`. + /// + public enum WebhookGollumPageAction + { + /// + /// + /// + Created, + /// + /// + /// + Edited, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookGollumPageActionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookGollumPageAction value) + { + return value switch + { + WebhookGollumPageAction.Created => "created", + WebhookGollumPageAction.Edited => "edited", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookGollumPageAction? ToEnum(string value) + { + return value switch + { + "created" => WebhookGollumPageAction.Created, + "edited" => WebhookGollumPageAction.Edited, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPages.g.cs deleted file mode 100644 index dccf4d64..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPages.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookGollumPages - { - /// - /// The action that was performed on the page. Can be `created` or `edited`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("action")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookGollumPagesActionJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookGollumPagesAction Action { get; set; } - - /// - /// Points to the HTML wiki page. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// The name of the page. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("page_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string PageName { get; set; } - - /// - /// The latest commit SHA of the page. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("summary")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Summary { get; set; } - - /// - /// The current page title. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Title { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPagesAction.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPagesAction.g.cs deleted file mode 100644 index decbd9ec..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookGollumPagesAction.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The action that was performed on the page. Can be `created` or `edited`. - /// - public enum WebhookGollumPagesAction - { - /// - /// - /// - Created, - /// - /// - /// - Edited, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookGollumPagesActionExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookGollumPagesAction value) - { - return value switch - { - WebhookGollumPagesAction.Created => "created", - WebhookGollumPagesAction.Edited => "edited", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookGollumPagesAction? ToEnum(string value) - { - return value switch - { - "created" => WebhookGollumPagesAction.Created, - "edited" => WebhookGollumPagesAction.Edited, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationCreated.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationCreated.g.cs index 3ad48649..81249744 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationCreated.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationCreated.g.cs @@ -42,7 +42,7 @@ public sealed partial class WebhookInstallationCreated /// An array of repository objects that the installation can access. ///
[global::System.Text.Json.Serialization.JsonPropertyName("repositories")] - public global::System.Collections.Generic.IList? Repositories { get; set; } + public global::System.Collections.Generic.IList? Repositories { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationCreatedRepositories.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationCreatedRepositories.g.cs deleted file mode 100644 index efa98bf9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationCreatedRepositories.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookInstallationCreatedRepositories - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FullName { get; set; } - - /// - /// Unique identifier of the repository - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Whether the repository is private or public. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("private")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Private { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationDeleted.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationDeleted.g.cs index a236f92a..435149bb 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationDeleted.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationDeleted.g.cs @@ -42,7 +42,7 @@ public sealed partial class WebhookInstallationDeleted /// An array of repository objects that the installation can access. ///
[global::System.Text.Json.Serialization.JsonPropertyName("repositories")] - public global::System.Collections.Generic.IList? Repositories { get; set; } + public global::System.Collections.Generic.IList? Repositories { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
@@ -55,7 +55,7 @@ public sealed partial class WebhookInstallationDeleted /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("requester")] - public object? Requester { get; set; } + public global::GitHub.WebhookInstallationDeletedRequester? Requester { get; set; } /// /// The GitHub user that triggered the event. This property is included in every webhook payload. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationDeletedRepositories.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationDeletedRepositories.g.cs deleted file mode 100644 index 6972dbb8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationDeletedRepositories.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookInstallationDeletedRepositories - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FullName { get; set; } - - /// - /// Unique identifier of the repository - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Whether the repository is private or public. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("private")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Private { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationDeletedRequester.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationDeletedRequester.g.cs new file mode 100644 index 00000000..14fa990b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationDeletedRequester.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookInstallationDeletedRequester + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationNewPermissionsAccepted.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationNewPermissionsAccepted.g.cs index 98ff2367..6125d453 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationNewPermissionsAccepted.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationNewPermissionsAccepted.g.cs @@ -42,7 +42,7 @@ public sealed partial class WebhookInstallationNewPermissionsAccepted /// An array of repository objects that the installation can access. /// [global::System.Text.Json.Serialization.JsonPropertyName("repositories")] - public global::System.Collections.Generic.IList? Repositories { get; set; } + public global::System.Collections.Generic.IList? Repositories { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
@@ -55,7 +55,7 @@ public sealed partial class WebhookInstallationNewPermissionsAccepted /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("requester")] - public object? Requester { get; set; } + public global::GitHub.WebhookInstallationNewPermissionsAcceptedRequester? Requester { get; set; } /// /// The GitHub user that triggered the event. This property is included in every webhook payload. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationNewPermissionsAcceptedRepositories.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationNewPermissionsAcceptedRepositories.g.cs deleted file mode 100644 index bc88f910..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationNewPermissionsAcceptedRepositories.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookInstallationNewPermissionsAcceptedRepositories - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FullName { get; set; } - - /// - /// Unique identifier of the repository - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Whether the repository is private or public. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("private")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Private { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationNewPermissionsAcceptedRequester.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationNewPermissionsAcceptedRequester.g.cs new file mode 100644 index 00000000..7c324f42 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationNewPermissionsAcceptedRequester.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookInstallationNewPermissionsAcceptedRequester + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAdded.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAdded.g.cs index f3b161ae..3fa9a5f9 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAdded.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAdded.g.cs @@ -43,14 +43,14 @@ public sealed partial class WebhookInstallationRepositoriesAdded /// [global::System.Text.Json.Serialization.JsonPropertyName("repositories_added")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RepositoriesAdded { get; set; } + public required global::System.Collections.Generic.IList RepositoriesAdded { get; set; } /// /// An array of repository objects, which were removed from the installation. /// [global::System.Text.Json.Serialization.JsonPropertyName("repositories_removed")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RepositoriesRemoved { get; set; } + public required global::System.Collections.Generic.IList RepositoriesRemoved { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAddedRepositoriesAdded.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAddedRepositoriesAdded.g.cs deleted file mode 100644 index df584c9a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAddedRepositoriesAdded.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookInstallationRepositoriesAddedRepositoriesAdded - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FullName { get; set; } - - /// - /// Unique identifier of the repository - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Whether the repository is private or public. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("private")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Private { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAddedRepositoriesRemoved.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAddedRepositoriesRemoved.g.cs deleted file mode 100644 index 825895a4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAddedRepositoriesRemoved.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookInstallationRepositoriesAddedRepositoriesRemoved - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] - public string? FullName { get; set; } - - /// - /// Unique identifier of the repository - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// The name of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// Whether the repository is private or public. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("private")] - public bool Private { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAddedRepositoriesRemovedItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAddedRepositoriesRemovedItem.g.cs new file mode 100644 index 00000000..fa9f5a1e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesAddedRepositoriesRemovedItem.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookInstallationRepositoriesAddedRepositoriesRemovedItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] + public string? FullName { get; set; } + + /// + /// Unique identifier of the repository + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// The name of the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// Whether the repository is private or public. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("private")] + public bool Private { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemoved.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemoved.g.cs index 418b6af5..b03ba5be 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemoved.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemoved.g.cs @@ -43,14 +43,14 @@ public sealed partial class WebhookInstallationRepositoriesRemoved ///
[global::System.Text.Json.Serialization.JsonPropertyName("repositories_added")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RepositoriesAdded { get; set; } + public required global::System.Collections.Generic.IList RepositoriesAdded { get; set; } /// /// An array of repository objects, which were removed from the installation. /// [global::System.Text.Json.Serialization.JsonPropertyName("repositories_removed")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RepositoriesRemoved { get; set; } + public required global::System.Collections.Generic.IList RepositoriesRemoved { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemovedRepositoriesAdded.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemovedRepositoriesAdded.g.cs deleted file mode 100644 index d770797c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemovedRepositoriesAdded.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookInstallationRepositoriesRemovedRepositoriesAdded - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FullName { get; set; } - - /// - /// Unique identifier of the repository - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Whether the repository is private or public. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("private")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Private { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemovedRepositoriesRemoved.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemovedRepositoriesRemoved.g.cs deleted file mode 100644 index f281f87b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemovedRepositoriesRemoved.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookInstallationRepositoriesRemovedRepositoriesRemoved - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FullName { get; set; } - - /// - /// Unique identifier of the repository - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Whether the repository is private or public. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("private")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Private { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemovedRepositoriesRemovedItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemovedRepositoriesRemovedItem.g.cs new file mode 100644 index 00000000..202a7b93 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationRepositoriesRemovedRepositoriesRemovedItem.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookInstallationRepositoriesRemovedRepositoriesRemovedItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string FullName { get; set; } + + /// + /// Unique identifier of the repository + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Whether the repository is private or public. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("private")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Private { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationSuspend.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationSuspend.g.cs index 7a36e420..907a1221 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationSuspend.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationSuspend.g.cs @@ -42,7 +42,7 @@ public sealed partial class WebhookInstallationSuspend /// An array of repository objects that the installation can access. ///
[global::System.Text.Json.Serialization.JsonPropertyName("repositories")] - public global::System.Collections.Generic.IList? Repositories { get; set; } + public global::System.Collections.Generic.IList? Repositories { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
@@ -55,7 +55,7 @@ public sealed partial class WebhookInstallationSuspend /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("requester")] - public object? Requester { get; set; } + public global::GitHub.WebhookInstallationSuspendRequester? Requester { get; set; } /// /// The GitHub user that triggered the event. This property is included in every webhook payload. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationSuspendRepositories.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationSuspendRepositories.g.cs deleted file mode 100644 index 3d79630e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationSuspendRepositories.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookInstallationSuspendRepositories - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FullName { get; set; } - - /// - /// Unique identifier of the repository - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Whether the repository is private or public. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("private")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Private { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationSuspendRequester.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationSuspendRequester.g.cs new file mode 100644 index 00000000..15fca225 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationSuspendRequester.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookInstallationSuspendRequester + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationTargetRenamedAccount.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationTargetRenamedAccount.g.cs index f6f8a7f0..f6c89346 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationTargetRenamedAccount.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationTargetRenamedAccount.g.cs @@ -31,7 +31,7 @@ public sealed partial class WebhookInstallationTargetRenamedAccount /// /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public object? Description { get; set; } + public global::GitHub.WebhookInstallationTargetRenamedAccountDescription? Description { get; set; } /// /// @@ -226,7 +226,7 @@ public sealed partial class WebhookInstallationTargetRenamedAccount /// /// [global::System.Text.Json.Serialization.JsonPropertyName("website_url")] - public object? WebsiteUrl { get; set; } + public global::GitHub.WebhookInstallationTargetRenamedAccountWebsiteUrl? WebsiteUrl { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationTargetRenamedAccountDescription.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationTargetRenamedAccountDescription.g.cs new file mode 100644 index 00000000..aa674bd5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationTargetRenamedAccountDescription.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookInstallationTargetRenamedAccountDescription + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationTargetRenamedAccountWebsiteUrl.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationTargetRenamedAccountWebsiteUrl.g.cs new file mode 100644 index 00000000..8afe8301 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationTargetRenamedAccountWebsiteUrl.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookInstallationTargetRenamedAccountWebsiteUrl + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationUnsuspend.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationUnsuspend.g.cs index f803910c..88aa9674 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationUnsuspend.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationUnsuspend.g.cs @@ -42,7 +42,7 @@ public sealed partial class WebhookInstallationUnsuspend /// An array of repository objects that the installation can access. /// [global::System.Text.Json.Serialization.JsonPropertyName("repositories")] - public global::System.Collections.Generic.IList? Repositories { get; set; } + public global::System.Collections.Generic.IList? Repositories { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
@@ -55,7 +55,7 @@ public sealed partial class WebhookInstallationUnsuspend /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("requester")] - public object? Requester { get; set; } + public global::GitHub.WebhookInstallationUnsuspendRequester? Requester { get; set; } /// /// The GitHub user that triggered the event. This property is included in every webhook payload. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationUnsuspendRepositories.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationUnsuspendRepositories.g.cs deleted file mode 100644 index deca6cd3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationUnsuspendRepositories.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookInstallationUnsuspendRepositories - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FullName { get; set; } - - /// - /// Unique identifier of the repository - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Whether the repository is private or public. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("private")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Private { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationUnsuspendRequester.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationUnsuspendRequester.g.cs new file mode 100644 index 00000000..d77ec256 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookInstallationUnsuspendRequester.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookInstallationUnsuspendRequester + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreated.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreated.g.cs index ec11a035..ac88a82c 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreated.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreated.g.cs @@ -47,7 +47,7 @@ public sealed partial class WebhookIssueCommentCreated [global::System.Text.Json.Serialization.JsonPropertyName("issue")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf Issue { get; set; } + public required global::System.AllOf Issue { get; set; } /// /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssue.g.cs deleted file mode 100644 index 38543a69..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssue.g.cs +++ /dev/null @@ -1,221 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. - /// - public sealed partial class WebhookIssueCommentCreatedIssue - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("active_lock_reason")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueActiveLockReasonJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentCreatedIssueActiveLockReason? ActiveLockReason { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] - public global::GitHub.WebhookIssueCommentCreatedIssueAssignee? Assignee { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } - - /// - /// How the author is associated with the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueAuthorAssociationJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentCreatedIssueAuthorAssociation AuthorAssociation { get; set; } - - /// - /// Contents of the issue - /// - [global::System.Text.Json.Serialization.JsonPropertyName("body")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Body { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? ClosedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("comments")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Comments { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CommentsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("draft")] - public bool Draft { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string LabelsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("locked")] - public bool Locked { get; set; } - - /// - /// A collection of related issues and pull requests. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("milestone")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentCreatedIssueMilestone? Milestone { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("performed_via_github_app")] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubApp? PerformedViaGithubApp { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] - public global::GitHub.WebhookIssueCommentCreatedIssuePullRequest? PullRequest { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentCreatedIssueReactions Reactions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoryUrl { get; set; } - - /// - /// State of the issue; either 'open' or 'closed' - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueStateJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssueState? State { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state_reason")] - public string? StateReason { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("timeline_url")] - public string? TimelineUrl { get; set; } - - /// - /// Title of the issue - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Title { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// URL for the issue - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("user")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentCreatedIssueUser? User { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueActiveLockReason.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueActiveLockReason.g.cs deleted file mode 100644 index bf1725d6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueActiveLockReason.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssueActiveLockReason - { - /// - /// - /// - Resolved, - /// - /// - /// - OffTopic, - /// - /// - /// - TooHeated, - /// - /// - /// - Spam, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssueActiveLockReasonExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssueActiveLockReason value) - { - return value switch - { - WebhookIssueCommentCreatedIssueActiveLockReason.Resolved => "resolved", - WebhookIssueCommentCreatedIssueActiveLockReason.OffTopic => "off-topic", - WebhookIssueCommentCreatedIssueActiveLockReason.TooHeated => "too heated", - WebhookIssueCommentCreatedIssueActiveLockReason.Spam => "spam", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssueActiveLockReason? ToEnum(string value) - { - return value switch - { - "resolved" => WebhookIssueCommentCreatedIssueActiveLockReason.Resolved, - "off-topic" => WebhookIssueCommentCreatedIssueActiveLockReason.OffTopic, - "too heated" => WebhookIssueCommentCreatedIssueActiveLockReason.TooHeated, - "spam" => WebhookIssueCommentCreatedIssueActiveLockReason.Spam, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssignee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssignee.g.cs deleted file mode 100644 index af024027..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssignee.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentCreatedIssueAssignee - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueAssigneeTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssueAssigneeType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssigneeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssigneeType.g.cs deleted file mode 100644 index 80f2e850..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssigneeType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssueAssigneeType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssueAssigneeTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssueAssigneeType value) - { - return value switch - { - WebhookIssueCommentCreatedIssueAssigneeType.Bot => "Bot", - WebhookIssueCommentCreatedIssueAssigneeType.User => "User", - WebhookIssueCommentCreatedIssueAssigneeType.Organization => "Organization", - WebhookIssueCommentCreatedIssueAssigneeType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssueAssigneeType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentCreatedIssueAssigneeType.Bot, - "User" => WebhookIssueCommentCreatedIssueAssigneeType.User, - "Organization" => WebhookIssueCommentCreatedIssueAssigneeType.Organization, - "Mannequin" => WebhookIssueCommentCreatedIssueAssigneeType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssignees.g.cs deleted file mode 100644 index fe6b0a42..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentCreatedIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssigneesType.g.cs deleted file mode 100644 index 76fefeb6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssueAssigneesType value) - { - return value switch - { - WebhookIssueCommentCreatedIssueAssigneesType.Bot => "Bot", - WebhookIssueCommentCreatedIssueAssigneesType.User => "User", - WebhookIssueCommentCreatedIssueAssigneesType.Organization => "Organization", - WebhookIssueCommentCreatedIssueAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentCreatedIssueAssigneesType.Bot, - "User" => WebhookIssueCommentCreatedIssueAssigneesType.User, - "Organization" => WebhookIssueCommentCreatedIssueAssigneesType.Organization, - "Mannequin" => WebhookIssueCommentCreatedIssueAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAuthorAssociation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAuthorAssociation.g.cs deleted file mode 100644 index 37317132..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueAuthorAssociation.g.cs +++ /dev/null @@ -1,87 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// How the author is associated with the repository. - /// - public enum WebhookIssueCommentCreatedIssueAuthorAssociation - { - /// - /// - /// - COLLABORATOR, - /// - /// - /// - CONTRIBUTOR, - /// - /// - /// - FIRSTTIMER, - /// - /// - /// - FIRSTTIMECONTRIBUTOR, - /// - /// - /// - MANNEQUIN, - /// - /// - /// - MEMBER, - /// - /// - /// - NONE, - /// - /// - /// - OWNER, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssueAuthorAssociationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssueAuthorAssociation value) - { - return value switch - { - WebhookIssueCommentCreatedIssueAuthorAssociation.COLLABORATOR => "COLLABORATOR", - WebhookIssueCommentCreatedIssueAuthorAssociation.CONTRIBUTOR => "CONTRIBUTOR", - WebhookIssueCommentCreatedIssueAuthorAssociation.FIRSTTIMER => "FIRST_TIMER", - WebhookIssueCommentCreatedIssueAuthorAssociation.FIRSTTIMECONTRIBUTOR => "FIRST_TIME_CONTRIBUTOR", - WebhookIssueCommentCreatedIssueAuthorAssociation.MANNEQUIN => "MANNEQUIN", - WebhookIssueCommentCreatedIssueAuthorAssociation.MEMBER => "MEMBER", - WebhookIssueCommentCreatedIssueAuthorAssociation.NONE => "NONE", - WebhookIssueCommentCreatedIssueAuthorAssociation.OWNER => "OWNER", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssueAuthorAssociation? ToEnum(string value) - { - return value switch - { - "COLLABORATOR" => WebhookIssueCommentCreatedIssueAuthorAssociation.COLLABORATOR, - "CONTRIBUTOR" => WebhookIssueCommentCreatedIssueAuthorAssociation.CONTRIBUTOR, - "FIRST_TIMER" => WebhookIssueCommentCreatedIssueAuthorAssociation.FIRSTTIMER, - "FIRST_TIME_CONTRIBUTOR" => WebhookIssueCommentCreatedIssueAuthorAssociation.FIRSTTIMECONTRIBUTOR, - "MANNEQUIN" => WebhookIssueCommentCreatedIssueAuthorAssociation.MANNEQUIN, - "MEMBER" => WebhookIssueCommentCreatedIssueAuthorAssociation.MEMBER, - "NONE" => WebhookIssueCommentCreatedIssueAuthorAssociation.NONE, - "OWNER" => WebhookIssueCommentCreatedIssueAuthorAssociation.OWNER, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueLabels.g.cs deleted file mode 100644 index 4e9a21ad..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentCreatedIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestone.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestone.g.cs deleted file mode 100644 index 1ab8187f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestone.g.cs +++ /dev/null @@ -1,130 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// A collection of related issues and pull requests. - /// - public sealed partial class WebhookIssueCommentCreatedIssueMilestone - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? ClosedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("closed_issues")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int ClosedIssues { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("creator")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreator? Creator { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("due_on")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? DueOn { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string LabelsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// The number of the milestone. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("open_issues")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int OpenIssues { get; set; } - - /// - /// The state of the milestone. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueMilestoneStateJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentCreatedIssueMilestoneState State { get; set; } - - /// - /// The title of the milestone. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Title { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestoneCreator.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestoneCreator.g.cs deleted file mode 100644 index 11d54673..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestoneCreator.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentCreatedIssueMilestoneCreator - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueMilestoneCreatorTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreatorType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestoneCreatorType.g.cs deleted file mode 100644 index be9ea10e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestoneCreatorType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssueMilestoneCreatorType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssueMilestoneCreatorTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssueMilestoneCreatorType value) - { - return value switch - { - WebhookIssueCommentCreatedIssueMilestoneCreatorType.Bot => "Bot", - WebhookIssueCommentCreatedIssueMilestoneCreatorType.User => "User", - WebhookIssueCommentCreatedIssueMilestoneCreatorType.Organization => "Organization", - WebhookIssueCommentCreatedIssueMilestoneCreatorType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssueMilestoneCreatorType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentCreatedIssueMilestoneCreatorType.Bot, - "User" => WebhookIssueCommentCreatedIssueMilestoneCreatorType.User, - "Organization" => WebhookIssueCommentCreatedIssueMilestoneCreatorType.Organization, - "Mannequin" => WebhookIssueCommentCreatedIssueMilestoneCreatorType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestoneState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestoneState.g.cs deleted file mode 100644 index 9803e15f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueMilestoneState.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The state of the milestone. - /// - public enum WebhookIssueCommentCreatedIssueMilestoneState - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssueMilestoneStateExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssueMilestoneState value) - { - return value switch - { - WebhookIssueCommentCreatedIssueMilestoneState.Open => "open", - WebhookIssueCommentCreatedIssueMilestoneState.Closed => "closed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssueMilestoneState? ToEnum(string value) - { - return value switch - { - "open" => WebhookIssueCommentCreatedIssueMilestoneState.Open, - "closed" => WebhookIssueCommentCreatedIssueMilestoneState.Closed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubApp.g.cs deleted file mode 100644 index 72437abe..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubApp.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. - /// - public sealed partial class WebhookIssueCommentCreatedIssuePerformedViaGithubApp - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// The list of events for the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("external_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? ExternalUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? Id { get; set; } - - /// - /// The name of the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("owner")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwner? Owner { get; set; } - - /// - /// The set of permissions for the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissions? Permissions { get; set; } - - /// - /// The slug name of the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? UpdatedAt { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 5c1bb0e8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,321 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - Reminder, - /// - /// - /// - PullRequestReviewThread, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Reminder => "reminder", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.PullRequestReviewThread => "pull_request_review_thread", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.WorkflowRun, - "reminder" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.Reminder, - "pull_request_review_thread" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.PullRequestReviewThread, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwner.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwner.g.cs deleted file mode 100644 index 9ffab971..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwner.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwner - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.g.cs deleted file mode 100644 index 0268de19..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.Bot => "Bot", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.User => "User", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.Bot, - "User" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.User, - "Organization" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissions.g.cs deleted file mode 100644 index a3bc3f39..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissions.g.cs +++ /dev/null @@ -1,262 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The set of permissions for the GitHub app - /// - public sealed partial class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissions - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("actions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions? Actions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("administration")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration? Administration { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("checks")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks? Checks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content_references")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences? ContentReferences { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("contents")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents? Contents { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deployments")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments? Deployments { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("discussions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions? Discussions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("emails")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails? Emails { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("environments")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments? Environments { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("issues")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues? Issues { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("keys")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys? Keys { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers? Members { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata? Metadata { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_administration")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? OrganizationAdministration { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_hooks")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks? OrganizationHooks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_packages")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages? OrganizationPackages { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_plan")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan? OrganizationPlan { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_projects")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects? OrganizationProjects { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_secrets")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? OrganizationSecrets { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_self_hosted_runners")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? OrganizationSelfHostedRunners { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_user_blocking")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? OrganizationUserBlocking { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("packages")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages? Packages { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pages")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages? Pages { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests? PullRequests { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_hooks")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks? RepositoryHooks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_projects")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects? RepositoryProjects { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_alerts")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? SecretScanningAlerts { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("secrets")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets? Secrets { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("security_events")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents? SecurityEvents { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("security_scanning_alert")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? SecurityScanningAlert { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("single_file")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile? SingleFile { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("statuses")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses? Statuses { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("team_discussions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions? TeamDiscussions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerability_alerts")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? VulnerabilityAlerts { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("workflows")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows? Workflows { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions.g.cs deleted file mode 100644 index 528481a5..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration.g.cs deleted file mode 100644 index 78ead15d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks.g.cs deleted file mode 100644 index 993a3690..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs deleted file mode 100644 index 473ae940..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents.g.cs deleted file mode 100644 index 1c0ee5f7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments.g.cs deleted file mode 100644 index c5a99f7f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs deleted file mode 100644 index f445d304..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails.g.cs deleted file mode 100644 index b88c7d8a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs deleted file mode 100644 index db4fc2b4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues.g.cs deleted file mode 100644 index 543106fe..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys.g.cs deleted file mode 100644 index 8216fb9e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers.g.cs deleted file mode 100644 index 8af223e2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata.g.cs deleted file mode 100644 index 9f03c172..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs deleted file mode 100644 index a5672efb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs deleted file mode 100644 index 8bfc1309..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs deleted file mode 100644 index db825c46..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs deleted file mode 100644 index 6b51abd2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs deleted file mode 100644 index 5976b566..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects - { - /// - /// - /// - Read, - /// - /// - /// - Write, - /// - /// - /// - Admin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Write => "write", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Admin => "admin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Write, - "admin" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Admin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs deleted file mode 100644 index 0bf6dd5e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs deleted file mode 100644 index e3e9db74..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs deleted file mode 100644 index c4dab5b8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages.g.cs deleted file mode 100644 index 77dfa7a1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages.g.cs deleted file mode 100644 index c1808b54..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs deleted file mode 100644 index 12baf8ba..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs deleted file mode 100644 index 46321fbf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs deleted file mode 100644 index 8b3085c8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects - { - /// - /// - /// - Read, - /// - /// - /// - Write, - /// - /// - /// - Admin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Write => "write", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Admin => "admin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Write, - "admin" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Admin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs deleted file mode 100644 index efaea639..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets.g.cs deleted file mode 100644 index 1bf00b09..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs deleted file mode 100644 index 1f03c6f6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs deleted file mode 100644 index 19f6449a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs deleted file mode 100644 index 8859b562..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses.g.cs deleted file mode 100644 index 7b3f8a6a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs deleted file mode 100644 index 0423e518..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs deleted file mode 100644 index e2d73ce6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs deleted file mode 100644 index 5b925246..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows value) - { - return value switch - { - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows.Read => "read", - WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows.Read, - "write" => WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePullRequest.g.cs deleted file mode 100644 index 86b98d77..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssuePullRequest.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentCreatedIssuePullRequest - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("diff_url")] - public string? DiffUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("merged_at")] - public global::System.DateTime? MergedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("patch_url")] - public string? PatchUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueReactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueReactions.g.cs deleted file mode 100644 index 72675a03..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueReactions.g.cs +++ /dev/null @@ -1,87 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentCreatedIssueReactions - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("+1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Plus1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("-1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Minus1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("confused")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Confused { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Eyes { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("heart")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Heart { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Hooray { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Laugh { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Rocket { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int TotalCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueState.g.cs deleted file mode 100644 index dd83e907..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueState.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// State of the issue; either 'open' or 'closed' - /// - public enum WebhookIssueCommentCreatedIssueState - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssueStateExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssueState value) - { - return value switch - { - WebhookIssueCommentCreatedIssueState.Open => "open", - WebhookIssueCommentCreatedIssueState.Closed => "closed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssueState? ToEnum(string value) - { - return value switch - { - "open" => WebhookIssueCommentCreatedIssueState.Open, - "closed" => WebhookIssueCommentCreatedIssueState.Closed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueUser.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueUser.g.cs deleted file mode 100644 index 3fe0ece6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueUser.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentCreatedIssueUser - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueUserTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentCreatedIssueUserType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueUserType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueUserType.g.cs deleted file mode 100644 index 27a1dce7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueUserType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentCreatedIssueUserType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentCreatedIssueUserTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentCreatedIssueUserType value) - { - return value switch - { - WebhookIssueCommentCreatedIssueUserType.Bot => "Bot", - WebhookIssueCommentCreatedIssueUserType.User => "User", - WebhookIssueCommentCreatedIssueUserType.Organization => "Organization", - WebhookIssueCommentCreatedIssueUserType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentCreatedIssueUserType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentCreatedIssueUserType.Bot, - "User" => WebhookIssueCommentCreatedIssueUserType.User, - "Organization" => WebhookIssueCommentCreatedIssueUserType.Organization, - "Mannequin" => WebhookIssueCommentCreatedIssueUserType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1.g.cs new file mode 100644 index 00000000..50b2ef4d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1.g.cs @@ -0,0 +1,221 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("active_lock_reason")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason? ActiveLockReason { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1Assignee? Assignee { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Assignees { get; set; } + + /// + /// How the author is associated with the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1AuthorAssociationJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation AuthorAssociation { get; set; } + + /// + /// Contents of the issue + /// + [global::System.Text.Json.Serialization.JsonPropertyName("body")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Body { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? ClosedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Comments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CommentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("draft")] + public bool Draft { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels")] + public global::System.Collections.Generic.IList? Labels { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked")] + public bool Locked { get; set; } + + /// + /// A collection of related issues and pull requests. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("milestone")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentCreatedIssueVariant1Milestone? Milestone { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("performed_via_github_app")] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubApp? PerformedViaGithubApp { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PullRequest? PullRequest { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentCreatedIssueVariant1Reactions Reactions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoryUrl { get; set; } + + /// + /// State of the issue; either 'open' or 'closed' + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1StateJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1State? State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state_reason")] + public string? StateReason { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("timeline_url")] + public string? TimelineUrl { get; set; } + + /// + /// Title of the issue + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// URL for the issue + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentCreatedIssueVariant1User? User { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.g.cs new file mode 100644 index 00000000..02c00856 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1ActiveLockReason + { + /// + /// + /// + Resolved, + /// + /// + /// + OffTopic, + /// + /// + /// + TooHeated, + /// + /// + /// + Spam, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1ActiveLockReason value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.Resolved => "resolved", + WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.OffTopic => "off-topic", + WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.TooHeated => "too heated", + WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.Spam => "spam", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1ActiveLockReason? ToEnum(string value) + { + return value switch + { + "resolved" => WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.Resolved, + "off-topic" => WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.OffTopic, + "too heated" => WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.TooHeated, + "spam" => WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.Spam, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Assignee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Assignee.g.cs new file mode 100644 index 00000000..c004598e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Assignee.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant1Assignee + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Assignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Assignee2.g.cs new file mode 100644 index 00000000..1a067348 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Assignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant1Assignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType2JsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1AssigneeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1AssigneeType.g.cs new file mode 100644 index 00000000..39993691 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1AssigneeType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1AssigneeType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1AssigneeTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1AssigneeType value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1AssigneeType.Bot => "Bot", + WebhookIssueCommentCreatedIssueVariant1AssigneeType.User => "User", + WebhookIssueCommentCreatedIssueVariant1AssigneeType.Organization => "Organization", + WebhookIssueCommentCreatedIssueVariant1AssigneeType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1AssigneeType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentCreatedIssueVariant1AssigneeType.Bot, + "User" => WebhookIssueCommentCreatedIssueVariant1AssigneeType.User, + "Organization" => WebhookIssueCommentCreatedIssueVariant1AssigneeType.Organization, + "Mannequin" => WebhookIssueCommentCreatedIssueVariant1AssigneeType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1AssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1AssigneeType2.g.cs new file mode 100644 index 00000000..1873f785 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1AssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1AssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1AssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1AssigneeType2 value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1AssigneeType2.Bot => "Bot", + WebhookIssueCommentCreatedIssueVariant1AssigneeType2.User => "User", + WebhookIssueCommentCreatedIssueVariant1AssigneeType2.Organization => "Organization", + WebhookIssueCommentCreatedIssueVariant1AssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1AssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentCreatedIssueVariant1AssigneeType2.Bot, + "User" => WebhookIssueCommentCreatedIssueVariant1AssigneeType2.User, + "Organization" => WebhookIssueCommentCreatedIssueVariant1AssigneeType2.Organization, + "Mannequin" => WebhookIssueCommentCreatedIssueVariant1AssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.g.cs new file mode 100644 index 00000000..aa32c95c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// How the author is associated with the repository. + /// + public enum WebhookIssueCommentCreatedIssueVariant1AuthorAssociation + { + /// + /// + /// + COLLABORATOR, + /// + /// + /// + CONTRIBUTOR, + /// + /// + /// + FIRSTTIMER, + /// + /// + /// + FIRSTTIMECONTRIBUTOR, + /// + /// + /// + MANNEQUIN, + /// + /// + /// + MEMBER, + /// + /// + /// + NONE, + /// + /// + /// + OWNER, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1AuthorAssociationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1AuthorAssociation value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.COLLABORATOR => "COLLABORATOR", + WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.CONTRIBUTOR => "CONTRIBUTOR", + WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.FIRSTTIMER => "FIRST_TIMER", + WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.FIRSTTIMECONTRIBUTOR => "FIRST_TIME_CONTRIBUTOR", + WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.MANNEQUIN => "MANNEQUIN", + WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.MEMBER => "MEMBER", + WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.NONE => "NONE", + WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.OWNER => "OWNER", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1AuthorAssociation? ToEnum(string value) + { + return value switch + { + "COLLABORATOR" => WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.COLLABORATOR, + "CONTRIBUTOR" => WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.CONTRIBUTOR, + "FIRST_TIMER" => WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.FIRSTTIMER, + "FIRST_TIME_CONTRIBUTOR" => WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.FIRSTTIMECONTRIBUTOR, + "MANNEQUIN" => WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.MANNEQUIN, + "MEMBER" => WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.MEMBER, + "NONE" => WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.NONE, + "OWNER" => WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.OWNER, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Label.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Label.g.cs new file mode 100644 index 00000000..5a28daa2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Label.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant1Label + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Milestone.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Milestone.g.cs new file mode 100644 index 00000000..983066ec --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Milestone.g.cs @@ -0,0 +1,130 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// A collection of related issues and pull requests. + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant1Milestone + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? ClosedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_issues")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ClosedIssues { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("creator")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreator? Creator { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("due_on")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? DueOn { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// The number of the milestone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("open_issues")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int OpenIssues { get; set; } + + /// + /// The state of the milestone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneStateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneState State { get; set; } + + /// + /// The title of the milestone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1MilestoneCreator.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1MilestoneCreator.g.cs new file mode 100644 index 00000000..1d080352 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1MilestoneCreator.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant1MilestoneCreator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.g.cs new file mode 100644 index 00000000..95bce98a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.Bot => "Bot", + WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.User => "User", + WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.Organization => "Organization", + WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.Bot, + "User" => WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.User, + "Organization" => WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.Organization, + "Mannequin" => WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1MilestoneState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1MilestoneState.g.cs new file mode 100644 index 00000000..08b828f6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1MilestoneState.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The state of the milestone. + /// + public enum WebhookIssueCommentCreatedIssueVariant1MilestoneState + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1MilestoneStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1MilestoneState value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1MilestoneState.Open => "open", + WebhookIssueCommentCreatedIssueVariant1MilestoneState.Closed => "closed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1MilestoneState? ToEnum(string value) + { + return value switch + { + "open" => WebhookIssueCommentCreatedIssueVariant1MilestoneState.Open, + "closed" => WebhookIssueCommentCreatedIssueVariant1MilestoneState.Closed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubApp.g.cs new file mode 100644 index 00000000..00d15c72 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubApp.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubApp + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// The list of events for the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events")] + public global::System.Collections.Generic.IList? Events { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("external_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? ExternalUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? Id { get; set; } + + /// + /// The name of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("owner")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwner? Owner { get; set; } + + /// + /// The set of permissions for the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissions? Permissions { get; set; } + + /// + /// The slug name of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..51ebb8fe --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.g.cs @@ -0,0 +1,321 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + Reminder, + /// + /// + /// + PullRequestReviewThread, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Create => "create", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Delete => "delete", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Fork => "fork", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Issues => "issues", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Label => "label", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Member => "member", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Membership => "membership", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Organization => "organization", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Project => "project", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Public => "public", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Push => "push", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Release => "release", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Repository => "repository", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Star => "star", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Status => "status", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Team => "team", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Watch => "watch", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Reminder => "reminder", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewThread => "pull_request_review_thread", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Create, + "delete" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Label, + "member" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Member, + "membership" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Release, + "repository" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Star, + "status" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Status, + "team" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.WorkflowRun, + "reminder" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.Reminder, + "pull_request_review_thread" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewThread, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwner.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwner.g.cs new file mode 100644 index 00000000..7b1c9777 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwner.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwner + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.g.cs new file mode 100644 index 00000000..6b5de4f0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.Bot => "Bot", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.User => "User", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.Bot, + "User" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.User, + "Organization" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissions.g.cs new file mode 100644 index 00000000..3a890ba1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissions.g.cs @@ -0,0 +1,262 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The set of permissions for the GitHub app + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("actions")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions? Actions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("administration")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Administration { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("checks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks? Checks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content_references")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? ContentReferences { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contents")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents? Contents { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deployments")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Deployments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("discussions")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Discussions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("emails")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails? Emails { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("environments")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Environments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("issues")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues? Issues { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("keys")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys? Keys { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers? Members { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Metadata { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_administration")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? OrganizationAdministration { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_hooks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? OrganizationHooks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_packages")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? OrganizationPackages { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_plan")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? OrganizationPlan { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_projects")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? OrganizationProjects { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_secrets")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? OrganizationSecrets { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_self_hosted_runners")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? OrganizationSelfHostedRunners { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_user_blocking")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? OrganizationUserBlocking { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("packages")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages? Packages { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pages")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages? Pages { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? PullRequests { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_hooks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? RepositoryHooks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_projects")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? RepositoryProjects { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_alerts")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? SecretScanningAlerts { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secrets")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Secrets { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("security_events")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? SecurityEvents { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("security_scanning_alert")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? SecurityScanningAlert { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("single_file")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? SingleFile { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("statuses")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Statuses { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("team_discussions")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? TeamDiscussions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vulnerability_alerts")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? VulnerabilityAlerts { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("workflows")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Workflows { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs new file mode 100644 index 00000000..4421b92b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs new file mode 100644 index 00000000..249fbcd2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs new file mode 100644 index 00000000..a5a667d7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs new file mode 100644 index 00000000..a0107345 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs new file mode 100644 index 00000000..e0a88da5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs new file mode 100644 index 00000000..338c4248 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs new file mode 100644 index 00000000..926d6121 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs new file mode 100644 index 00000000..e4fbd491 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs new file mode 100644 index 00000000..fe57fb70 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs new file mode 100644 index 00000000..14b61aad --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs new file mode 100644 index 00000000..18d2286c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs new file mode 100644 index 00000000..ade842e6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs new file mode 100644 index 00000000..36c04ab2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs new file mode 100644 index 00000000..c628dac2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs new file mode 100644 index 00000000..40760f66 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs new file mode 100644 index 00000000..2b3872f3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs new file mode 100644 index 00000000..1d5433e9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs new file mode 100644 index 00000000..7d0cc394 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects + { + /// + /// + /// + Read, + /// + /// + /// + Write, + /// + /// + /// + Admin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Write => "write", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Admin => "admin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Write, + "admin" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Admin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs new file mode 100644 index 00000000..f328229e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs new file mode 100644 index 00000000..ba99b7d5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs new file mode 100644 index 00000000..88b3ad79 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs new file mode 100644 index 00000000..250cb1d7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs new file mode 100644 index 00000000..7528f644 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs new file mode 100644 index 00000000..e2b83ef5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs new file mode 100644 index 00000000..aa29d70e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs new file mode 100644 index 00000000..f81d50ed --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects + { + /// + /// + /// + Read, + /// + /// + /// + Write, + /// + /// + /// + Admin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Write => "write", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Admin => "admin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Write, + "admin" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Admin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs new file mode 100644 index 00000000..c7fd809d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs new file mode 100644 index 00000000..db823fb7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs new file mode 100644 index 00000000..2ca39993 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs new file mode 100644 index 00000000..2e8af93b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs new file mode 100644 index 00000000..60aed086 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs new file mode 100644 index 00000000..74d9bc3f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs new file mode 100644 index 00000000..c611ed9c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs new file mode 100644 index 00000000..ee0e099d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs new file mode 100644 index 00000000..a3805520 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Read => "read", + WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Read, + "write" => WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PullRequest.g.cs new file mode 100644 index 00000000..1017a766 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1PullRequest.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant1PullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("diff_url")] + public string? DiffUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("merged_at")] + public global::System.DateTime? MergedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("patch_url")] + public string? PatchUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Reactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Reactions.g.cs new file mode 100644 index 00000000..df056761 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1Reactions.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant1Reactions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("+1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Plus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("-1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Minus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("confused")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Confused { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Eyes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("heart")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Heart { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Hooray { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Laugh { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Rocket { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int TotalCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1State.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1State.g.cs new file mode 100644 index 00000000..0c61b1fc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1State.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// State of the issue; either 'open' or 'closed' + /// + public enum WebhookIssueCommentCreatedIssueVariant1State + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1StateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1State value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1State.Open => "open", + WebhookIssueCommentCreatedIssueVariant1State.Closed => "closed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1State? ToEnum(string value) + { + return value switch + { + "open" => WebhookIssueCommentCreatedIssueVariant1State.Open, + "closed" => WebhookIssueCommentCreatedIssueVariant1State.Closed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1User.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1User.g.cs new file mode 100644 index 00000000..56152ff7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1User.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant1User + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1UserTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1UserType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1UserType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1UserType.g.cs new file mode 100644 index 00000000..243d9c6a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant1UserType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant1UserType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant1UserTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant1UserType value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant1UserType.Bot => "Bot", + WebhookIssueCommentCreatedIssueVariant1UserType.User => "User", + WebhookIssueCommentCreatedIssueVariant1UserType.Organization => "Organization", + WebhookIssueCommentCreatedIssueVariant1UserType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant1UserType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentCreatedIssueVariant1UserType.Bot, + "User" => WebhookIssueCommentCreatedIssueVariant1UserType.User, + "Organization" => WebhookIssueCommentCreatedIssueVariant1UserType.Organization, + "Mannequin" => WebhookIssueCommentCreatedIssueVariant1UserType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2.g.cs new file mode 100644 index 00000000..c65dd8cd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2.g.cs @@ -0,0 +1,184 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("active_lock_reason")] + public string? ActiveLockReason { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentCreatedIssueVariant2Assignee? Assignee { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] + public global::System.Collections.Generic.IList? Assignees { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] + public string? AuthorAssociation { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("body")] + public string? Body { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] + public string? ClosedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments")] + public int Comments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] + public string? CommentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public string? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Labels { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + public string? LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Locked { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("milestone")] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2Milestone? Milestone { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + public int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("performed_via_github_app")] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2PerformedViaGithubApp? PerformedViaGithubApp { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2Reactions? Reactions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_url")] + public string? RepositoryUrl { get; set; } + + /// + /// State of the issue; either 'open' or 'closed' + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant2StateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentCreatedIssueVariant2State State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("timeline_url")] + public string? TimelineUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public string? UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2User? User { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Assignee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Assignee.g.cs new file mode 100644 index 00000000..7fb2c52e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Assignee.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant2Assignee + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant2AssigneeTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2AssigneeType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Assignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Assignee2.g.cs new file mode 100644 index 00000000..ffb2b0bc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Assignee2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant2Assignee2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2AssigneeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2AssigneeType.g.cs new file mode 100644 index 00000000..bfe92919 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2AssigneeType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentCreatedIssueVariant2AssigneeType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant2AssigneeTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant2AssigneeType value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant2AssigneeType.Bot => "Bot", + WebhookIssueCommentCreatedIssueVariant2AssigneeType.User => "User", + WebhookIssueCommentCreatedIssueVariant2AssigneeType.Organization => "Organization", + WebhookIssueCommentCreatedIssueVariant2AssigneeType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant2AssigneeType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentCreatedIssueVariant2AssigneeType.Bot, + "User" => WebhookIssueCommentCreatedIssueVariant2AssigneeType.User, + "Organization" => WebhookIssueCommentCreatedIssueVariant2AssigneeType.Organization, + "Mannequin" => WebhookIssueCommentCreatedIssueVariant2AssigneeType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Label.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Label.g.cs new file mode 100644 index 00000000..f251ed5b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Label.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant2Label + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Milestone.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Milestone.g.cs new file mode 100644 index 00000000..2144056f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Milestone.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant2Milestone + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2PerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2PerformedViaGithubApp.g.cs new file mode 100644 index 00000000..2c76bdea --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2PerformedViaGithubApp.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant2PerformedViaGithubApp + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Reactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Reactions.g.cs new file mode 100644 index 00000000..89e76890 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2Reactions.g.cs @@ -0,0 +1,77 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant2Reactions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("+1")] + public int Plus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("-1")] + public int Minus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("confused")] + public int Confused { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] + public int Eyes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("heart")] + public int Heart { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] + public int Hooray { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] + public int Laugh { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] + public int Rocket { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] + public int TotalCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2State.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2State.g.cs new file mode 100644 index 00000000..0b5d57e8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2State.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// State of the issue; either 'open' or 'closed' + /// + public enum WebhookIssueCommentCreatedIssueVariant2State + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentCreatedIssueVariant2StateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentCreatedIssueVariant2State value) + { + return value switch + { + WebhookIssueCommentCreatedIssueVariant2State.Open => "open", + WebhookIssueCommentCreatedIssueVariant2State.Closed => "closed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentCreatedIssueVariant2State? ToEnum(string value) + { + return value switch + { + "open" => WebhookIssueCommentCreatedIssueVariant2State.Open, + "closed" => WebhookIssueCommentCreatedIssueVariant2State.Closed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2User.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2User.g.cs new file mode 100644 index 00000000..0d039d92 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentCreatedIssueVariant2User.g.cs @@ -0,0 +1,125 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentCreatedIssueVariant2User + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + public string? Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeleted.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeleted.g.cs index ef7c95ef..110509d6 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeleted.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeleted.g.cs @@ -47,7 +47,7 @@ public sealed partial class WebhookIssueCommentDeleted [global::System.Text.Json.Serialization.JsonPropertyName("issue")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf Issue { get; set; } + public required global::System.AllOf Issue { get; set; } /// /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssue.g.cs deleted file mode 100644 index a97c4ef3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssue.g.cs +++ /dev/null @@ -1,221 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. - /// - public sealed partial class WebhookIssueCommentDeletedIssue - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("active_lock_reason")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueActiveLockReasonJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentDeletedIssueActiveLockReason? ActiveLockReason { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] - public global::GitHub.WebhookIssueCommentDeletedIssueAssignee? Assignee { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } - - /// - /// How the author is associated with the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueAuthorAssociationJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentDeletedIssueAuthorAssociation AuthorAssociation { get; set; } - - /// - /// Contents of the issue - /// - [global::System.Text.Json.Serialization.JsonPropertyName("body")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Body { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? ClosedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("comments")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Comments { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CommentsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("draft")] - public bool Draft { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string LabelsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("locked")] - public bool Locked { get; set; } - - /// - /// A collection of related issues and pull requests. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("milestone")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentDeletedIssueMilestone? Milestone { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("performed_via_github_app")] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubApp? PerformedViaGithubApp { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] - public global::GitHub.WebhookIssueCommentDeletedIssuePullRequest? PullRequest { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentDeletedIssueReactions Reactions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoryUrl { get; set; } - - /// - /// State of the issue; either 'open' or 'closed' - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueStateJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssueState? State { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state_reason")] - public string? StateReason { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("timeline_url")] - public string? TimelineUrl { get; set; } - - /// - /// Title of the issue - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Title { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// URL for the issue - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("user")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentDeletedIssueUser? User { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueActiveLockReason.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueActiveLockReason.g.cs deleted file mode 100644 index 285a8999..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueActiveLockReason.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssueActiveLockReason - { - /// - /// - /// - Resolved, - /// - /// - /// - OffTopic, - /// - /// - /// - TooHeated, - /// - /// - /// - Spam, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssueActiveLockReasonExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssueActiveLockReason value) - { - return value switch - { - WebhookIssueCommentDeletedIssueActiveLockReason.Resolved => "resolved", - WebhookIssueCommentDeletedIssueActiveLockReason.OffTopic => "off-topic", - WebhookIssueCommentDeletedIssueActiveLockReason.TooHeated => "too heated", - WebhookIssueCommentDeletedIssueActiveLockReason.Spam => "spam", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssueActiveLockReason? ToEnum(string value) - { - return value switch - { - "resolved" => WebhookIssueCommentDeletedIssueActiveLockReason.Resolved, - "off-topic" => WebhookIssueCommentDeletedIssueActiveLockReason.OffTopic, - "too heated" => WebhookIssueCommentDeletedIssueActiveLockReason.TooHeated, - "spam" => WebhookIssueCommentDeletedIssueActiveLockReason.Spam, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssignee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssignee.g.cs deleted file mode 100644 index 80dc11de..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssignee.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentDeletedIssueAssignee - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueAssigneeTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssueAssigneeType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssigneeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssigneeType.g.cs deleted file mode 100644 index 1772f207..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssigneeType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssueAssigneeType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssueAssigneeTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssueAssigneeType value) - { - return value switch - { - WebhookIssueCommentDeletedIssueAssigneeType.Bot => "Bot", - WebhookIssueCommentDeletedIssueAssigneeType.User => "User", - WebhookIssueCommentDeletedIssueAssigneeType.Organization => "Organization", - WebhookIssueCommentDeletedIssueAssigneeType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssueAssigneeType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentDeletedIssueAssigneeType.Bot, - "User" => WebhookIssueCommentDeletedIssueAssigneeType.User, - "Organization" => WebhookIssueCommentDeletedIssueAssigneeType.Organization, - "Mannequin" => WebhookIssueCommentDeletedIssueAssigneeType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssignees.g.cs deleted file mode 100644 index c420f345..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentDeletedIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssigneesType.g.cs deleted file mode 100644 index c87b709b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssueAssigneesType value) - { - return value switch - { - WebhookIssueCommentDeletedIssueAssigneesType.Bot => "Bot", - WebhookIssueCommentDeletedIssueAssigneesType.User => "User", - WebhookIssueCommentDeletedIssueAssigneesType.Organization => "Organization", - WebhookIssueCommentDeletedIssueAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentDeletedIssueAssigneesType.Bot, - "User" => WebhookIssueCommentDeletedIssueAssigneesType.User, - "Organization" => WebhookIssueCommentDeletedIssueAssigneesType.Organization, - "Mannequin" => WebhookIssueCommentDeletedIssueAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAuthorAssociation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAuthorAssociation.g.cs deleted file mode 100644 index 5166a1e7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueAuthorAssociation.g.cs +++ /dev/null @@ -1,87 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// How the author is associated with the repository. - /// - public enum WebhookIssueCommentDeletedIssueAuthorAssociation - { - /// - /// - /// - COLLABORATOR, - /// - /// - /// - CONTRIBUTOR, - /// - /// - /// - FIRSTTIMER, - /// - /// - /// - FIRSTTIMECONTRIBUTOR, - /// - /// - /// - MANNEQUIN, - /// - /// - /// - MEMBER, - /// - /// - /// - NONE, - /// - /// - /// - OWNER, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssueAuthorAssociationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssueAuthorAssociation value) - { - return value switch - { - WebhookIssueCommentDeletedIssueAuthorAssociation.COLLABORATOR => "COLLABORATOR", - WebhookIssueCommentDeletedIssueAuthorAssociation.CONTRIBUTOR => "CONTRIBUTOR", - WebhookIssueCommentDeletedIssueAuthorAssociation.FIRSTTIMER => "FIRST_TIMER", - WebhookIssueCommentDeletedIssueAuthorAssociation.FIRSTTIMECONTRIBUTOR => "FIRST_TIME_CONTRIBUTOR", - WebhookIssueCommentDeletedIssueAuthorAssociation.MANNEQUIN => "MANNEQUIN", - WebhookIssueCommentDeletedIssueAuthorAssociation.MEMBER => "MEMBER", - WebhookIssueCommentDeletedIssueAuthorAssociation.NONE => "NONE", - WebhookIssueCommentDeletedIssueAuthorAssociation.OWNER => "OWNER", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssueAuthorAssociation? ToEnum(string value) - { - return value switch - { - "COLLABORATOR" => WebhookIssueCommentDeletedIssueAuthorAssociation.COLLABORATOR, - "CONTRIBUTOR" => WebhookIssueCommentDeletedIssueAuthorAssociation.CONTRIBUTOR, - "FIRST_TIMER" => WebhookIssueCommentDeletedIssueAuthorAssociation.FIRSTTIMER, - "FIRST_TIME_CONTRIBUTOR" => WebhookIssueCommentDeletedIssueAuthorAssociation.FIRSTTIMECONTRIBUTOR, - "MANNEQUIN" => WebhookIssueCommentDeletedIssueAuthorAssociation.MANNEQUIN, - "MEMBER" => WebhookIssueCommentDeletedIssueAuthorAssociation.MEMBER, - "NONE" => WebhookIssueCommentDeletedIssueAuthorAssociation.NONE, - "OWNER" => WebhookIssueCommentDeletedIssueAuthorAssociation.OWNER, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueLabels.g.cs deleted file mode 100644 index 65f353ec..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentDeletedIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestone.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestone.g.cs deleted file mode 100644 index 1d6a74bf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestone.g.cs +++ /dev/null @@ -1,130 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// A collection of related issues and pull requests. - /// - public sealed partial class WebhookIssueCommentDeletedIssueMilestone - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? ClosedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("closed_issues")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int ClosedIssues { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("creator")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreator? Creator { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("due_on")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? DueOn { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string LabelsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// The number of the milestone. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("open_issues")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int OpenIssues { get; set; } - - /// - /// The state of the milestone. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueMilestoneStateJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentDeletedIssueMilestoneState State { get; set; } - - /// - /// The title of the milestone. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Title { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestoneCreator.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestoneCreator.g.cs deleted file mode 100644 index 23b53d74..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestoneCreator.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentDeletedIssueMilestoneCreator - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueMilestoneCreatorTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreatorType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestoneCreatorType.g.cs deleted file mode 100644 index 1142bcd1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestoneCreatorType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssueMilestoneCreatorType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssueMilestoneCreatorTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssueMilestoneCreatorType value) - { - return value switch - { - WebhookIssueCommentDeletedIssueMilestoneCreatorType.Bot => "Bot", - WebhookIssueCommentDeletedIssueMilestoneCreatorType.User => "User", - WebhookIssueCommentDeletedIssueMilestoneCreatorType.Organization => "Organization", - WebhookIssueCommentDeletedIssueMilestoneCreatorType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssueMilestoneCreatorType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentDeletedIssueMilestoneCreatorType.Bot, - "User" => WebhookIssueCommentDeletedIssueMilestoneCreatorType.User, - "Organization" => WebhookIssueCommentDeletedIssueMilestoneCreatorType.Organization, - "Mannequin" => WebhookIssueCommentDeletedIssueMilestoneCreatorType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestoneState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestoneState.g.cs deleted file mode 100644 index 3e68cd8c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueMilestoneState.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The state of the milestone. - /// - public enum WebhookIssueCommentDeletedIssueMilestoneState - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssueMilestoneStateExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssueMilestoneState value) - { - return value switch - { - WebhookIssueCommentDeletedIssueMilestoneState.Open => "open", - WebhookIssueCommentDeletedIssueMilestoneState.Closed => "closed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssueMilestoneState? ToEnum(string value) - { - return value switch - { - "open" => WebhookIssueCommentDeletedIssueMilestoneState.Open, - "closed" => WebhookIssueCommentDeletedIssueMilestoneState.Closed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubApp.g.cs deleted file mode 100644 index 23ebb0e8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubApp.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. - /// - public sealed partial class WebhookIssueCommentDeletedIssuePerformedViaGithubApp - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// The list of events for the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("external_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? ExternalUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? Id { get; set; } - - /// - /// The name of the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("owner")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwner? Owner { get; set; } - - /// - /// The set of permissions for the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissions? Permissions { get; set; } - - /// - /// The slug name of the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? UpdatedAt { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 2f255171..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,309 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.WorkflowRun, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwner.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwner.g.cs deleted file mode 100644 index 1bb2478a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwner.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwner - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.g.cs deleted file mode 100644 index 83892ba3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.Bot => "Bot", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.User => "User", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.Bot, - "User" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.User, - "Organization" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissions.g.cs deleted file mode 100644 index 715de7c2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissions.g.cs +++ /dev/null @@ -1,262 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The set of permissions for the GitHub app - /// - public sealed partial class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissions - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("actions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions? Actions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("administration")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration? Administration { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("checks")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks? Checks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content_references")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences? ContentReferences { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("contents")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents? Contents { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deployments")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments? Deployments { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("discussions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions? Discussions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("emails")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails? Emails { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("environments")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments? Environments { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("issues")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues? Issues { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("keys")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys? Keys { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers? Members { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata? Metadata { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_administration")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? OrganizationAdministration { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_hooks")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks? OrganizationHooks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_packages")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages? OrganizationPackages { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_plan")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan? OrganizationPlan { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_projects")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects? OrganizationProjects { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_secrets")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? OrganizationSecrets { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_self_hosted_runners")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? OrganizationSelfHostedRunners { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_user_blocking")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? OrganizationUserBlocking { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("packages")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages? Packages { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pages")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages? Pages { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests? PullRequests { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_hooks")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks? RepositoryHooks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_projects")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects? RepositoryProjects { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_alerts")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? SecretScanningAlerts { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("secrets")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets? Secrets { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("security_events")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents? SecurityEvents { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("security_scanning_alert")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? SecurityScanningAlert { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("single_file")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile? SingleFile { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("statuses")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses? Statuses { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("team_discussions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions? TeamDiscussions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerability_alerts")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? VulnerabilityAlerts { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("workflows")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows? Workflows { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions.g.cs deleted file mode 100644 index 56e0c9d4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration.g.cs deleted file mode 100644 index 75261d0b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks.g.cs deleted file mode 100644 index fd2cc40a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs deleted file mode 100644 index c77990c4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents.g.cs deleted file mode 100644 index 1b83dac4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments.g.cs deleted file mode 100644 index 8e740979..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs deleted file mode 100644 index 6c20b1ef..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails.g.cs deleted file mode 100644 index e48e8eb4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs deleted file mode 100644 index f6460c09..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues.g.cs deleted file mode 100644 index 21fa96cc..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys.g.cs deleted file mode 100644 index f9c0cbd8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers.g.cs deleted file mode 100644 index ba7deea3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata.g.cs deleted file mode 100644 index 38c5b183..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs deleted file mode 100644 index 5ed05614..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs deleted file mode 100644 index d46f88ec..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs deleted file mode 100644 index 47ddb32c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs deleted file mode 100644 index 0a15d853..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs deleted file mode 100644 index b797da6f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs deleted file mode 100644 index f177e649..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs deleted file mode 100644 index 3d604d18..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs deleted file mode 100644 index 64f44089..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages.g.cs deleted file mode 100644 index d7c840db..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages.g.cs deleted file mode 100644 index 7eb65810..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs deleted file mode 100644 index 97f1cf7d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs deleted file mode 100644 index 436aba12..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs deleted file mode 100644 index f70a2f2e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs deleted file mode 100644 index aa4fdb58..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets.g.cs deleted file mode 100644 index 74dac0b6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs deleted file mode 100644 index 84c771d2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs deleted file mode 100644 index 5def8310..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs deleted file mode 100644 index 92747f36..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses.g.cs deleted file mode 100644 index de6bdac8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs deleted file mode 100644 index 630671c4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs deleted file mode 100644 index 6520d997..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs deleted file mode 100644 index adb4f9ab..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows value) - { - return value switch - { - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows.Read => "read", - WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows.Read, - "write" => WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePullRequest.g.cs deleted file mode 100644 index fd0e8efe..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssuePullRequest.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentDeletedIssuePullRequest - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("diff_url")] - public string? DiffUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("merged_at")] - public global::System.DateTime? MergedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("patch_url")] - public string? PatchUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueReactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueReactions.g.cs deleted file mode 100644 index 651a420c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueReactions.g.cs +++ /dev/null @@ -1,87 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentDeletedIssueReactions - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("+1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Plus1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("-1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Minus1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("confused")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Confused { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Eyes { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("heart")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Heart { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Hooray { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Laugh { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Rocket { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int TotalCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueState.g.cs deleted file mode 100644 index 68b4ab8e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueState.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// State of the issue; either 'open' or 'closed' - /// - public enum WebhookIssueCommentDeletedIssueState - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssueStateExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssueState value) - { - return value switch - { - WebhookIssueCommentDeletedIssueState.Open => "open", - WebhookIssueCommentDeletedIssueState.Closed => "closed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssueState? ToEnum(string value) - { - return value switch - { - "open" => WebhookIssueCommentDeletedIssueState.Open, - "closed" => WebhookIssueCommentDeletedIssueState.Closed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueUser.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueUser.g.cs deleted file mode 100644 index bf591095..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueUser.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentDeletedIssueUser - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueUserTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentDeletedIssueUserType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueUserType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueUserType.g.cs deleted file mode 100644 index f14f0564..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueUserType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentDeletedIssueUserType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentDeletedIssueUserTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentDeletedIssueUserType value) - { - return value switch - { - WebhookIssueCommentDeletedIssueUserType.Bot => "Bot", - WebhookIssueCommentDeletedIssueUserType.User => "User", - WebhookIssueCommentDeletedIssueUserType.Organization => "Organization", - WebhookIssueCommentDeletedIssueUserType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentDeletedIssueUserType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentDeletedIssueUserType.Bot, - "User" => WebhookIssueCommentDeletedIssueUserType.User, - "Organization" => WebhookIssueCommentDeletedIssueUserType.Organization, - "Mannequin" => WebhookIssueCommentDeletedIssueUserType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1.g.cs new file mode 100644 index 00000000..398b7055 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1.g.cs @@ -0,0 +1,221 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("active_lock_reason")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason? ActiveLockReason { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1Assignee? Assignee { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Assignees { get; set; } + + /// + /// How the author is associated with the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1AuthorAssociationJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation AuthorAssociation { get; set; } + + /// + /// Contents of the issue + /// + [global::System.Text.Json.Serialization.JsonPropertyName("body")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Body { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? ClosedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Comments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CommentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("draft")] + public bool Draft { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels")] + public global::System.Collections.Generic.IList? Labels { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked")] + public bool Locked { get; set; } + + /// + /// A collection of related issues and pull requests. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("milestone")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentDeletedIssueVariant1Milestone? Milestone { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("performed_via_github_app")] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubApp? PerformedViaGithubApp { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PullRequest? PullRequest { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentDeletedIssueVariant1Reactions Reactions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoryUrl { get; set; } + + /// + /// State of the issue; either 'open' or 'closed' + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1StateJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1State? State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state_reason")] + public string? StateReason { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("timeline_url")] + public string? TimelineUrl { get; set; } + + /// + /// Title of the issue + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// URL for the issue + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentDeletedIssueVariant1User? User { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.g.cs new file mode 100644 index 00000000..5e784707 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1ActiveLockReason + { + /// + /// + /// + Resolved, + /// + /// + /// + OffTopic, + /// + /// + /// + TooHeated, + /// + /// + /// + Spam, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1ActiveLockReason value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.Resolved => "resolved", + WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.OffTopic => "off-topic", + WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.TooHeated => "too heated", + WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.Spam => "spam", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1ActiveLockReason? ToEnum(string value) + { + return value switch + { + "resolved" => WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.Resolved, + "off-topic" => WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.OffTopic, + "too heated" => WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.TooHeated, + "spam" => WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.Spam, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Assignee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Assignee.g.cs new file mode 100644 index 00000000..3de1e2db --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Assignee.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant1Assignee + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Assignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Assignee2.g.cs new file mode 100644 index 00000000..fe66eb85 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Assignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant1Assignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType2JsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1AssigneeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1AssigneeType.g.cs new file mode 100644 index 00000000..822b8416 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1AssigneeType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1AssigneeType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1AssigneeTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1AssigneeType value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1AssigneeType.Bot => "Bot", + WebhookIssueCommentDeletedIssueVariant1AssigneeType.User => "User", + WebhookIssueCommentDeletedIssueVariant1AssigneeType.Organization => "Organization", + WebhookIssueCommentDeletedIssueVariant1AssigneeType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1AssigneeType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentDeletedIssueVariant1AssigneeType.Bot, + "User" => WebhookIssueCommentDeletedIssueVariant1AssigneeType.User, + "Organization" => WebhookIssueCommentDeletedIssueVariant1AssigneeType.Organization, + "Mannequin" => WebhookIssueCommentDeletedIssueVariant1AssigneeType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1AssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1AssigneeType2.g.cs new file mode 100644 index 00000000..3cb8ed89 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1AssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1AssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1AssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1AssigneeType2 value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1AssigneeType2.Bot => "Bot", + WebhookIssueCommentDeletedIssueVariant1AssigneeType2.User => "User", + WebhookIssueCommentDeletedIssueVariant1AssigneeType2.Organization => "Organization", + WebhookIssueCommentDeletedIssueVariant1AssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1AssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentDeletedIssueVariant1AssigneeType2.Bot, + "User" => WebhookIssueCommentDeletedIssueVariant1AssigneeType2.User, + "Organization" => WebhookIssueCommentDeletedIssueVariant1AssigneeType2.Organization, + "Mannequin" => WebhookIssueCommentDeletedIssueVariant1AssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.g.cs new file mode 100644 index 00000000..59046a1a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// How the author is associated with the repository. + /// + public enum WebhookIssueCommentDeletedIssueVariant1AuthorAssociation + { + /// + /// + /// + COLLABORATOR, + /// + /// + /// + CONTRIBUTOR, + /// + /// + /// + FIRSTTIMER, + /// + /// + /// + FIRSTTIMECONTRIBUTOR, + /// + /// + /// + MANNEQUIN, + /// + /// + /// + MEMBER, + /// + /// + /// + NONE, + /// + /// + /// + OWNER, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1AuthorAssociationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1AuthorAssociation value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.COLLABORATOR => "COLLABORATOR", + WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.CONTRIBUTOR => "CONTRIBUTOR", + WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.FIRSTTIMER => "FIRST_TIMER", + WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.FIRSTTIMECONTRIBUTOR => "FIRST_TIME_CONTRIBUTOR", + WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.MANNEQUIN => "MANNEQUIN", + WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.MEMBER => "MEMBER", + WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.NONE => "NONE", + WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.OWNER => "OWNER", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1AuthorAssociation? ToEnum(string value) + { + return value switch + { + "COLLABORATOR" => WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.COLLABORATOR, + "CONTRIBUTOR" => WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.CONTRIBUTOR, + "FIRST_TIMER" => WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.FIRSTTIMER, + "FIRST_TIME_CONTRIBUTOR" => WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.FIRSTTIMECONTRIBUTOR, + "MANNEQUIN" => WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.MANNEQUIN, + "MEMBER" => WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.MEMBER, + "NONE" => WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.NONE, + "OWNER" => WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.OWNER, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Label.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Label.g.cs new file mode 100644 index 00000000..b150b228 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Label.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant1Label + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Milestone.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Milestone.g.cs new file mode 100644 index 00000000..bb5dcb53 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Milestone.g.cs @@ -0,0 +1,130 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// A collection of related issues and pull requests. + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant1Milestone + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? ClosedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_issues")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ClosedIssues { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("creator")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreator? Creator { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("due_on")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? DueOn { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// The number of the milestone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("open_issues")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int OpenIssues { get; set; } + + /// + /// The state of the milestone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneStateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneState State { get; set; } + + /// + /// The title of the milestone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1MilestoneCreator.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1MilestoneCreator.g.cs new file mode 100644 index 00000000..6c9784da --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1MilestoneCreator.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant1MilestoneCreator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.g.cs new file mode 100644 index 00000000..8f7792b6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.Bot => "Bot", + WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.User => "User", + WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.Organization => "Organization", + WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.Bot, + "User" => WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.User, + "Organization" => WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.Organization, + "Mannequin" => WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1MilestoneState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1MilestoneState.g.cs new file mode 100644 index 00000000..c5c433a0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1MilestoneState.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The state of the milestone. + /// + public enum WebhookIssueCommentDeletedIssueVariant1MilestoneState + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1MilestoneStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1MilestoneState value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1MilestoneState.Open => "open", + WebhookIssueCommentDeletedIssueVariant1MilestoneState.Closed => "closed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1MilestoneState? ToEnum(string value) + { + return value switch + { + "open" => WebhookIssueCommentDeletedIssueVariant1MilestoneState.Open, + "closed" => WebhookIssueCommentDeletedIssueVariant1MilestoneState.Closed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubApp.g.cs new file mode 100644 index 00000000..7686745f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubApp.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubApp + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// The list of events for the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events")] + public global::System.Collections.Generic.IList? Events { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("external_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? ExternalUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? Id { get; set; } + + /// + /// The name of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("owner")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwner? Owner { get; set; } + + /// + /// The set of permissions for the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissions? Permissions { get; set; } + + /// + /// The slug name of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..9fb0424f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.g.cs @@ -0,0 +1,309 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Create => "create", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Delete => "delete", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Fork => "fork", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Issues => "issues", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Label => "label", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Member => "member", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Membership => "membership", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Organization => "organization", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Project => "project", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Public => "public", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Push => "push", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Release => "release", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Repository => "repository", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Star => "star", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Status => "status", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Team => "team", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Watch => "watch", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Create, + "delete" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Label, + "member" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Member, + "membership" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Release, + "repository" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Star, + "status" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Status, + "team" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.WorkflowRun, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwner.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwner.g.cs new file mode 100644 index 00000000..8ce96e47 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwner.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwner + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.g.cs new file mode 100644 index 00000000..8460dc24 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.Bot => "Bot", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.User => "User", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.Bot, + "User" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.User, + "Organization" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissions.g.cs new file mode 100644 index 00000000..3dd2fd99 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissions.g.cs @@ -0,0 +1,262 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The set of permissions for the GitHub app + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("actions")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions? Actions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("administration")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Administration { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("checks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks? Checks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content_references")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? ContentReferences { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contents")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents? Contents { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deployments")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Deployments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("discussions")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Discussions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("emails")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails? Emails { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("environments")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Environments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("issues")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues? Issues { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("keys")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys? Keys { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers? Members { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Metadata { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_administration")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? OrganizationAdministration { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_hooks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? OrganizationHooks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_packages")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? OrganizationPackages { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_plan")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? OrganizationPlan { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_projects")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? OrganizationProjects { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_secrets")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? OrganizationSecrets { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_self_hosted_runners")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? OrganizationSelfHostedRunners { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_user_blocking")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? OrganizationUserBlocking { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("packages")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages? Packages { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pages")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages? Pages { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? PullRequests { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_hooks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? RepositoryHooks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_projects")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? RepositoryProjects { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_alerts")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? SecretScanningAlerts { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secrets")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Secrets { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("security_events")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? SecurityEvents { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("security_scanning_alert")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? SecurityScanningAlert { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("single_file")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? SingleFile { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("statuses")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Statuses { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("team_discussions")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? TeamDiscussions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vulnerability_alerts")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? VulnerabilityAlerts { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("workflows")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Workflows { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs new file mode 100644 index 00000000..f0c6e240 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs new file mode 100644 index 00000000..1ce2777f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs new file mode 100644 index 00000000..d039799f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs new file mode 100644 index 00000000..c7d49969 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs new file mode 100644 index 00000000..b967d955 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs new file mode 100644 index 00000000..038abc59 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs new file mode 100644 index 00000000..0b4168ac --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs new file mode 100644 index 00000000..f9b6b330 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs new file mode 100644 index 00000000..fdba4235 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs new file mode 100644 index 00000000..d6178ded --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs new file mode 100644 index 00000000..56846dd8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs new file mode 100644 index 00000000..3834165e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs new file mode 100644 index 00000000..54c2ba37 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs new file mode 100644 index 00000000..3a8239f8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs new file mode 100644 index 00000000..52608a59 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs new file mode 100644 index 00000000..e23c7e49 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs new file mode 100644 index 00000000..2f2fb5cd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs new file mode 100644 index 00000000..55ff4471 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs new file mode 100644 index 00000000..716e33f8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs new file mode 100644 index 00000000..4b6dcf09 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs new file mode 100644 index 00000000..526adb09 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs new file mode 100644 index 00000000..2f877946 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs new file mode 100644 index 00000000..f9ead1bc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs new file mode 100644 index 00000000..4c3c5c3b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs new file mode 100644 index 00000000..66e0b1f9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs new file mode 100644 index 00000000..e422d232 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs new file mode 100644 index 00000000..1a69f12c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs new file mode 100644 index 00000000..dc107a9d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs new file mode 100644 index 00000000..9e5db7f0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs new file mode 100644 index 00000000..85220d99 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs new file mode 100644 index 00000000..b8050d98 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs new file mode 100644 index 00000000..f313e8ef --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs new file mode 100644 index 00000000..29867b3e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs new file mode 100644 index 00000000..ff76c9e9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs new file mode 100644 index 00000000..db89c755 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Read => "read", + WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Read, + "write" => WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PullRequest.g.cs new file mode 100644 index 00000000..4c44e927 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1PullRequest.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant1PullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("diff_url")] + public string? DiffUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("merged_at")] + public global::System.DateTime? MergedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("patch_url")] + public string? PatchUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Reactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Reactions.g.cs new file mode 100644 index 00000000..e4c7c10c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1Reactions.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant1Reactions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("+1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Plus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("-1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Minus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("confused")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Confused { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Eyes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("heart")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Heart { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Hooray { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Laugh { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Rocket { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int TotalCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1State.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1State.g.cs new file mode 100644 index 00000000..e595a657 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1State.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// State of the issue; either 'open' or 'closed' + /// + public enum WebhookIssueCommentDeletedIssueVariant1State + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1StateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1State value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1State.Open => "open", + WebhookIssueCommentDeletedIssueVariant1State.Closed => "closed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1State? ToEnum(string value) + { + return value switch + { + "open" => WebhookIssueCommentDeletedIssueVariant1State.Open, + "closed" => WebhookIssueCommentDeletedIssueVariant1State.Closed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1User.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1User.g.cs new file mode 100644 index 00000000..255ef5e3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1User.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant1User + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1UserTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1UserType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1UserType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1UserType.g.cs new file mode 100644 index 00000000..3820fb77 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant1UserType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant1UserType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant1UserTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant1UserType value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant1UserType.Bot => "Bot", + WebhookIssueCommentDeletedIssueVariant1UserType.User => "User", + WebhookIssueCommentDeletedIssueVariant1UserType.Organization => "Organization", + WebhookIssueCommentDeletedIssueVariant1UserType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant1UserType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentDeletedIssueVariant1UserType.Bot, + "User" => WebhookIssueCommentDeletedIssueVariant1UserType.User, + "Organization" => WebhookIssueCommentDeletedIssueVariant1UserType.Organization, + "Mannequin" => WebhookIssueCommentDeletedIssueVariant1UserType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2.g.cs new file mode 100644 index 00000000..bc35cd81 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2.g.cs @@ -0,0 +1,184 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("active_lock_reason")] + public string? ActiveLockReason { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentDeletedIssueVariant2Assignee? Assignee { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] + public global::System.Collections.Generic.IList? Assignees { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] + public string? AuthorAssociation { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("body")] + public string? Body { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] + public string? ClosedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments")] + public int Comments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] + public string? CommentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public string? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Labels { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + public string? LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Locked { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("milestone")] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2Milestone? Milestone { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + public int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("performed_via_github_app")] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2PerformedViaGithubApp? PerformedViaGithubApp { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2Reactions? Reactions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_url")] + public string? RepositoryUrl { get; set; } + + /// + /// State of the issue; either 'open' or 'closed' + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant2StateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentDeletedIssueVariant2State State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("timeline_url")] + public string? TimelineUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public string? UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2User? User { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Assignee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Assignee.g.cs new file mode 100644 index 00000000..b84daf3d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Assignee.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant2Assignee + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant2AssigneeTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2AssigneeType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Assignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Assignee2.g.cs new file mode 100644 index 00000000..e03dab1e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Assignee2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant2Assignee2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2AssigneeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2AssigneeType.g.cs new file mode 100644 index 00000000..497cbaac --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2AssigneeType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentDeletedIssueVariant2AssigneeType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant2AssigneeTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant2AssigneeType value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant2AssigneeType.Bot => "Bot", + WebhookIssueCommentDeletedIssueVariant2AssigneeType.User => "User", + WebhookIssueCommentDeletedIssueVariant2AssigneeType.Organization => "Organization", + WebhookIssueCommentDeletedIssueVariant2AssigneeType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant2AssigneeType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentDeletedIssueVariant2AssigneeType.Bot, + "User" => WebhookIssueCommentDeletedIssueVariant2AssigneeType.User, + "Organization" => WebhookIssueCommentDeletedIssueVariant2AssigneeType.Organization, + "Mannequin" => WebhookIssueCommentDeletedIssueVariant2AssigneeType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Label.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Label.g.cs new file mode 100644 index 00000000..f76efd65 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Label.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant2Label + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Milestone.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Milestone.g.cs new file mode 100644 index 00000000..ac4528e8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Milestone.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant2Milestone + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2PerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2PerformedViaGithubApp.g.cs new file mode 100644 index 00000000..f52c4a4a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2PerformedViaGithubApp.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant2PerformedViaGithubApp + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Reactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Reactions.g.cs new file mode 100644 index 00000000..f6a9292a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2Reactions.g.cs @@ -0,0 +1,77 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant2Reactions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("+1")] + public int Plus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("-1")] + public int Minus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("confused")] + public int Confused { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] + public int Eyes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("heart")] + public int Heart { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] + public int Hooray { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] + public int Laugh { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] + public int Rocket { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] + public int TotalCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2State.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2State.g.cs new file mode 100644 index 00000000..74b50185 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2State.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// State of the issue; either 'open' or 'closed' + /// + public enum WebhookIssueCommentDeletedIssueVariant2State + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentDeletedIssueVariant2StateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentDeletedIssueVariant2State value) + { + return value switch + { + WebhookIssueCommentDeletedIssueVariant2State.Open => "open", + WebhookIssueCommentDeletedIssueVariant2State.Closed => "closed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentDeletedIssueVariant2State? ToEnum(string value) + { + return value switch + { + "open" => WebhookIssueCommentDeletedIssueVariant2State.Open, + "closed" => WebhookIssueCommentDeletedIssueVariant2State.Closed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2User.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2User.g.cs new file mode 100644 index 00000000..60047a9b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentDeletedIssueVariant2User.g.cs @@ -0,0 +1,125 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentDeletedIssueVariant2User + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + public string? Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEdited.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEdited.g.cs index ed2cb800..e9c1a356 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEdited.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEdited.g.cs @@ -54,7 +54,7 @@ public sealed partial class WebhookIssueCommentEdited [global::System.Text.Json.Serialization.JsonPropertyName("issue")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf Issue { get; set; } + public required global::System.AllOf Issue { get; set; } /// /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssue.g.cs deleted file mode 100644 index 1245e82f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssue.g.cs +++ /dev/null @@ -1,221 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. - /// - public sealed partial class WebhookIssueCommentEditedIssue - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("active_lock_reason")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueActiveLockReasonJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentEditedIssueActiveLockReason? ActiveLockReason { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] - public global::GitHub.WebhookIssueCommentEditedIssueAssignee? Assignee { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } - - /// - /// How the author is associated with the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueAuthorAssociationJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentEditedIssueAuthorAssociation AuthorAssociation { get; set; } - - /// - /// Contents of the issue - /// - [global::System.Text.Json.Serialization.JsonPropertyName("body")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Body { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? ClosedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("comments")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Comments { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CommentsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("draft")] - public bool Draft { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string LabelsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("locked")] - public bool Locked { get; set; } - - /// - /// A collection of related issues and pull requests. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("milestone")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentEditedIssueMilestone? Milestone { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("performed_via_github_app")] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubApp? PerformedViaGithubApp { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] - public global::GitHub.WebhookIssueCommentEditedIssuePullRequest? PullRequest { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentEditedIssueReactions Reactions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoryUrl { get; set; } - - /// - /// State of the issue; either 'open' or 'closed' - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueStateJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssueState? State { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state_reason")] - public string? StateReason { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("timeline_url")] - public string? TimelineUrl { get; set; } - - /// - /// Title of the issue - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Title { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// URL for the issue - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("user")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentEditedIssueUser? User { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueActiveLockReason.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueActiveLockReason.g.cs deleted file mode 100644 index 58eeb8bb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueActiveLockReason.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssueActiveLockReason - { - /// - /// - /// - Resolved, - /// - /// - /// - OffTopic, - /// - /// - /// - TooHeated, - /// - /// - /// - Spam, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssueActiveLockReasonExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssueActiveLockReason value) - { - return value switch - { - WebhookIssueCommentEditedIssueActiveLockReason.Resolved => "resolved", - WebhookIssueCommentEditedIssueActiveLockReason.OffTopic => "off-topic", - WebhookIssueCommentEditedIssueActiveLockReason.TooHeated => "too heated", - WebhookIssueCommentEditedIssueActiveLockReason.Spam => "spam", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssueActiveLockReason? ToEnum(string value) - { - return value switch - { - "resolved" => WebhookIssueCommentEditedIssueActiveLockReason.Resolved, - "off-topic" => WebhookIssueCommentEditedIssueActiveLockReason.OffTopic, - "too heated" => WebhookIssueCommentEditedIssueActiveLockReason.TooHeated, - "spam" => WebhookIssueCommentEditedIssueActiveLockReason.Spam, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssignee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssignee.g.cs deleted file mode 100644 index 3af6267a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssignee.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentEditedIssueAssignee - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueAssigneeTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssueAssigneeType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssigneeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssigneeType.g.cs deleted file mode 100644 index 673a8067..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssigneeType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssueAssigneeType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssueAssigneeTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssueAssigneeType value) - { - return value switch - { - WebhookIssueCommentEditedIssueAssigneeType.Bot => "Bot", - WebhookIssueCommentEditedIssueAssigneeType.User => "User", - WebhookIssueCommentEditedIssueAssigneeType.Organization => "Organization", - WebhookIssueCommentEditedIssueAssigneeType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssueAssigneeType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentEditedIssueAssigneeType.Bot, - "User" => WebhookIssueCommentEditedIssueAssigneeType.User, - "Organization" => WebhookIssueCommentEditedIssueAssigneeType.Organization, - "Mannequin" => WebhookIssueCommentEditedIssueAssigneeType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssignees.g.cs deleted file mode 100644 index 739da984..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentEditedIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssigneesType.g.cs deleted file mode 100644 index 97457ebb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssueAssigneesType value) - { - return value switch - { - WebhookIssueCommentEditedIssueAssigneesType.Bot => "Bot", - WebhookIssueCommentEditedIssueAssigneesType.User => "User", - WebhookIssueCommentEditedIssueAssigneesType.Organization => "Organization", - WebhookIssueCommentEditedIssueAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentEditedIssueAssigneesType.Bot, - "User" => WebhookIssueCommentEditedIssueAssigneesType.User, - "Organization" => WebhookIssueCommentEditedIssueAssigneesType.Organization, - "Mannequin" => WebhookIssueCommentEditedIssueAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAuthorAssociation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAuthorAssociation.g.cs deleted file mode 100644 index d51778c2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueAuthorAssociation.g.cs +++ /dev/null @@ -1,87 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// How the author is associated with the repository. - /// - public enum WebhookIssueCommentEditedIssueAuthorAssociation - { - /// - /// - /// - COLLABORATOR, - /// - /// - /// - CONTRIBUTOR, - /// - /// - /// - FIRSTTIMER, - /// - /// - /// - FIRSTTIMECONTRIBUTOR, - /// - /// - /// - MANNEQUIN, - /// - /// - /// - MEMBER, - /// - /// - /// - NONE, - /// - /// - /// - OWNER, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssueAuthorAssociationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssueAuthorAssociation value) - { - return value switch - { - WebhookIssueCommentEditedIssueAuthorAssociation.COLLABORATOR => "COLLABORATOR", - WebhookIssueCommentEditedIssueAuthorAssociation.CONTRIBUTOR => "CONTRIBUTOR", - WebhookIssueCommentEditedIssueAuthorAssociation.FIRSTTIMER => "FIRST_TIMER", - WebhookIssueCommentEditedIssueAuthorAssociation.FIRSTTIMECONTRIBUTOR => "FIRST_TIME_CONTRIBUTOR", - WebhookIssueCommentEditedIssueAuthorAssociation.MANNEQUIN => "MANNEQUIN", - WebhookIssueCommentEditedIssueAuthorAssociation.MEMBER => "MEMBER", - WebhookIssueCommentEditedIssueAuthorAssociation.NONE => "NONE", - WebhookIssueCommentEditedIssueAuthorAssociation.OWNER => "OWNER", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssueAuthorAssociation? ToEnum(string value) - { - return value switch - { - "COLLABORATOR" => WebhookIssueCommentEditedIssueAuthorAssociation.COLLABORATOR, - "CONTRIBUTOR" => WebhookIssueCommentEditedIssueAuthorAssociation.CONTRIBUTOR, - "FIRST_TIMER" => WebhookIssueCommentEditedIssueAuthorAssociation.FIRSTTIMER, - "FIRST_TIME_CONTRIBUTOR" => WebhookIssueCommentEditedIssueAuthorAssociation.FIRSTTIMECONTRIBUTOR, - "MANNEQUIN" => WebhookIssueCommentEditedIssueAuthorAssociation.MANNEQUIN, - "MEMBER" => WebhookIssueCommentEditedIssueAuthorAssociation.MEMBER, - "NONE" => WebhookIssueCommentEditedIssueAuthorAssociation.NONE, - "OWNER" => WebhookIssueCommentEditedIssueAuthorAssociation.OWNER, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueLabels.g.cs deleted file mode 100644 index 14696106..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentEditedIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestone.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestone.g.cs deleted file mode 100644 index 0809d844..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestone.g.cs +++ /dev/null @@ -1,130 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// A collection of related issues and pull requests. - /// - public sealed partial class WebhookIssueCommentEditedIssueMilestone - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? ClosedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("closed_issues")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int ClosedIssues { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("creator")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreator? Creator { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("due_on")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? DueOn { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string LabelsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// The number of the milestone. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("open_issues")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int OpenIssues { get; set; } - - /// - /// The state of the milestone. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueMilestoneStateJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentEditedIssueMilestoneState State { get; set; } - - /// - /// The title of the milestone. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Title { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestoneCreator.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestoneCreator.g.cs deleted file mode 100644 index 432316b1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestoneCreator.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentEditedIssueMilestoneCreator - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueMilestoneCreatorTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreatorType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestoneCreatorType.g.cs deleted file mode 100644 index 0fbc2b69..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestoneCreatorType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssueMilestoneCreatorType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssueMilestoneCreatorTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssueMilestoneCreatorType value) - { - return value switch - { - WebhookIssueCommentEditedIssueMilestoneCreatorType.Bot => "Bot", - WebhookIssueCommentEditedIssueMilestoneCreatorType.User => "User", - WebhookIssueCommentEditedIssueMilestoneCreatorType.Organization => "Organization", - WebhookIssueCommentEditedIssueMilestoneCreatorType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssueMilestoneCreatorType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentEditedIssueMilestoneCreatorType.Bot, - "User" => WebhookIssueCommentEditedIssueMilestoneCreatorType.User, - "Organization" => WebhookIssueCommentEditedIssueMilestoneCreatorType.Organization, - "Mannequin" => WebhookIssueCommentEditedIssueMilestoneCreatorType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestoneState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestoneState.g.cs deleted file mode 100644 index c91c8530..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueMilestoneState.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The state of the milestone. - /// - public enum WebhookIssueCommentEditedIssueMilestoneState - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssueMilestoneStateExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssueMilestoneState value) - { - return value switch - { - WebhookIssueCommentEditedIssueMilestoneState.Open => "open", - WebhookIssueCommentEditedIssueMilestoneState.Closed => "closed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssueMilestoneState? ToEnum(string value) - { - return value switch - { - "open" => WebhookIssueCommentEditedIssueMilestoneState.Open, - "closed" => WebhookIssueCommentEditedIssueMilestoneState.Closed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubApp.g.cs deleted file mode 100644 index d0a69a69..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubApp.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. - /// - public sealed partial class WebhookIssueCommentEditedIssuePerformedViaGithubApp - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// The list of events for the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("external_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? ExternalUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? Id { get; set; } - - /// - /// The name of the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("owner")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwner? Owner { get; set; } - - /// - /// The set of permissions for the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissions? Permissions { get; set; } - - /// - /// The slug name of the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? UpdatedAt { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 7bf08a3f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,321 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - Reminder, - /// - /// - /// - PullRequestReviewThread, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Reminder => "reminder", - WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.PullRequestReviewThread => "pull_request_review_thread", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.WorkflowRun, - "reminder" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.Reminder, - "pull_request_review_thread" => WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.PullRequestReviewThread, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwner.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwner.g.cs deleted file mode 100644 index 136b1402..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwner.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentEditedIssuePerformedViaGithubAppOwner - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.g.cs deleted file mode 100644 index 398359bb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.Bot => "Bot", - WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.User => "User", - WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.Bot, - "User" => WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.User, - "Organization" => WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissions.g.cs deleted file mode 100644 index 0db60ac4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissions.g.cs +++ /dev/null @@ -1,262 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The set of permissions for the GitHub app - /// - public sealed partial class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissions - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("actions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions? Actions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("administration")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration? Administration { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("checks")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks? Checks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content_references")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences? ContentReferences { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("contents")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents? Contents { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deployments")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments? Deployments { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("discussions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions? Discussions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("emails")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails? Emails { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("environments")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments? Environments { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("issues")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues? Issues { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("keys")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys? Keys { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers? Members { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata? Metadata { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_administration")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? OrganizationAdministration { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_hooks")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks? OrganizationHooks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_packages")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages? OrganizationPackages { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_plan")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan? OrganizationPlan { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_projects")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects? OrganizationProjects { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_secrets")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? OrganizationSecrets { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_self_hosted_runners")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? OrganizationSelfHostedRunners { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_user_blocking")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? OrganizationUserBlocking { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("packages")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages? Packages { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pages")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages? Pages { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests? PullRequests { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_hooks")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks? RepositoryHooks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_projects")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects? RepositoryProjects { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_alerts")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? SecretScanningAlerts { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("secrets")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets? Secrets { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("security_events")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents? SecurityEvents { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("security_scanning_alert")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? SecurityScanningAlert { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("single_file")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile? SingleFile { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("statuses")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses? Statuses { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("team_discussions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions? TeamDiscussions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerability_alerts")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? VulnerabilityAlerts { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("workflows")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows? Workflows { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions.g.cs deleted file mode 100644 index 5658a44d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration.g.cs deleted file mode 100644 index 3dd816da..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks.g.cs deleted file mode 100644 index a635bdb6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs deleted file mode 100644 index 4a177385..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents.g.cs deleted file mode 100644 index 91859783..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments.g.cs deleted file mode 100644 index d2506623..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs deleted file mode 100644 index 4ea65da4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails.g.cs deleted file mode 100644 index ba4fee0b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs deleted file mode 100644 index 2473397e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues.g.cs deleted file mode 100644 index 04d38e77..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys.g.cs deleted file mode 100644 index 14124672..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers.g.cs deleted file mode 100644 index 73e836e8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata.g.cs deleted file mode 100644 index 2e46e267..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs deleted file mode 100644 index a40880d1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs deleted file mode 100644 index ce1ab86b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs deleted file mode 100644 index 9a73daed..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs deleted file mode 100644 index 955ae94c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs deleted file mode 100644 index f3b90f7a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects - { - /// - /// - /// - Read, - /// - /// - /// - Write, - /// - /// - /// - Admin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Write => "write", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Admin => "admin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Write, - "admin" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Admin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs deleted file mode 100644 index f8b88600..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs deleted file mode 100644 index 0006ae96..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs deleted file mode 100644 index 50020c21..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages.g.cs deleted file mode 100644 index 19673af2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages.g.cs deleted file mode 100644 index 1486567c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs deleted file mode 100644 index 39be7c5c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs deleted file mode 100644 index 868533ff..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs deleted file mode 100644 index 5eaae1b1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs deleted file mode 100644 index 3c0e01a8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets.g.cs deleted file mode 100644 index 85183cfd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs deleted file mode 100644 index 5a05eb20..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs deleted file mode 100644 index 85cbee1f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs deleted file mode 100644 index 749ca865..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses.g.cs deleted file mode 100644 index 7dc921e6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs deleted file mode 100644 index 3a588521..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs deleted file mode 100644 index cbae29ed..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs deleted file mode 100644 index ee1e8307..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows value) - { - return value switch - { - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows.Read => "read", - WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows.Read, - "write" => WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePullRequest.g.cs deleted file mode 100644 index 2c759523..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssuePullRequest.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentEditedIssuePullRequest - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("diff_url")] - public string? DiffUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("merged_at")] - public global::System.DateTime? MergedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("patch_url")] - public string? PatchUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueReactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueReactions.g.cs deleted file mode 100644 index daeb0c49..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueReactions.g.cs +++ /dev/null @@ -1,87 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentEditedIssueReactions - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("+1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Plus1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("-1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Minus1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("confused")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Confused { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Eyes { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("heart")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Heart { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Hooray { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Laugh { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Rocket { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int TotalCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueState.g.cs deleted file mode 100644 index ec1df6b4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueState.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// State of the issue; either 'open' or 'closed' - /// - public enum WebhookIssueCommentEditedIssueState - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssueStateExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssueState value) - { - return value switch - { - WebhookIssueCommentEditedIssueState.Open => "open", - WebhookIssueCommentEditedIssueState.Closed => "closed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssueState? ToEnum(string value) - { - return value switch - { - "open" => WebhookIssueCommentEditedIssueState.Open, - "closed" => WebhookIssueCommentEditedIssueState.Closed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueUser.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueUser.g.cs deleted file mode 100644 index 04bb67cf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueUser.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssueCommentEditedIssueUser - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueUserTypeJsonConverter))] - public global::GitHub.WebhookIssueCommentEditedIssueUserType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueUserType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueUserType.g.cs deleted file mode 100644 index 8bdb1173..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueUserType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssueCommentEditedIssueUserType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssueCommentEditedIssueUserTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssueCommentEditedIssueUserType value) - { - return value switch - { - WebhookIssueCommentEditedIssueUserType.Bot => "Bot", - WebhookIssueCommentEditedIssueUserType.User => "User", - WebhookIssueCommentEditedIssueUserType.Organization => "Organization", - WebhookIssueCommentEditedIssueUserType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssueCommentEditedIssueUserType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssueCommentEditedIssueUserType.Bot, - "User" => WebhookIssueCommentEditedIssueUserType.User, - "Organization" => WebhookIssueCommentEditedIssueUserType.Organization, - "Mannequin" => WebhookIssueCommentEditedIssueUserType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1.g.cs new file mode 100644 index 00000000..b0e9e0fb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1.g.cs @@ -0,0 +1,221 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("active_lock_reason")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1ActiveLockReasonJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentEditedIssueVariant1ActiveLockReason? ActiveLockReason { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1Assignee? Assignee { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Assignees { get; set; } + + /// + /// How the author is associated with the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1AuthorAssociationJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentEditedIssueVariant1AuthorAssociation AuthorAssociation { get; set; } + + /// + /// Contents of the issue + /// + [global::System.Text.Json.Serialization.JsonPropertyName("body")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Body { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? ClosedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Comments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CommentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("draft")] + public bool Draft { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels")] + public global::System.Collections.Generic.IList? Labels { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked")] + public bool Locked { get; set; } + + /// + /// A collection of related issues and pull requests. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("milestone")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentEditedIssueVariant1Milestone? Milestone { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("performed_via_github_app")] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubApp? PerformedViaGithubApp { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PullRequest? PullRequest { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentEditedIssueVariant1Reactions Reactions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoryUrl { get; set; } + + /// + /// State of the issue; either 'open' or 'closed' + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1StateJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1State? State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state_reason")] + public string? StateReason { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("timeline_url")] + public string? TimelineUrl { get; set; } + + /// + /// Title of the issue + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// URL for the issue + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentEditedIssueVariant1User? User { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1ActiveLockReason.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1ActiveLockReason.g.cs new file mode 100644 index 00000000..8749a398 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1ActiveLockReason.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1ActiveLockReason + { + /// + /// + /// + Resolved, + /// + /// + /// + OffTopic, + /// + /// + /// + TooHeated, + /// + /// + /// + Spam, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1ActiveLockReasonExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1ActiveLockReason value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1ActiveLockReason.Resolved => "resolved", + WebhookIssueCommentEditedIssueVariant1ActiveLockReason.OffTopic => "off-topic", + WebhookIssueCommentEditedIssueVariant1ActiveLockReason.TooHeated => "too heated", + WebhookIssueCommentEditedIssueVariant1ActiveLockReason.Spam => "spam", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1ActiveLockReason? ToEnum(string value) + { + return value switch + { + "resolved" => WebhookIssueCommentEditedIssueVariant1ActiveLockReason.Resolved, + "off-topic" => WebhookIssueCommentEditedIssueVariant1ActiveLockReason.OffTopic, + "too heated" => WebhookIssueCommentEditedIssueVariant1ActiveLockReason.TooHeated, + "spam" => WebhookIssueCommentEditedIssueVariant1ActiveLockReason.Spam, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Assignee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Assignee.g.cs new file mode 100644 index 00000000..a59ae5dc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Assignee.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant1Assignee + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Assignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Assignee2.g.cs new file mode 100644 index 00000000..a484fd47 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Assignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant1Assignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType2JsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1AssigneeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1AssigneeType.g.cs new file mode 100644 index 00000000..7276ac20 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1AssigneeType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1AssigneeType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1AssigneeTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1AssigneeType value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1AssigneeType.Bot => "Bot", + WebhookIssueCommentEditedIssueVariant1AssigneeType.User => "User", + WebhookIssueCommentEditedIssueVariant1AssigneeType.Organization => "Organization", + WebhookIssueCommentEditedIssueVariant1AssigneeType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1AssigneeType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentEditedIssueVariant1AssigneeType.Bot, + "User" => WebhookIssueCommentEditedIssueVariant1AssigneeType.User, + "Organization" => WebhookIssueCommentEditedIssueVariant1AssigneeType.Organization, + "Mannequin" => WebhookIssueCommentEditedIssueVariant1AssigneeType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1AssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1AssigneeType2.g.cs new file mode 100644 index 00000000..59ce601b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1AssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1AssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1AssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1AssigneeType2 value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1AssigneeType2.Bot => "Bot", + WebhookIssueCommentEditedIssueVariant1AssigneeType2.User => "User", + WebhookIssueCommentEditedIssueVariant1AssigneeType2.Organization => "Organization", + WebhookIssueCommentEditedIssueVariant1AssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1AssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentEditedIssueVariant1AssigneeType2.Bot, + "User" => WebhookIssueCommentEditedIssueVariant1AssigneeType2.User, + "Organization" => WebhookIssueCommentEditedIssueVariant1AssigneeType2.Organization, + "Mannequin" => WebhookIssueCommentEditedIssueVariant1AssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1AuthorAssociation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1AuthorAssociation.g.cs new file mode 100644 index 00000000..c45eb9d9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1AuthorAssociation.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// How the author is associated with the repository. + /// + public enum WebhookIssueCommentEditedIssueVariant1AuthorAssociation + { + /// + /// + /// + COLLABORATOR, + /// + /// + /// + CONTRIBUTOR, + /// + /// + /// + FIRSTTIMER, + /// + /// + /// + FIRSTTIMECONTRIBUTOR, + /// + /// + /// + MANNEQUIN, + /// + /// + /// + MEMBER, + /// + /// + /// + NONE, + /// + /// + /// + OWNER, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1AuthorAssociationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1AuthorAssociation value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1AuthorAssociation.COLLABORATOR => "COLLABORATOR", + WebhookIssueCommentEditedIssueVariant1AuthorAssociation.CONTRIBUTOR => "CONTRIBUTOR", + WebhookIssueCommentEditedIssueVariant1AuthorAssociation.FIRSTTIMER => "FIRST_TIMER", + WebhookIssueCommentEditedIssueVariant1AuthorAssociation.FIRSTTIMECONTRIBUTOR => "FIRST_TIME_CONTRIBUTOR", + WebhookIssueCommentEditedIssueVariant1AuthorAssociation.MANNEQUIN => "MANNEQUIN", + WebhookIssueCommentEditedIssueVariant1AuthorAssociation.MEMBER => "MEMBER", + WebhookIssueCommentEditedIssueVariant1AuthorAssociation.NONE => "NONE", + WebhookIssueCommentEditedIssueVariant1AuthorAssociation.OWNER => "OWNER", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1AuthorAssociation? ToEnum(string value) + { + return value switch + { + "COLLABORATOR" => WebhookIssueCommentEditedIssueVariant1AuthorAssociation.COLLABORATOR, + "CONTRIBUTOR" => WebhookIssueCommentEditedIssueVariant1AuthorAssociation.CONTRIBUTOR, + "FIRST_TIMER" => WebhookIssueCommentEditedIssueVariant1AuthorAssociation.FIRSTTIMER, + "FIRST_TIME_CONTRIBUTOR" => WebhookIssueCommentEditedIssueVariant1AuthorAssociation.FIRSTTIMECONTRIBUTOR, + "MANNEQUIN" => WebhookIssueCommentEditedIssueVariant1AuthorAssociation.MANNEQUIN, + "MEMBER" => WebhookIssueCommentEditedIssueVariant1AuthorAssociation.MEMBER, + "NONE" => WebhookIssueCommentEditedIssueVariant1AuthorAssociation.NONE, + "OWNER" => WebhookIssueCommentEditedIssueVariant1AuthorAssociation.OWNER, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Label.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Label.g.cs new file mode 100644 index 00000000..7eb4ac57 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Label.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant1Label + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Milestone.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Milestone.g.cs new file mode 100644 index 00000000..1314cc29 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Milestone.g.cs @@ -0,0 +1,130 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// A collection of related issues and pull requests. + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant1Milestone + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? ClosedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_issues")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ClosedIssues { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("creator")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreator? Creator { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("due_on")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? DueOn { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// The number of the milestone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("open_issues")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int OpenIssues { get; set; } + + /// + /// The state of the milestone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneStateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneState State { get; set; } + + /// + /// The title of the milestone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1MilestoneCreator.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1MilestoneCreator.g.cs new file mode 100644 index 00000000..edc3ec1a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1MilestoneCreator.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant1MilestoneCreator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.g.cs new file mode 100644 index 00000000..b4ad9f5f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.Bot => "Bot", + WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.User => "User", + WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.Organization => "Organization", + WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.Bot, + "User" => WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.User, + "Organization" => WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.Organization, + "Mannequin" => WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1MilestoneState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1MilestoneState.g.cs new file mode 100644 index 00000000..1c9f21a7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1MilestoneState.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The state of the milestone. + /// + public enum WebhookIssueCommentEditedIssueVariant1MilestoneState + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1MilestoneStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1MilestoneState value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1MilestoneState.Open => "open", + WebhookIssueCommentEditedIssueVariant1MilestoneState.Closed => "closed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1MilestoneState? ToEnum(string value) + { + return value switch + { + "open" => WebhookIssueCommentEditedIssueVariant1MilestoneState.Open, + "closed" => WebhookIssueCommentEditedIssueVariant1MilestoneState.Closed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubApp.g.cs new file mode 100644 index 00000000..6ff6fbc8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubApp.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubApp + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// The list of events for the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events")] + public global::System.Collections.Generic.IList? Events { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("external_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? ExternalUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? Id { get; set; } + + /// + /// The name of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("owner")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwner? Owner { get; set; } + + /// + /// The set of permissions for the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissions? Permissions { get; set; } + + /// + /// The slug name of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..968ba652 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.g.cs @@ -0,0 +1,321 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + Reminder, + /// + /// + /// + PullRequestReviewThread, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Create => "create", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Delete => "delete", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Fork => "fork", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Issues => "issues", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Label => "label", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Member => "member", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Membership => "membership", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Organization => "organization", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Project => "project", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Public => "public", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Push => "push", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Release => "release", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Repository => "repository", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Star => "star", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Status => "status", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Team => "team", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Watch => "watch", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Reminder => "reminder", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewThread => "pull_request_review_thread", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Create, + "delete" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Label, + "member" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Member, + "membership" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Release, + "repository" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Star, + "status" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Status, + "team" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.WorkflowRun, + "reminder" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.Reminder, + "pull_request_review_thread" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewThread, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwner.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwner.g.cs new file mode 100644 index 00000000..a883cf73 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwner.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwner + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.g.cs new file mode 100644 index 00000000..2e23b72f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.Bot => "Bot", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.User => "User", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.Bot, + "User" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.User, + "Organization" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissions.g.cs new file mode 100644 index 00000000..12844a8e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissions.g.cs @@ -0,0 +1,262 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The set of permissions for the GitHub app + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("actions")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions? Actions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("administration")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Administration { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("checks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks? Checks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content_references")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? ContentReferences { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contents")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents? Contents { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deployments")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Deployments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("discussions")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Discussions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("emails")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails? Emails { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("environments")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Environments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("issues")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues? Issues { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("keys")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys? Keys { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers? Members { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Metadata { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_administration")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? OrganizationAdministration { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_hooks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? OrganizationHooks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_packages")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? OrganizationPackages { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_plan")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? OrganizationPlan { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_projects")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? OrganizationProjects { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_secrets")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? OrganizationSecrets { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_self_hosted_runners")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? OrganizationSelfHostedRunners { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_user_blocking")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? OrganizationUserBlocking { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("packages")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages? Packages { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pages")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages? Pages { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? PullRequests { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_hooks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? RepositoryHooks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_projects")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? RepositoryProjects { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_alerts")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? SecretScanningAlerts { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secrets")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Secrets { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("security_events")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? SecurityEvents { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("security_scanning_alert")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? SecurityScanningAlert { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("single_file")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? SingleFile { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("statuses")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Statuses { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("team_discussions")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? TeamDiscussions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vulnerability_alerts")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? VulnerabilityAlerts { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("workflows")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Workflows { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs new file mode 100644 index 00000000..1c8c3b23 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs new file mode 100644 index 00000000..22e9c775 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs new file mode 100644 index 00000000..b692c913 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs new file mode 100644 index 00000000..25898265 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs new file mode 100644 index 00000000..2e1729c5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs new file mode 100644 index 00000000..517bc3e0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs new file mode 100644 index 00000000..96d7256f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs new file mode 100644 index 00000000..ee2541fd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs new file mode 100644 index 00000000..4b117de3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs new file mode 100644 index 00000000..a5581739 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs new file mode 100644 index 00000000..0ff7741a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs new file mode 100644 index 00000000..67df0256 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs new file mode 100644 index 00000000..33363476 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs new file mode 100644 index 00000000..0a2dca4d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs new file mode 100644 index 00000000..97e5e92e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs new file mode 100644 index 00000000..cb162ca1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs new file mode 100644 index 00000000..18dab1c0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs new file mode 100644 index 00000000..2a5ed644 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects + { + /// + /// + /// + Read, + /// + /// + /// + Write, + /// + /// + /// + Admin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Write => "write", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Admin => "admin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Write, + "admin" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Admin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs new file mode 100644 index 00000000..08d43b4a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs new file mode 100644 index 00000000..36fab045 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs new file mode 100644 index 00000000..6d26f57c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs new file mode 100644 index 00000000..db541b62 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs new file mode 100644 index 00000000..cb96a227 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs new file mode 100644 index 00000000..d6bb8694 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs new file mode 100644 index 00000000..e23606ae --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs new file mode 100644 index 00000000..55c3c81b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs new file mode 100644 index 00000000..aad8699d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs new file mode 100644 index 00000000..954bc3ab --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs new file mode 100644 index 00000000..a7a844d2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs new file mode 100644 index 00000000..644e8cec --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs new file mode 100644 index 00000000..a16eb855 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs new file mode 100644 index 00000000..7498e807 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs new file mode 100644 index 00000000..bb725069 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs new file mode 100644 index 00000000..2c922286 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs new file mode 100644 index 00000000..5156211c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Read => "read", + WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Read, + "write" => WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PullRequest.g.cs new file mode 100644 index 00000000..91ec12c8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1PullRequest.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant1PullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("diff_url")] + public string? DiffUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("merged_at")] + public global::System.DateTime? MergedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("patch_url")] + public string? PatchUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Reactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Reactions.g.cs new file mode 100644 index 00000000..4610d82e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1Reactions.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant1Reactions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("+1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Plus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("-1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Minus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("confused")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Confused { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Eyes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("heart")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Heart { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Hooray { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Laugh { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Rocket { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int TotalCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1State.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1State.g.cs new file mode 100644 index 00000000..75eb456d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1State.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// State of the issue; either 'open' or 'closed' + /// + public enum WebhookIssueCommentEditedIssueVariant1State + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1StateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1State value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1State.Open => "open", + WebhookIssueCommentEditedIssueVariant1State.Closed => "closed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1State? ToEnum(string value) + { + return value switch + { + "open" => WebhookIssueCommentEditedIssueVariant1State.Open, + "closed" => WebhookIssueCommentEditedIssueVariant1State.Closed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1User.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1User.g.cs new file mode 100644 index 00000000..4d7b0d74 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1User.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant1User + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1UserTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant1UserType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1UserType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1UserType.g.cs new file mode 100644 index 00000000..a2513cad --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant1UserType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant1UserType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant1UserTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant1UserType value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant1UserType.Bot => "Bot", + WebhookIssueCommentEditedIssueVariant1UserType.User => "User", + WebhookIssueCommentEditedIssueVariant1UserType.Organization => "Organization", + WebhookIssueCommentEditedIssueVariant1UserType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant1UserType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentEditedIssueVariant1UserType.Bot, + "User" => WebhookIssueCommentEditedIssueVariant1UserType.User, + "Organization" => WebhookIssueCommentEditedIssueVariant1UserType.Organization, + "Mannequin" => WebhookIssueCommentEditedIssueVariant1UserType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2.g.cs new file mode 100644 index 00000000..d083664b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2.g.cs @@ -0,0 +1,184 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("active_lock_reason")] + public string? ActiveLockReason { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentEditedIssueVariant2Assignee? Assignee { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] + public global::System.Collections.Generic.IList? Assignees { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] + public string? AuthorAssociation { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("body")] + public string? Body { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] + public string? ClosedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments")] + public int Comments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] + public string? CommentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public string? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Labels { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + public string? LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Locked { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("milestone")] + public global::GitHub.WebhookIssueCommentEditedIssueVariant2Milestone? Milestone { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + public int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("performed_via_github_app")] + public global::GitHub.WebhookIssueCommentEditedIssueVariant2PerformedViaGithubApp? PerformedViaGithubApp { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] + public global::GitHub.WebhookIssueCommentEditedIssueVariant2Reactions? Reactions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_url")] + public string? RepositoryUrl { get; set; } + + /// + /// State of the issue; either 'open' or 'closed' + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant2StateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssueCommentEditedIssueVariant2State State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("timeline_url")] + public string? TimelineUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public string? UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + public global::GitHub.WebhookIssueCommentEditedIssueVariant2User? User { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Assignee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Assignee.g.cs new file mode 100644 index 00000000..135bed6d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Assignee.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant2Assignee + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant2AssigneeTypeJsonConverter))] + public global::GitHub.WebhookIssueCommentEditedIssueVariant2AssigneeType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Assignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Assignee2.g.cs new file mode 100644 index 00000000..9e9001ad --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Assignee2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant2Assignee2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2AssigneeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2AssigneeType.g.cs new file mode 100644 index 00000000..f8da2fee --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2AssigneeType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssueCommentEditedIssueVariant2AssigneeType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant2AssigneeTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant2AssigneeType value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant2AssigneeType.Bot => "Bot", + WebhookIssueCommentEditedIssueVariant2AssigneeType.User => "User", + WebhookIssueCommentEditedIssueVariant2AssigneeType.Organization => "Organization", + WebhookIssueCommentEditedIssueVariant2AssigneeType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant2AssigneeType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssueCommentEditedIssueVariant2AssigneeType.Bot, + "User" => WebhookIssueCommentEditedIssueVariant2AssigneeType.User, + "Organization" => WebhookIssueCommentEditedIssueVariant2AssigneeType.Organization, + "Mannequin" => WebhookIssueCommentEditedIssueVariant2AssigneeType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Label.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Label.g.cs new file mode 100644 index 00000000..daefef91 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Label.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant2Label + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Milestone.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Milestone.g.cs new file mode 100644 index 00000000..23ee8d3d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Milestone.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant2Milestone + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2PerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2PerformedViaGithubApp.g.cs new file mode 100644 index 00000000..6c40f5f4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2PerformedViaGithubApp.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant2PerformedViaGithubApp + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Reactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Reactions.g.cs new file mode 100644 index 00000000..d4f58370 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2Reactions.g.cs @@ -0,0 +1,77 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant2Reactions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("+1")] + public int Plus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("-1")] + public int Minus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("confused")] + public int Confused { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] + public int Eyes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("heart")] + public int Heart { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] + public int Hooray { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] + public int Laugh { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] + public int Rocket { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] + public int TotalCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2State.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2State.g.cs new file mode 100644 index 00000000..cc464fa7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2State.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// State of the issue; either 'open' or 'closed' + /// + public enum WebhookIssueCommentEditedIssueVariant2State + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssueCommentEditedIssueVariant2StateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssueCommentEditedIssueVariant2State value) + { + return value switch + { + WebhookIssueCommentEditedIssueVariant2State.Open => "open", + WebhookIssueCommentEditedIssueVariant2State.Closed => "closed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssueCommentEditedIssueVariant2State? ToEnum(string value) + { + return value switch + { + "open" => WebhookIssueCommentEditedIssueVariant2State.Open, + "closed" => WebhookIssueCommentEditedIssueVariant2State.Closed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2User.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2User.g.cs new file mode 100644 index 00000000..3d1f7fe5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssueCommentEditedIssueVariant2User.g.cs @@ -0,0 +1,125 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssueCommentEditedIssueVariant2User + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + public string? Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosed.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosed.g.cs index 5ca50541..2cd7400d 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosed.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosed.g.cs @@ -40,7 +40,7 @@ public sealed partial class WebhookIssuesClosed [global::System.Text.Json.Serialization.JsonPropertyName("issue")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf Issue { get; set; } + public required global::System.AllOf Issue { get; set; } /// /// A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssue.g.cs deleted file mode 100644 index f47e1109..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssue.g.cs +++ /dev/null @@ -1,221 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. - /// - public sealed partial class WebhookIssuesClosedIssue - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("active_lock_reason")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueActiveLockReasonJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssuesClosedIssueActiveLockReason? ActiveLockReason { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] - public global::GitHub.WebhookIssuesClosedIssueAssignee? Assignee { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } - - /// - /// How the author is associated with the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueAuthorAssociationJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssuesClosedIssueAuthorAssociation AuthorAssociation { get; set; } - - /// - /// Contents of the issue - /// - [global::System.Text.Json.Serialization.JsonPropertyName("body")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Body { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? ClosedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("comments")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Comments { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CommentsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("draft")] - public bool Draft { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string LabelsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("locked")] - public bool Locked { get; set; } - - /// - /// A collection of related issues and pull requests. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("milestone")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssuesClosedIssueMilestone? Milestone { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("performed_via_github_app")] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubApp? PerformedViaGithubApp { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] - public global::GitHub.WebhookIssuesClosedIssuePullRequest? PullRequest { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssuesClosedIssueReactions Reactions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoryUrl { get; set; } - - /// - /// State of the issue; either 'open' or 'closed' - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueStateJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssueState? State { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state_reason")] - public string? StateReason { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("timeline_url")] - public string? TimelineUrl { get; set; } - - /// - /// Title of the issue - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Title { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// URL for the issue - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("user")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssuesClosedIssueUser? User { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueActiveLockReason.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueActiveLockReason.g.cs deleted file mode 100644 index 12845dab..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueActiveLockReason.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssueActiveLockReason - { - /// - /// - /// - Resolved, - /// - /// - /// - OffTopic, - /// - /// - /// - TooHeated, - /// - /// - /// - Spam, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssueActiveLockReasonExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssueActiveLockReason value) - { - return value switch - { - WebhookIssuesClosedIssueActiveLockReason.Resolved => "resolved", - WebhookIssuesClosedIssueActiveLockReason.OffTopic => "off-topic", - WebhookIssuesClosedIssueActiveLockReason.TooHeated => "too heated", - WebhookIssuesClosedIssueActiveLockReason.Spam => "spam", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssueActiveLockReason? ToEnum(string value) - { - return value switch - { - "resolved" => WebhookIssuesClosedIssueActiveLockReason.Resolved, - "off-topic" => WebhookIssuesClosedIssueActiveLockReason.OffTopic, - "too heated" => WebhookIssuesClosedIssueActiveLockReason.TooHeated, - "spam" => WebhookIssuesClosedIssueActiveLockReason.Spam, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssignee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssignee.g.cs deleted file mode 100644 index 9e72fdb0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssignee.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesClosedIssueAssignee - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueAssigneeTypeJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssueAssigneeType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssigneeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssigneeType.g.cs deleted file mode 100644 index 816fb993..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssigneeType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssueAssigneeType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssueAssigneeTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssueAssigneeType value) - { - return value switch - { - WebhookIssuesClosedIssueAssigneeType.Bot => "Bot", - WebhookIssuesClosedIssueAssigneeType.User => "User", - WebhookIssuesClosedIssueAssigneeType.Organization => "Organization", - WebhookIssuesClosedIssueAssigneeType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssueAssigneeType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesClosedIssueAssigneeType.Bot, - "User" => WebhookIssuesClosedIssueAssigneeType.User, - "Organization" => WebhookIssuesClosedIssueAssigneeType.Organization, - "Mannequin" => WebhookIssuesClosedIssueAssigneeType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssignees.g.cs deleted file mode 100644 index 8cce9338..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesClosedIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssigneesType.g.cs deleted file mode 100644 index 563516f9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssueAssigneesType value) - { - return value switch - { - WebhookIssuesClosedIssueAssigneesType.Bot => "Bot", - WebhookIssuesClosedIssueAssigneesType.User => "User", - WebhookIssuesClosedIssueAssigneesType.Organization => "Organization", - WebhookIssuesClosedIssueAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesClosedIssueAssigneesType.Bot, - "User" => WebhookIssuesClosedIssueAssigneesType.User, - "Organization" => WebhookIssuesClosedIssueAssigneesType.Organization, - "Mannequin" => WebhookIssuesClosedIssueAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAuthorAssociation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAuthorAssociation.g.cs deleted file mode 100644 index 474bc968..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueAuthorAssociation.g.cs +++ /dev/null @@ -1,87 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// How the author is associated with the repository. - /// - public enum WebhookIssuesClosedIssueAuthorAssociation - { - /// - /// - /// - COLLABORATOR, - /// - /// - /// - CONTRIBUTOR, - /// - /// - /// - FIRSTTIMER, - /// - /// - /// - FIRSTTIMECONTRIBUTOR, - /// - /// - /// - MANNEQUIN, - /// - /// - /// - MEMBER, - /// - /// - /// - NONE, - /// - /// - /// - OWNER, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssueAuthorAssociationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssueAuthorAssociation value) - { - return value switch - { - WebhookIssuesClosedIssueAuthorAssociation.COLLABORATOR => "COLLABORATOR", - WebhookIssuesClosedIssueAuthorAssociation.CONTRIBUTOR => "CONTRIBUTOR", - WebhookIssuesClosedIssueAuthorAssociation.FIRSTTIMER => "FIRST_TIMER", - WebhookIssuesClosedIssueAuthorAssociation.FIRSTTIMECONTRIBUTOR => "FIRST_TIME_CONTRIBUTOR", - WebhookIssuesClosedIssueAuthorAssociation.MANNEQUIN => "MANNEQUIN", - WebhookIssuesClosedIssueAuthorAssociation.MEMBER => "MEMBER", - WebhookIssuesClosedIssueAuthorAssociation.NONE => "NONE", - WebhookIssuesClosedIssueAuthorAssociation.OWNER => "OWNER", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssueAuthorAssociation? ToEnum(string value) - { - return value switch - { - "COLLABORATOR" => WebhookIssuesClosedIssueAuthorAssociation.COLLABORATOR, - "CONTRIBUTOR" => WebhookIssuesClosedIssueAuthorAssociation.CONTRIBUTOR, - "FIRST_TIMER" => WebhookIssuesClosedIssueAuthorAssociation.FIRSTTIMER, - "FIRST_TIME_CONTRIBUTOR" => WebhookIssuesClosedIssueAuthorAssociation.FIRSTTIMECONTRIBUTOR, - "MANNEQUIN" => WebhookIssuesClosedIssueAuthorAssociation.MANNEQUIN, - "MEMBER" => WebhookIssuesClosedIssueAuthorAssociation.MEMBER, - "NONE" => WebhookIssuesClosedIssueAuthorAssociation.NONE, - "OWNER" => WebhookIssuesClosedIssueAuthorAssociation.OWNER, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueLabels.g.cs deleted file mode 100644 index 3f7fdaa8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesClosedIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestone.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestone.g.cs deleted file mode 100644 index 13664079..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestone.g.cs +++ /dev/null @@ -1,130 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// A collection of related issues and pull requests. - /// - public sealed partial class WebhookIssuesClosedIssueMilestone - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? ClosedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("closed_issues")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int ClosedIssues { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("creator")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssuesClosedIssueMilestoneCreator? Creator { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("due_on")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? DueOn { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string LabelsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// The number of the milestone. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("open_issues")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int OpenIssues { get; set; } - - /// - /// The state of the milestone. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueMilestoneStateJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssuesClosedIssueMilestoneState State { get; set; } - - /// - /// The title of the milestone. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Title { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestoneCreator.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestoneCreator.g.cs deleted file mode 100644 index 15eeb9a6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestoneCreator.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesClosedIssueMilestoneCreator - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueMilestoneCreatorTypeJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssueMilestoneCreatorType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestoneCreatorType.g.cs deleted file mode 100644 index df9f5e1e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestoneCreatorType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssueMilestoneCreatorType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssueMilestoneCreatorTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssueMilestoneCreatorType value) - { - return value switch - { - WebhookIssuesClosedIssueMilestoneCreatorType.Bot => "Bot", - WebhookIssuesClosedIssueMilestoneCreatorType.User => "User", - WebhookIssuesClosedIssueMilestoneCreatorType.Organization => "Organization", - WebhookIssuesClosedIssueMilestoneCreatorType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssueMilestoneCreatorType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesClosedIssueMilestoneCreatorType.Bot, - "User" => WebhookIssuesClosedIssueMilestoneCreatorType.User, - "Organization" => WebhookIssuesClosedIssueMilestoneCreatorType.Organization, - "Mannequin" => WebhookIssuesClosedIssueMilestoneCreatorType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestoneState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestoneState.g.cs deleted file mode 100644 index 14f82512..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueMilestoneState.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The state of the milestone. - /// - public enum WebhookIssuesClosedIssueMilestoneState - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssueMilestoneStateExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssueMilestoneState value) - { - return value switch - { - WebhookIssuesClosedIssueMilestoneState.Open => "open", - WebhookIssuesClosedIssueMilestoneState.Closed => "closed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssueMilestoneState? ToEnum(string value) - { - return value switch - { - "open" => WebhookIssuesClosedIssueMilestoneState.Open, - "closed" => WebhookIssuesClosedIssueMilestoneState.Closed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubApp.g.cs deleted file mode 100644 index f48df90e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubApp.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. - /// - public sealed partial class WebhookIssuesClosedIssuePerformedViaGithubApp - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// The list of events for the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("external_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? ExternalUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? Id { get; set; } - - /// - /// The name of the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("owner")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwner? Owner { get; set; } - - /// - /// The set of permissions for the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissions? Permissions { get; set; } - - /// - /// The slug name of the GitHub app - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime? UpdatedAt { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 60d4ca86..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,327 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - SecurityAndAnalysis, - /// - /// - /// - Reminder, - /// - /// - /// - PullRequestReviewThread, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.SecurityAndAnalysis => "security_and_analysis", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Reminder => "reminder", - WebhookIssuesClosedIssuePerformedViaGithubAppEvents.PullRequestReviewThread => "pull_request_review_thread", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.WorkflowRun, - "security_and_analysis" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.SecurityAndAnalysis, - "reminder" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.Reminder, - "pull_request_review_thread" => WebhookIssuesClosedIssuePerformedViaGithubAppEvents.PullRequestReviewThread, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppOwner.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppOwner.g.cs deleted file mode 100644 index 2ff08230..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppOwner.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesClosedIssuePerformedViaGithubAppOwner - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.g.cs deleted file mode 100644 index 1c021b35..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.Bot => "Bot", - WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.User => "User", - WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.Bot, - "User" => WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.User, - "Organization" => WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissions.g.cs deleted file mode 100644 index e4828d6d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissions.g.cs +++ /dev/null @@ -1,262 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The set of permissions for the GitHub app - /// - public sealed partial class WebhookIssuesClosedIssuePerformedViaGithubAppPermissions - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("actions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions? Actions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("administration")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration? Administration { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("checks")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks? Checks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content_references")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences? ContentReferences { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("contents")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents? Contents { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deployments")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments? Deployments { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("discussions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions? Discussions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("emails")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails? Emails { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("environments")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments? Environments { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("issues")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues? Issues { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("keys")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys? Keys { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers? Members { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata? Metadata { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_administration")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? OrganizationAdministration { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_hooks")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks? OrganizationHooks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_packages")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages? OrganizationPackages { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_plan")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan? OrganizationPlan { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_projects")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects? OrganizationProjects { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_secrets")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? OrganizationSecrets { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_self_hosted_runners")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? OrganizationSelfHostedRunners { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organization_user_blocking")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? OrganizationUserBlocking { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("packages")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages? Packages { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pages")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages? Pages { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests? PullRequests { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_hooks")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks? RepositoryHooks { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repository_projects")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects? RepositoryProjects { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_alerts")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? SecretScanningAlerts { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("secrets")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets? Secrets { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("security_events")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents? SecurityEvents { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("security_scanning_alert")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? SecurityScanningAlert { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("single_file")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile? SingleFile { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("statuses")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses? Statuses { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("team_discussions")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions? TeamDiscussions { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerability_alerts")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? VulnerabilityAlerts { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("workflows")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows? Workflows { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions.g.cs deleted file mode 100644 index adeaeb87..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration.g.cs deleted file mode 100644 index f61fc814..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks.g.cs deleted file mode 100644 index f772155e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs deleted file mode 100644 index dedc8417..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents.g.cs deleted file mode 100644 index 5efa7be7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments.g.cs deleted file mode 100644 index 8c019601..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs deleted file mode 100644 index 1651e636..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails.g.cs deleted file mode 100644 index 3a3943db..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs deleted file mode 100644 index 529f08f0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues.g.cs deleted file mode 100644 index 3bc1273b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys.g.cs deleted file mode 100644 index b3126aac..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers.g.cs deleted file mode 100644 index 7873665a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata.g.cs deleted file mode 100644 index 89189881..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs deleted file mode 100644 index 8df53ebc..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs deleted file mode 100644 index 3b635512..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs deleted file mode 100644 index 980635cb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs deleted file mode 100644 index d6870fd6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs deleted file mode 100644 index acf11e1e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects - { - /// - /// - /// - Read, - /// - /// - /// - Write, - /// - /// - /// - Admin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Write => "write", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Admin => "admin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Write, - "admin" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.Admin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs deleted file mode 100644 index e62c8ac7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs deleted file mode 100644 index 00568e41..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs deleted file mode 100644 index 28b2cd67..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages.g.cs deleted file mode 100644 index 03f2f04f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages.g.cs deleted file mode 100644 index 97aef26c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs deleted file mode 100644 index 1d0f2a48..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs deleted file mode 100644 index 0806ddcd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs deleted file mode 100644 index eb1ec185..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs deleted file mode 100644 index 72248120..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets.g.cs deleted file mode 100644 index 9e9ac3d6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs deleted file mode 100644 index b56bfaaa..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs deleted file mode 100644 index f1d6a02e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs deleted file mode 100644 index 127cdfbd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses.g.cs deleted file mode 100644 index 255bfc59..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs deleted file mode 100644 index e70364f1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs deleted file mode 100644 index 852fa10d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs deleted file mode 100644 index bdc0f517..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows - { - /// - /// - /// - Read, - /// - /// - /// - Write, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows value) - { - return value switch - { - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows.Read => "read", - WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows.Write => "write", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows? ToEnum(string value) - { - return value switch - { - "read" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows.Read, - "write" => WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows.Write, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePullRequest.g.cs deleted file mode 100644 index de71e9e1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssuePullRequest.g.cs +++ /dev/null @@ -1,47 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesClosedIssuePullRequest - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("diff_url")] - public string? DiffUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("merged_at")] - public global::System.DateTime? MergedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("patch_url")] - public string? PatchUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueReactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueReactions.g.cs deleted file mode 100644 index e4e863c2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueReactions.g.cs +++ /dev/null @@ -1,87 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesClosedIssueReactions - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("+1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Plus1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("-1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Minus1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("confused")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Confused { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Eyes { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("heart")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Heart { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Hooray { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Laugh { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Rocket { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int TotalCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueState.g.cs deleted file mode 100644 index d5324a63..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueState.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// State of the issue; either 'open' or 'closed' - /// - public enum WebhookIssuesClosedIssueState - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssueStateExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssueState value) - { - return value switch - { - WebhookIssuesClosedIssueState.Open => "open", - WebhookIssuesClosedIssueState.Closed => "closed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssueState? ToEnum(string value) - { - return value switch - { - "open" => WebhookIssuesClosedIssueState.Open, - "closed" => WebhookIssuesClosedIssueState.Closed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueUser.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueUser.g.cs deleted file mode 100644 index 5de41496..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueUser.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesClosedIssueUser - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueUserTypeJsonConverter))] - public global::GitHub.WebhookIssuesClosedIssueUserType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueUserType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueUserType.g.cs deleted file mode 100644 index 8e3915dc..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueUserType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesClosedIssueUserType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesClosedIssueUserTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesClosedIssueUserType value) - { - return value switch - { - WebhookIssuesClosedIssueUserType.Bot => "Bot", - WebhookIssuesClosedIssueUserType.User => "User", - WebhookIssuesClosedIssueUserType.Organization => "Organization", - WebhookIssuesClosedIssueUserType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesClosedIssueUserType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesClosedIssueUserType.Bot, - "User" => WebhookIssuesClosedIssueUserType.User, - "Organization" => WebhookIssuesClosedIssueUserType.Organization, - "Mannequin" => WebhookIssuesClosedIssueUserType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1.g.cs new file mode 100644 index 00000000..3e17269e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1.g.cs @@ -0,0 +1,221 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. + /// + public sealed partial class WebhookIssuesClosedIssueVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("active_lock_reason")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1ActiveLockReasonJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssuesClosedIssueVariant1ActiveLockReason? ActiveLockReason { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] + public global::GitHub.WebhookIssuesClosedIssueVariant1Assignee? Assignee { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Assignees { get; set; } + + /// + /// How the author is associated with the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1AuthorAssociationJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssuesClosedIssueVariant1AuthorAssociation AuthorAssociation { get; set; } + + /// + /// Contents of the issue + /// + [global::System.Text.Json.Serialization.JsonPropertyName("body")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Body { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? ClosedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Comments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CommentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("draft")] + public bool Draft { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels")] + public global::System.Collections.Generic.IList? Labels { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked")] + public bool Locked { get; set; } + + /// + /// A collection of related issues and pull requests. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("milestone")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssuesClosedIssueVariant1Milestone? Milestone { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("performed_via_github_app")] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubApp? PerformedViaGithubApp { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] + public global::GitHub.WebhookIssuesClosedIssueVariant1PullRequest? PullRequest { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssuesClosedIssueVariant1Reactions Reactions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoryUrl { get; set; } + + /// + /// State of the issue; either 'open' or 'closed' + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1StateJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1State? State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state_reason")] + public string? StateReason { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("timeline_url")] + public string? TimelineUrl { get; set; } + + /// + /// Title of the issue + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// URL for the issue + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssuesClosedIssueVariant1User? User { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1ActiveLockReason.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1ActiveLockReason.g.cs new file mode 100644 index 00000000..91a6b68d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1ActiveLockReason.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1ActiveLockReason + { + /// + /// + /// + Resolved, + /// + /// + /// + OffTopic, + /// + /// + /// + TooHeated, + /// + /// + /// + Spam, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1ActiveLockReasonExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1ActiveLockReason value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1ActiveLockReason.Resolved => "resolved", + WebhookIssuesClosedIssueVariant1ActiveLockReason.OffTopic => "off-topic", + WebhookIssuesClosedIssueVariant1ActiveLockReason.TooHeated => "too heated", + WebhookIssuesClosedIssueVariant1ActiveLockReason.Spam => "spam", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1ActiveLockReason? ToEnum(string value) + { + return value switch + { + "resolved" => WebhookIssuesClosedIssueVariant1ActiveLockReason.Resolved, + "off-topic" => WebhookIssuesClosedIssueVariant1ActiveLockReason.OffTopic, + "too heated" => WebhookIssuesClosedIssueVariant1ActiveLockReason.TooHeated, + "spam" => WebhookIssuesClosedIssueVariant1ActiveLockReason.Spam, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Assignee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Assignee.g.cs new file mode 100644 index 00000000..457b138f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Assignee.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant1Assignee + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeTypeJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Assignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Assignee2.g.cs new file mode 100644 index 00000000..7b373ebb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Assignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant1Assignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType2JsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1AssigneeType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1AssigneeType.g.cs new file mode 100644 index 00000000..e3f8847b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1AssigneeType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1AssigneeType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1AssigneeTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1AssigneeType value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1AssigneeType.Bot => "Bot", + WebhookIssuesClosedIssueVariant1AssigneeType.User => "User", + WebhookIssuesClosedIssueVariant1AssigneeType.Organization => "Organization", + WebhookIssuesClosedIssueVariant1AssigneeType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1AssigneeType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesClosedIssueVariant1AssigneeType.Bot, + "User" => WebhookIssuesClosedIssueVariant1AssigneeType.User, + "Organization" => WebhookIssuesClosedIssueVariant1AssigneeType.Organization, + "Mannequin" => WebhookIssuesClosedIssueVariant1AssigneeType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1AssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1AssigneeType2.g.cs new file mode 100644 index 00000000..4c5bf546 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1AssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1AssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1AssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1AssigneeType2 value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1AssigneeType2.Bot => "Bot", + WebhookIssuesClosedIssueVariant1AssigneeType2.User => "User", + WebhookIssuesClosedIssueVariant1AssigneeType2.Organization => "Organization", + WebhookIssuesClosedIssueVariant1AssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1AssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesClosedIssueVariant1AssigneeType2.Bot, + "User" => WebhookIssuesClosedIssueVariant1AssigneeType2.User, + "Organization" => WebhookIssuesClosedIssueVariant1AssigneeType2.Organization, + "Mannequin" => WebhookIssuesClosedIssueVariant1AssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1AuthorAssociation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1AuthorAssociation.g.cs new file mode 100644 index 00000000..4105819d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1AuthorAssociation.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// How the author is associated with the repository. + /// + public enum WebhookIssuesClosedIssueVariant1AuthorAssociation + { + /// + /// + /// + COLLABORATOR, + /// + /// + /// + CONTRIBUTOR, + /// + /// + /// + FIRSTTIMER, + /// + /// + /// + FIRSTTIMECONTRIBUTOR, + /// + /// + /// + MANNEQUIN, + /// + /// + /// + MEMBER, + /// + /// + /// + NONE, + /// + /// + /// + OWNER, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1AuthorAssociationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1AuthorAssociation value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1AuthorAssociation.COLLABORATOR => "COLLABORATOR", + WebhookIssuesClosedIssueVariant1AuthorAssociation.CONTRIBUTOR => "CONTRIBUTOR", + WebhookIssuesClosedIssueVariant1AuthorAssociation.FIRSTTIMER => "FIRST_TIMER", + WebhookIssuesClosedIssueVariant1AuthorAssociation.FIRSTTIMECONTRIBUTOR => "FIRST_TIME_CONTRIBUTOR", + WebhookIssuesClosedIssueVariant1AuthorAssociation.MANNEQUIN => "MANNEQUIN", + WebhookIssuesClosedIssueVariant1AuthorAssociation.MEMBER => "MEMBER", + WebhookIssuesClosedIssueVariant1AuthorAssociation.NONE => "NONE", + WebhookIssuesClosedIssueVariant1AuthorAssociation.OWNER => "OWNER", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1AuthorAssociation? ToEnum(string value) + { + return value switch + { + "COLLABORATOR" => WebhookIssuesClosedIssueVariant1AuthorAssociation.COLLABORATOR, + "CONTRIBUTOR" => WebhookIssuesClosedIssueVariant1AuthorAssociation.CONTRIBUTOR, + "FIRST_TIMER" => WebhookIssuesClosedIssueVariant1AuthorAssociation.FIRSTTIMER, + "FIRST_TIME_CONTRIBUTOR" => WebhookIssuesClosedIssueVariant1AuthorAssociation.FIRSTTIMECONTRIBUTOR, + "MANNEQUIN" => WebhookIssuesClosedIssueVariant1AuthorAssociation.MANNEQUIN, + "MEMBER" => WebhookIssuesClosedIssueVariant1AuthorAssociation.MEMBER, + "NONE" => WebhookIssuesClosedIssueVariant1AuthorAssociation.NONE, + "OWNER" => WebhookIssuesClosedIssueVariant1AuthorAssociation.OWNER, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Label.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Label.g.cs new file mode 100644 index 00000000..770a6535 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Label.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant1Label + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Milestone.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Milestone.g.cs new file mode 100644 index 00000000..e861c72a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Milestone.g.cs @@ -0,0 +1,130 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// A collection of related issues and pull requests. + /// + public sealed partial class WebhookIssuesClosedIssueVariant1Milestone + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? ClosedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_issues")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ClosedIssues { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("creator")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreator? Creator { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("due_on")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? DueOn { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// The number of the milestone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("open_issues")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int OpenIssues { get; set; } + + /// + /// The state of the milestone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneStateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneState State { get; set; } + + /// + /// The title of the milestone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1MilestoneCreator.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1MilestoneCreator.g.cs new file mode 100644 index 00000000..3b2e0025 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1MilestoneCreator.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant1MilestoneCreator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreatorType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1MilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1MilestoneCreatorType.g.cs new file mode 100644 index 00000000..d30fd85e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1MilestoneCreatorType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1MilestoneCreatorType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1MilestoneCreatorType value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1MilestoneCreatorType.Bot => "Bot", + WebhookIssuesClosedIssueVariant1MilestoneCreatorType.User => "User", + WebhookIssuesClosedIssueVariant1MilestoneCreatorType.Organization => "Organization", + WebhookIssuesClosedIssueVariant1MilestoneCreatorType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1MilestoneCreatorType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesClosedIssueVariant1MilestoneCreatorType.Bot, + "User" => WebhookIssuesClosedIssueVariant1MilestoneCreatorType.User, + "Organization" => WebhookIssuesClosedIssueVariant1MilestoneCreatorType.Organization, + "Mannequin" => WebhookIssuesClosedIssueVariant1MilestoneCreatorType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1MilestoneState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1MilestoneState.g.cs new file mode 100644 index 00000000..24dea032 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1MilestoneState.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The state of the milestone. + /// + public enum WebhookIssuesClosedIssueVariant1MilestoneState + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1MilestoneStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1MilestoneState value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1MilestoneState.Open => "open", + WebhookIssuesClosedIssueVariant1MilestoneState.Closed => "closed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1MilestoneState? ToEnum(string value) + { + return value switch + { + "open" => WebhookIssuesClosedIssueVariant1MilestoneState.Open, + "closed" => WebhookIssuesClosedIssueVariant1MilestoneState.Closed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubApp.g.cs new file mode 100644 index 00000000..3cd2cf51 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubApp.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. + /// + public sealed partial class WebhookIssuesClosedIssueVariant1PerformedViaGithubApp + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// The list of events for the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events")] + public global::System.Collections.Generic.IList? Events { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("external_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? ExternalUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? Id { get; set; } + + /// + /// The name of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("owner")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwner? Owner { get; set; } + + /// + /// The set of permissions for the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissions? Permissions { get; set; } + + /// + /// The slug name of the GitHub app + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime? UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..f1311f99 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.g.cs @@ -0,0 +1,327 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + SecurityAndAnalysis, + /// + /// + /// + Reminder, + /// + /// + /// + PullRequestReviewThread, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Create => "create", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Delete => "delete", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Fork => "fork", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Issues => "issues", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Label => "label", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Member => "member", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Membership => "membership", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Organization => "organization", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Project => "project", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Public => "public", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Push => "push", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Release => "release", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Repository => "repository", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Star => "star", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Status => "status", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Team => "team", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Watch => "watch", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.SecurityAndAnalysis => "security_and_analysis", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Reminder => "reminder", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewThread => "pull_request_review_thread", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Create, + "delete" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Label, + "member" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Member, + "membership" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Release, + "repository" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Star, + "status" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Status, + "team" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.WorkflowRun, + "security_and_analysis" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.SecurityAndAnalysis, + "reminder" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.Reminder, + "pull_request_review_thread" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.PullRequestReviewThread, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwner.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwner.g.cs new file mode 100644 index 00000000..d74781cc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwner.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwner + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.g.cs new file mode 100644 index 00000000..ba13d1d9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.Bot => "Bot", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.User => "User", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.Bot, + "User" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.User, + "Organization" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissions.g.cs new file mode 100644 index 00000000..dd6ccfdc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissions.g.cs @@ -0,0 +1,262 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The set of permissions for the GitHub app + /// + public sealed partial class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("actions")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions? Actions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("administration")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Administration { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("checks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks? Checks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content_references")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? ContentReferences { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contents")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents? Contents { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deployments")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Deployments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("discussions")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Discussions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("emails")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails? Emails { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("environments")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Environments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("issues")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues? Issues { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("keys")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys? Keys { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers? Members { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Metadata { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_administration")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? OrganizationAdministration { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_hooks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? OrganizationHooks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_packages")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? OrganizationPackages { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_plan")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? OrganizationPlan { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_projects")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? OrganizationProjects { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_secrets")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? OrganizationSecrets { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_self_hosted_runners")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? OrganizationSelfHostedRunners { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_user_blocking")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? OrganizationUserBlocking { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("packages")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages? Packages { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pages")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages? Pages { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? PullRequests { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_hooks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? RepositoryHooks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_projects")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? RepositoryProjects { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_scanning_alerts")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? SecretScanningAlerts { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secrets")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Secrets { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("security_events")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? SecurityEvents { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("security_scanning_alert")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? SecurityScanningAlert { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("single_file")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? SingleFile { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("statuses")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Statuses { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("team_discussions")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? TeamDiscussions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vulnerability_alerts")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? VulnerabilityAlerts { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("workflows")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Workflows { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs new file mode 100644 index 00000000..a88d403f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs new file mode 100644 index 00000000..0532b352 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs new file mode 100644 index 00000000..fc48b924 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs new file mode 100644 index 00000000..af82b60d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs new file mode 100644 index 00000000..7c34d180 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs new file mode 100644 index 00000000..3ffc38eb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs new file mode 100644 index 00000000..265b1111 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs new file mode 100644 index 00000000..de8d8dbc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs new file mode 100644 index 00000000..72eee75d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs new file mode 100644 index 00000000..e4a183b3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs new file mode 100644 index 00000000..023d7209 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs new file mode 100644 index 00000000..6deb8e30 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs new file mode 100644 index 00000000..5e48a48b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs new file mode 100644 index 00000000..f5e5a0fb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs new file mode 100644 index 00000000..4d3821f5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs new file mode 100644 index 00000000..0b99fa78 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs new file mode 100644 index 00000000..f4fede46 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs new file mode 100644 index 00000000..9923338c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects + { + /// + /// + /// + Read, + /// + /// + /// + Write, + /// + /// + /// + Admin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Write => "write", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Admin => "admin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Write, + "admin" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.Admin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs new file mode 100644 index 00000000..ce6b5769 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs new file mode 100644 index 00000000..d3750569 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs new file mode 100644 index 00000000..574e5831 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs new file mode 100644 index 00000000..4d8bf810 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs new file mode 100644 index 00000000..4975ec87 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs new file mode 100644 index 00000000..a784611c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs new file mode 100644 index 00000000..5f5f29f1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs new file mode 100644 index 00000000..545da24f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs new file mode 100644 index 00000000..7e95ef61 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs new file mode 100644 index 00000000..4a5e3a7f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs new file mode 100644 index 00000000..dece5f8a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs new file mode 100644 index 00000000..6653612d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs new file mode 100644 index 00000000..3f3cf77e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs new file mode 100644 index 00000000..8529625f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs new file mode 100644 index 00000000..b3cff47c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs new file mode 100644 index 00000000..3c6fb9c9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs new file mode 100644 index 00000000..e2775fdd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows + { + /// + /// + /// + Read, + /// + /// + /// + Write, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Read => "read", + WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Write => "write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? ToEnum(string value) + { + return value switch + { + "read" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Read, + "write" => WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.Write, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PullRequest.g.cs new file mode 100644 index 00000000..056df457 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1PullRequest.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant1PullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("diff_url")] + public string? DiffUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("merged_at")] + public global::System.DateTime? MergedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("patch_url")] + public string? PatchUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Reactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Reactions.g.cs new file mode 100644 index 00000000..2dc9d1d6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1Reactions.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant1Reactions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("+1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Plus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("-1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Minus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("confused")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Confused { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Eyes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("heart")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Heart { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Hooray { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Laugh { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Rocket { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int TotalCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1State.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1State.g.cs new file mode 100644 index 00000000..e1fcefb7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1State.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// State of the issue; either 'open' or 'closed' + /// + public enum WebhookIssuesClosedIssueVariant1State + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1StateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1State value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1State.Open => "open", + WebhookIssuesClosedIssueVariant1State.Closed => "closed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1State? ToEnum(string value) + { + return value switch + { + "open" => WebhookIssuesClosedIssueVariant1State.Open, + "closed" => WebhookIssuesClosedIssueVariant1State.Closed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1User.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1User.g.cs new file mode 100644 index 00000000..e8c6bfbb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1User.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant1User + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1UserTypeJsonConverter))] + public global::GitHub.WebhookIssuesClosedIssueVariant1UserType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1UserType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1UserType.g.cs new file mode 100644 index 00000000..48cbf762 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant1UserType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant1UserType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant1UserTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant1UserType value) + { + return value switch + { + WebhookIssuesClosedIssueVariant1UserType.Bot => "Bot", + WebhookIssuesClosedIssueVariant1UserType.User => "User", + WebhookIssuesClosedIssueVariant1UserType.Organization => "Organization", + WebhookIssuesClosedIssueVariant1UserType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant1UserType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesClosedIssueVariant1UserType.Bot, + "User" => WebhookIssuesClosedIssueVariant1UserType.User, + "Organization" => WebhookIssuesClosedIssueVariant1UserType.Organization, + "Mannequin" => WebhookIssuesClosedIssueVariant1UserType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2.g.cs new file mode 100644 index 00000000..6b0ddbd3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2.g.cs @@ -0,0 +1,182 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("active_lock_reason")] + public string? ActiveLockReason { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignee")] + public global::GitHub.WebhookIssuesClosedIssueVariant2Assignee? Assignee { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] + public global::System.Collections.Generic.IList? Assignees { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] + public string? AuthorAssociation { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("body")] + public string? Body { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("closed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? ClosedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments")] + public int Comments { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("comments_url")] + public string? CommentsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public string? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels")] + public global::System.Collections.Generic.IList? Labels { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels_url")] + public string? LabelsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("locked")] + public bool Locked { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("milestone")] + public global::GitHub.WebhookIssuesClosedIssueVariant2Milestone? Milestone { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + public int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("performed_via_github_app")] + public global::GitHub.WebhookIssuesClosedIssueVariant2PerformedViaGithubApp? PerformedViaGithubApp { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] + public global::GitHub.WebhookIssuesClosedIssueVariant2Reactions? Reactions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_url")] + public string? RepositoryUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant2StateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookIssuesClosedIssueVariant2State State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("timeline_url")] + public string? TimelineUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public string? UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + public global::GitHub.WebhookIssuesClosedIssueVariant2User? User { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Assignee.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Assignee.g.cs new file mode 100644 index 00000000..86a6325f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Assignee.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant2Assignee + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Assignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Assignee2.g.cs new file mode 100644 index 00000000..5e9238d0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Assignee2.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant2Assignee2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Label.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Label.g.cs new file mode 100644 index 00000000..36b54be7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Label.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant2Label + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Milestone.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Milestone.g.cs new file mode 100644 index 00000000..b739cc65 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Milestone.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant2Milestone + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2PerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2PerformedViaGithubApp.g.cs new file mode 100644 index 00000000..84c5ba89 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2PerformedViaGithubApp.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant2PerformedViaGithubApp + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Reactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Reactions.g.cs new file mode 100644 index 00000000..7e570ed7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2Reactions.g.cs @@ -0,0 +1,77 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant2Reactions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("+1")] + public int Plus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("-1")] + public int Minus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("confused")] + public int Confused { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] + public int Eyes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("heart")] + public int Heart { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] + public int Hooray { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] + public int Laugh { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] + public int Rocket { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] + public int TotalCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2State.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2State.g.cs new file mode 100644 index 00000000..f22e3edb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2State.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesClosedIssueVariant2State + { + /// + /// + /// + Closed, + /// + /// + /// + Open, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesClosedIssueVariant2StateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesClosedIssueVariant2State value) + { + return value switch + { + WebhookIssuesClosedIssueVariant2State.Closed => "closed", + WebhookIssuesClosedIssueVariant2State.Open => "open", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesClosedIssueVariant2State? ToEnum(string value) + { + return value switch + { + "closed" => WebhookIssuesClosedIssueVariant2State.Closed, + "open" => WebhookIssuesClosedIssueVariant2State.Open, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2User.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2User.g.cs new file mode 100644 index 00000000..01512abd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesClosedIssueVariant2User.g.cs @@ -0,0 +1,125 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesClosedIssueVariant2User + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + public string? Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssue.g.cs index f144275a..6b9cc99a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssue.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookIssuesDeletedIssue ///
[global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -103,7 +103,7 @@ public sealed partial class WebhookIssuesDeletedIssue /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssignee2.g.cs new file mode 100644 index 00000000..6aaacf64 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesDeletedIssueAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueAssigneeType2JsonConverter))] + public global::GitHub.WebhookIssuesDeletedIssueAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..0c82cee6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesDeletedIssueAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesDeletedIssueAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesDeletedIssueAssigneeType2 value) + { + return value switch + { + WebhookIssuesDeletedIssueAssigneeType2.Bot => "Bot", + WebhookIssuesDeletedIssueAssigneeType2.User => "User", + WebhookIssuesDeletedIssueAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesDeletedIssueAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesDeletedIssueAssigneeType2.Bot, + "User" => WebhookIssuesDeletedIssueAssigneeType2.User, + "Organization" => WebhookIssuesDeletedIssueAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssignees.g.cs deleted file mode 100644 index b0d10229..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesDeletedIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssuesDeletedIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssigneesType.g.cs deleted file mode 100644 index a260afa0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesDeletedIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesDeletedIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesDeletedIssueAssigneesType value) - { - return value switch - { - WebhookIssuesDeletedIssueAssigneesType.Bot => "Bot", - WebhookIssuesDeletedIssueAssigneesType.User => "User", - WebhookIssuesDeletedIssueAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesDeletedIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesDeletedIssueAssigneesType.Bot, - "User" => WebhookIssuesDeletedIssueAssigneesType.User, - "Organization" => WebhookIssuesDeletedIssueAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueLabel.g.cs new file mode 100644 index 00000000..26c26fb5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesDeletedIssueLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueLabels.g.cs deleted file mode 100644 index 5f28efbf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesDeletedIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssuePerformedViaGithubApp.g.cs index 05921c8e..0afac87a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssuePerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssuePerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookIssuesDeletedIssuePerformedViaGithubApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..d370584b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,315 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesDeletedIssuePerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + Reminder, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesDeletedIssuePerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesDeletedIssuePerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Create => "create", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Delete => "delete", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Fork => "fork", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Issues => "issues", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Label => "label", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Member => "member", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Membership => "membership", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Organization => "organization", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Project => "project", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Public => "public", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Push => "push", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Release => "release", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Repository => "repository", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Star => "star", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Status => "status", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Team => "team", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Watch => "watch", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Reminder => "reminder", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesDeletedIssuePerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Create, + "delete" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Label, + "member" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Member, + "membership" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Release, + "repository" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Star, + "status" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Status, + "team" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.WorkflowRun, + "reminder" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.Reminder, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 2d9664f1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,315 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesDeletedIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - Reminder, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesDeletedIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesDeletedIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Reminder => "reminder", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesDeletedIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.WorkflowRun, - "reminder" => WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.Reminder, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssue.g.cs index c6b1a503..a09b1549 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssue.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookIssuesDemilestonedIssue /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -103,7 +103,7 @@ public sealed partial class WebhookIssuesDemilestonedIssue /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssignee2.g.cs new file mode 100644 index 00000000..3dc24c72 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesDemilestonedIssueAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueAssigneeType2JsonConverter))] + public global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..14686b33 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesDemilestonedIssueAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesDemilestonedIssueAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesDemilestonedIssueAssigneeType2 value) + { + return value switch + { + WebhookIssuesDemilestonedIssueAssigneeType2.Bot => "Bot", + WebhookIssuesDemilestonedIssueAssigneeType2.User => "User", + WebhookIssuesDemilestonedIssueAssigneeType2.Organization => "Organization", + WebhookIssuesDemilestonedIssueAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesDemilestonedIssueAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesDemilestonedIssueAssigneeType2.Bot, + "User" => WebhookIssuesDemilestonedIssueAssigneeType2.User, + "Organization" => WebhookIssuesDemilestonedIssueAssigneeType2.Organization, + "Mannequin" => WebhookIssuesDemilestonedIssueAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssignees.g.cs deleted file mode 100644 index 41b83552..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesDemilestonedIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssuesDemilestonedIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssigneesType.g.cs deleted file mode 100644 index d2e9ee3d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesDemilestonedIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesDemilestonedIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesDemilestonedIssueAssigneesType value) - { - return value switch - { - WebhookIssuesDemilestonedIssueAssigneesType.Bot => "Bot", - WebhookIssuesDemilestonedIssueAssigneesType.User => "User", - WebhookIssuesDemilestonedIssueAssigneesType.Organization => "Organization", - WebhookIssuesDemilestonedIssueAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesDemilestonedIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesDemilestonedIssueAssigneesType.Bot, - "User" => WebhookIssuesDemilestonedIssueAssigneesType.User, - "Organization" => WebhookIssuesDemilestonedIssueAssigneesType.Organization, - "Mannequin" => WebhookIssuesDemilestonedIssueAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueLabel.g.cs new file mode 100644 index 00000000..72fbfa9c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesDemilestonedIssueLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueLabels.g.cs deleted file mode 100644 index be3b880a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesDemilestonedIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssuePerformedViaGithubApp.g.cs index 09b88f05..1b284dbc 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssuePerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssuePerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookIssuesDemilestonedIssuePerformedViaGithubApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..c4e2e576 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,309 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Create => "create", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Delete => "delete", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Fork => "fork", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Issues => "issues", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Label => "label", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Member => "member", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Membership => "membership", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Organization => "organization", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Project => "project", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Public => "public", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Push => "push", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Release => "release", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Repository => "repository", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Star => "star", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Status => "status", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Team => "team", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Watch => "watch", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Create, + "delete" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Label, + "member" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Member, + "membership" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Release, + "repository" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Star, + "status" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Status, + "team" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.WorkflowRun, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 44a31899..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,309 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.WorkflowRun, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssue.g.cs index b7a69f27..fedf67ee 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssue.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookIssuesEditedIssue /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -103,7 +103,7 @@ public sealed partial class WebhookIssuesEditedIssue /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssignee2.g.cs new file mode 100644 index 00000000..2fb3cce5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesEditedIssueAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueAssigneeType2JsonConverter))] + public global::GitHub.WebhookIssuesEditedIssueAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..6f674761 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesEditedIssueAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesEditedIssueAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesEditedIssueAssigneeType2 value) + { + return value switch + { + WebhookIssuesEditedIssueAssigneeType2.Bot => "Bot", + WebhookIssuesEditedIssueAssigneeType2.User => "User", + WebhookIssuesEditedIssueAssigneeType2.Organization => "Organization", + WebhookIssuesEditedIssueAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesEditedIssueAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesEditedIssueAssigneeType2.Bot, + "User" => WebhookIssuesEditedIssueAssigneeType2.User, + "Organization" => WebhookIssuesEditedIssueAssigneeType2.Organization, + "Mannequin" => WebhookIssuesEditedIssueAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssignees.g.cs deleted file mode 100644 index 015084b5..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesEditedIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssuesEditedIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssigneesType.g.cs deleted file mode 100644 index 4e34bbc8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesEditedIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesEditedIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesEditedIssueAssigneesType value) - { - return value switch - { - WebhookIssuesEditedIssueAssigneesType.Bot => "Bot", - WebhookIssuesEditedIssueAssigneesType.User => "User", - WebhookIssuesEditedIssueAssigneesType.Organization => "Organization", - WebhookIssuesEditedIssueAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesEditedIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesEditedIssueAssigneesType.Bot, - "User" => WebhookIssuesEditedIssueAssigneesType.User, - "Organization" => WebhookIssuesEditedIssueAssigneesType.Organization, - "Mannequin" => WebhookIssuesEditedIssueAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueLabel.g.cs new file mode 100644 index 00000000..db29f084 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesEditedIssueLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueLabels.g.cs deleted file mode 100644 index 845a53f9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesEditedIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssuePerformedViaGithubApp.g.cs index 084ebeb8..644d211e 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssuePerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssuePerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookIssuesEditedIssuePerformedViaGithubApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..4a5c8645 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,327 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesEditedIssuePerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + SecurityAndAnalysis, + /// + /// + /// + PullRequestReviewThread, + /// + /// + /// + Reminder, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesEditedIssuePerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesEditedIssuePerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Create => "create", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Delete => "delete", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Fork => "fork", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Issues => "issues", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Label => "label", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Member => "member", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Membership => "membership", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Organization => "organization", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Project => "project", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Public => "public", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Push => "push", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Release => "release", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Repository => "repository", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Star => "star", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Status => "status", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Team => "team", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Watch => "watch", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.SecurityAndAnalysis => "security_and_analysis", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.PullRequestReviewThread => "pull_request_review_thread", + WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Reminder => "reminder", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesEditedIssuePerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Create, + "delete" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Label, + "member" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Member, + "membership" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Release, + "repository" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Star, + "status" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Status, + "team" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.WorkflowRun, + "security_and_analysis" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.SecurityAndAnalysis, + "pull_request_review_thread" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.PullRequestReviewThread, + "reminder" => WebhookIssuesEditedIssuePerformedViaGithubAppEvent.Reminder, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 4c3ddf61..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesEditedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,327 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesEditedIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - SecurityAndAnalysis, - /// - /// - /// - PullRequestReviewThread, - /// - /// - /// - Reminder, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesEditedIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesEditedIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.SecurityAndAnalysis => "security_and_analysis", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.PullRequestReviewThread => "pull_request_review_thread", - WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Reminder => "reminder", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesEditedIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.WorkflowRun, - "security_and_analysis" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.SecurityAndAnalysis, - "pull_request_review_thread" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.PullRequestReviewThread, - "reminder" => WebhookIssuesEditedIssuePerformedViaGithubAppEvents.Reminder, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssue.g.cs index 3a9ac698..2c2ac26f 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssue.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookIssuesLabeledIssue /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -103,7 +103,7 @@ public sealed partial class WebhookIssuesLabeledIssue /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssignee2.g.cs new file mode 100644 index 00000000..c21560da --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesLabeledIssueAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAssigneeType2JsonConverter))] + public global::GitHub.WebhookIssuesLabeledIssueAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssigneeType2.g.cs new file mode 100644 index 00000000..4b636af5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesLabeledIssueAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesLabeledIssueAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesLabeledIssueAssigneeType2 value) + { + return value switch + { + WebhookIssuesLabeledIssueAssigneeType2.Bot => "Bot", + WebhookIssuesLabeledIssueAssigneeType2.User => "User", + WebhookIssuesLabeledIssueAssigneeType2.Organization => "Organization", + WebhookIssuesLabeledIssueAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesLabeledIssueAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesLabeledIssueAssigneeType2.Bot, + "User" => WebhookIssuesLabeledIssueAssigneeType2.User, + "Organization" => WebhookIssuesLabeledIssueAssigneeType2.Organization, + "Mannequin" => WebhookIssuesLabeledIssueAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssignees.g.cs deleted file mode 100644 index 791a0b91..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesLabeledIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssuesLabeledIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssigneesType.g.cs deleted file mode 100644 index ef6d3302..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesLabeledIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesLabeledIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesLabeledIssueAssigneesType value) - { - return value switch - { - WebhookIssuesLabeledIssueAssigneesType.Bot => "Bot", - WebhookIssuesLabeledIssueAssigneesType.User => "User", - WebhookIssuesLabeledIssueAssigneesType.Organization => "Organization", - WebhookIssuesLabeledIssueAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesLabeledIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesLabeledIssueAssigneesType.Bot, - "User" => WebhookIssuesLabeledIssueAssigneesType.User, - "Organization" => WebhookIssuesLabeledIssueAssigneesType.Organization, - "Mannequin" => WebhookIssuesLabeledIssueAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueLabel.g.cs new file mode 100644 index 00000000..bbd989a3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesLabeledIssueLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueLabels.g.cs deleted file mode 100644 index 19f42b08..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesLabeledIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssuePerformedViaGithubApp.g.cs index e6ddc099..d7e02ba0 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssuePerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssuePerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookIssuesLabeledIssuePerformedViaGithubApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..3c06b942 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,321 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesLabeledIssuePerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + PullRequestReviewThread, + /// + /// + /// + Reminder, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesLabeledIssuePerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesLabeledIssuePerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Create => "create", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Delete => "delete", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Fork => "fork", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Issues => "issues", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Label => "label", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Member => "member", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Membership => "membership", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Organization => "organization", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Project => "project", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Public => "public", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Push => "push", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Release => "release", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Repository => "repository", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Star => "star", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Status => "status", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Team => "team", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Watch => "watch", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.PullRequestReviewThread => "pull_request_review_thread", + WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Reminder => "reminder", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesLabeledIssuePerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Create, + "delete" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Label, + "member" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Member, + "membership" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Release, + "repository" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Star, + "status" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Status, + "team" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.WorkflowRun, + "pull_request_review_thread" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.PullRequestReviewThread, + "reminder" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.Reminder, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 40252e49..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,321 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesLabeledIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - PullRequestReviewThread, - /// - /// - /// - Reminder, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesLabeledIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesLabeledIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.PullRequestReviewThread => "pull_request_review_thread", - WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Reminder => "reminder", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesLabeledIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.WorkflowRun, - "pull_request_review_thread" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.PullRequestReviewThread, - "reminder" => WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.Reminder, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssue.g.cs index f6d9edc2..9dcc20b0 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssue.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookIssuesLockedIssue /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -103,7 +103,7 @@ public sealed partial class WebhookIssuesLockedIssue /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssignee2.g.cs new file mode 100644 index 00000000..acabaf02 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesLockedIssueAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueAssigneeType2JsonConverter))] + public global::GitHub.WebhookIssuesLockedIssueAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..872dc6d5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesLockedIssueAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesLockedIssueAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesLockedIssueAssigneeType2 value) + { + return value switch + { + WebhookIssuesLockedIssueAssigneeType2.Bot => "Bot", + WebhookIssuesLockedIssueAssigneeType2.User => "User", + WebhookIssuesLockedIssueAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesLockedIssueAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesLockedIssueAssigneeType2.Bot, + "User" => WebhookIssuesLockedIssueAssigneeType2.User, + "Organization" => WebhookIssuesLockedIssueAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssignees.g.cs deleted file mode 100644 index 0edc294a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesLockedIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssuesLockedIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssigneesType.g.cs deleted file mode 100644 index 20aa3104..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesLockedIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesLockedIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesLockedIssueAssigneesType value) - { - return value switch - { - WebhookIssuesLockedIssueAssigneesType.Bot => "Bot", - WebhookIssuesLockedIssueAssigneesType.User => "User", - WebhookIssuesLockedIssueAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesLockedIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesLockedIssueAssigneesType.Bot, - "User" => WebhookIssuesLockedIssueAssigneesType.User, - "Organization" => WebhookIssuesLockedIssueAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueLabel.g.cs new file mode 100644 index 00000000..cebcf80c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesLockedIssueLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueLabels.g.cs deleted file mode 100644 index f6fe7d55..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesLockedIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssuePerformedViaGithubApp.g.cs index da79887c..8cb9a927 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssuePerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssuePerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookIssuesLockedIssuePerformedViaGithubApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..dbd88d23 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,321 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesLockedIssuePerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + Reminder, + /// + /// + /// + SecurityAndAnalysis, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesLockedIssuePerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesLockedIssuePerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Create => "create", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Delete => "delete", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Fork => "fork", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Issues => "issues", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Label => "label", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Member => "member", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Membership => "membership", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Organization => "organization", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Project => "project", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Public => "public", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Push => "push", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Release => "release", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Repository => "repository", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Star => "star", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Status => "status", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Team => "team", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Watch => "watch", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Reminder => "reminder", + WebhookIssuesLockedIssuePerformedViaGithubAppEvent.SecurityAndAnalysis => "security_and_analysis", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesLockedIssuePerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Create, + "delete" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Label, + "member" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Member, + "membership" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Release, + "repository" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Star, + "status" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Status, + "team" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.WorkflowRun, + "reminder" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.Reminder, + "security_and_analysis" => WebhookIssuesLockedIssuePerformedViaGithubAppEvent.SecurityAndAnalysis, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index fe206f2b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesLockedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,321 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesLockedIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - Reminder, - /// - /// - /// - SecurityAndAnalysis, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesLockedIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesLockedIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Reminder => "reminder", - WebhookIssuesLockedIssuePerformedViaGithubAppEvents.SecurityAndAnalysis => "security_and_analysis", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesLockedIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.WorkflowRun, - "reminder" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.Reminder, - "security_and_analysis" => WebhookIssuesLockedIssuePerformedViaGithubAppEvents.SecurityAndAnalysis, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssue.g.cs index 46acbe83..da0f9313 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssue.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookIssuesMilestonedIssue /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -103,7 +103,7 @@ public sealed partial class WebhookIssuesMilestonedIssue /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssignee2.g.cs new file mode 100644 index 00000000..8ec253d0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesMilestonedIssueAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueAssigneeType2JsonConverter))] + public global::GitHub.WebhookIssuesMilestonedIssueAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..441782fb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesMilestonedIssueAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesMilestonedIssueAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesMilestonedIssueAssigneeType2 value) + { + return value switch + { + WebhookIssuesMilestonedIssueAssigneeType2.Bot => "Bot", + WebhookIssuesMilestonedIssueAssigneeType2.User => "User", + WebhookIssuesMilestonedIssueAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesMilestonedIssueAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesMilestonedIssueAssigneeType2.Bot, + "User" => WebhookIssuesMilestonedIssueAssigneeType2.User, + "Organization" => WebhookIssuesMilestonedIssueAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssignees.g.cs deleted file mode 100644 index 2ffbbc46..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesMilestonedIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssuesMilestonedIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssigneesType.g.cs deleted file mode 100644 index 59ff6b0f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesMilestonedIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesMilestonedIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesMilestonedIssueAssigneesType value) - { - return value switch - { - WebhookIssuesMilestonedIssueAssigneesType.Bot => "Bot", - WebhookIssuesMilestonedIssueAssigneesType.User => "User", - WebhookIssuesMilestonedIssueAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesMilestonedIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesMilestonedIssueAssigneesType.Bot, - "User" => WebhookIssuesMilestonedIssueAssigneesType.User, - "Organization" => WebhookIssuesMilestonedIssueAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueLabel.g.cs new file mode 100644 index 00000000..868b5125 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesMilestonedIssueLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueLabels.g.cs deleted file mode 100644 index d33cb03d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesMilestonedIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssuePerformedViaGithubApp.g.cs index 0ac31f25..08a4d668 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssuePerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssuePerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookIssuesMilestonedIssuePerformedViaGithubApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..3e7ec0e2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,315 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + Reminder, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesMilestonedIssuePerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Create => "create", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Delete => "delete", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Fork => "fork", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Issues => "issues", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Label => "label", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Member => "member", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Membership => "membership", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Organization => "organization", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Project => "project", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Public => "public", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Push => "push", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Release => "release", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Repository => "repository", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Star => "star", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Status => "status", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Team => "team", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Watch => "watch", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Reminder => "reminder", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Create, + "delete" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Label, + "member" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Member, + "membership" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Release, + "repository" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Star, + "status" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Status, + "team" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.WorkflowRun, + "reminder" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.Reminder, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 9d558607..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,315 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - Reminder, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesMilestonedIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Reminder => "reminder", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.WorkflowRun, - "reminder" => WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.Reminder, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssue.g.cs index e0480220..dc6e47ba 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssue.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookIssuesOpenedChangesOldIssue /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -103,7 +103,7 @@ public sealed partial class WebhookIssuesOpenedChangesOldIssue /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssignee2.g.cs new file mode 100644 index 00000000..b897701e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesOpenedChangesOldIssueAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneeType2JsonConverter))] + public global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssigneeType2.g.cs new file mode 100644 index 00000000..2ba59671 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesOpenedChangesOldIssueAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesOpenedChangesOldIssueAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesOpenedChangesOldIssueAssigneeType2 value) + { + return value switch + { + WebhookIssuesOpenedChangesOldIssueAssigneeType2.Bot => "Bot", + WebhookIssuesOpenedChangesOldIssueAssigneeType2.User => "User", + WebhookIssuesOpenedChangesOldIssueAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesOpenedChangesOldIssueAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesOpenedChangesOldIssueAssigneeType2.Bot, + "User" => WebhookIssuesOpenedChangesOldIssueAssigneeType2.User, + "Organization" => WebhookIssuesOpenedChangesOldIssueAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssignees.g.cs deleted file mode 100644 index 0b029b3e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesOpenedChangesOldIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssigneesType.g.cs deleted file mode 100644 index 04c52f7a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesOpenedChangesOldIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesOpenedChangesOldIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesOpenedChangesOldIssueAssigneesType value) - { - return value switch - { - WebhookIssuesOpenedChangesOldIssueAssigneesType.Bot => "Bot", - WebhookIssuesOpenedChangesOldIssueAssigneesType.User => "User", - WebhookIssuesOpenedChangesOldIssueAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesOpenedChangesOldIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesOpenedChangesOldIssueAssigneesType.Bot, - "User" => WebhookIssuesOpenedChangesOldIssueAssigneesType.User, - "Organization" => WebhookIssuesOpenedChangesOldIssueAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueLabel.g.cs new file mode 100644 index 00000000..a1ef0bd9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesOpenedChangesOldIssueLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueLabels.g.cs deleted file mode 100644 index 107b6a06..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesOpenedChangesOldIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubApp.g.cs index 13358dff..b39287a5 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookIssuesOpenedChangesOldIssuePerformedViaGithub /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..56b63a27 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,309 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Create => "create", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Delete => "delete", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Fork => "fork", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Issues => "issues", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Label => "label", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Member => "member", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Membership => "membership", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Organization => "organization", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Project => "project", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Public => "public", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Push => "push", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Release => "release", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Repository => "repository", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Star => "star", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Status => "status", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Team => "team", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Watch => "watch", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Create, + "delete" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Label, + "member" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Member, + "membership" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Release, + "repository" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Star, + "status" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Status, + "team" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.WorkflowRun, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index f9880b67..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,309 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.WorkflowRun, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldRepository.g.cs index 006853eb..70e3a9f9 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldRepository.g.cs @@ -147,7 +147,7 @@ public sealed partial class WebhookIssuesOpenedChangesOldRepository /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_properties")] - public object? CustomProperties { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldRepositoryCustomProperties? CustomProperties { get; set; } /// /// The default branch of the repository. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldRepositoryCustomProperties.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldRepositoryCustomProperties.g.cs new file mode 100644 index 00000000..5fcdf457 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedChangesOldRepositoryCustomProperties.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + public sealed partial class WebhookIssuesOpenedChangesOldRepositoryCustomProperties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssue.g.cs index 359d7b5e..a8265db9 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssue.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookIssuesOpenedIssue /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -103,7 +103,7 @@ public sealed partial class WebhookIssuesOpenedIssue /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssignee2.g.cs new file mode 100644 index 00000000..0d952db4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesOpenedIssueAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueAssigneeType2JsonConverter))] + public global::GitHub.WebhookIssuesOpenedIssueAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..ff61e6a7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesOpenedIssueAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesOpenedIssueAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesOpenedIssueAssigneeType2 value) + { + return value switch + { + WebhookIssuesOpenedIssueAssigneeType2.Bot => "Bot", + WebhookIssuesOpenedIssueAssigneeType2.User => "User", + WebhookIssuesOpenedIssueAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesOpenedIssueAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesOpenedIssueAssigneeType2.Bot, + "User" => WebhookIssuesOpenedIssueAssigneeType2.User, + "Organization" => WebhookIssuesOpenedIssueAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssignees.g.cs deleted file mode 100644 index c9e98e04..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesOpenedIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssuesOpenedIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssigneesType.g.cs deleted file mode 100644 index b3cf1759..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesOpenedIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesOpenedIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesOpenedIssueAssigneesType value) - { - return value switch - { - WebhookIssuesOpenedIssueAssigneesType.Bot => "Bot", - WebhookIssuesOpenedIssueAssigneesType.User => "User", - WebhookIssuesOpenedIssueAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesOpenedIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesOpenedIssueAssigneesType.Bot, - "User" => WebhookIssuesOpenedIssueAssigneesType.User, - "Organization" => WebhookIssuesOpenedIssueAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueLabel.g.cs new file mode 100644 index 00000000..f0f9d662 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesOpenedIssueLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueLabels.g.cs deleted file mode 100644 index 3691cab7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesOpenedIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssuePerformedViaGithubApp.g.cs index d67b2899..d3ad4e03 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssuePerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssuePerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookIssuesOpenedIssuePerformedViaGithubApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..09ff8761 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,327 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesOpenedIssuePerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + SecurityAndAnalysis, + /// + /// + /// + PullRequestReviewThread, + /// + /// + /// + Reminder, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesOpenedIssuePerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesOpenedIssuePerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Create => "create", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Delete => "delete", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Fork => "fork", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Issues => "issues", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Label => "label", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Member => "member", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Membership => "membership", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Organization => "organization", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Project => "project", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Public => "public", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Push => "push", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Release => "release", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Repository => "repository", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Star => "star", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Status => "status", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Team => "team", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Watch => "watch", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.SecurityAndAnalysis => "security_and_analysis", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.PullRequestReviewThread => "pull_request_review_thread", + WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Reminder => "reminder", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesOpenedIssuePerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Create, + "delete" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Label, + "member" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Member, + "membership" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Release, + "repository" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Star, + "status" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Status, + "team" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.WorkflowRun, + "security_and_analysis" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.SecurityAndAnalysis, + "pull_request_review_thread" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.PullRequestReviewThread, + "reminder" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.Reminder, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 14b8b100..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,327 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesOpenedIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - SecurityAndAnalysis, - /// - /// - /// - PullRequestReviewThread, - /// - /// - /// - Reminder, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesOpenedIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesOpenedIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.SecurityAndAnalysis => "security_and_analysis", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.PullRequestReviewThread => "pull_request_review_thread", - WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Reminder => "reminder", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesOpenedIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.WorkflowRun, - "security_and_analysis" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.SecurityAndAnalysis, - "pull_request_review_thread" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.PullRequestReviewThread, - "reminder" => WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.Reminder, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssue.g.cs index e1774aea..b7b2768b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssue.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookIssuesReopenedIssue /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -103,7 +103,7 @@ public sealed partial class WebhookIssuesReopenedIssue /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssignee2.g.cs new file mode 100644 index 00000000..2b1cda9e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesReopenedIssueAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueAssigneeType2JsonConverter))] + public global::GitHub.WebhookIssuesReopenedIssueAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..767a13ff --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesReopenedIssueAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesReopenedIssueAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesReopenedIssueAssigneeType2 value) + { + return value switch + { + WebhookIssuesReopenedIssueAssigneeType2.Bot => "Bot", + WebhookIssuesReopenedIssueAssigneeType2.User => "User", + WebhookIssuesReopenedIssueAssigneeType2.Organization => "Organization", + WebhookIssuesReopenedIssueAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesReopenedIssueAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesReopenedIssueAssigneeType2.Bot, + "User" => WebhookIssuesReopenedIssueAssigneeType2.User, + "Organization" => WebhookIssuesReopenedIssueAssigneeType2.Organization, + "Mannequin" => WebhookIssuesReopenedIssueAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssignees.g.cs deleted file mode 100644 index efe5d12e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesReopenedIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssuesReopenedIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssigneesType.g.cs deleted file mode 100644 index 03aa06d3..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesReopenedIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesReopenedIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesReopenedIssueAssigneesType value) - { - return value switch - { - WebhookIssuesReopenedIssueAssigneesType.Bot => "Bot", - WebhookIssuesReopenedIssueAssigneesType.User => "User", - WebhookIssuesReopenedIssueAssigneesType.Organization => "Organization", - WebhookIssuesReopenedIssueAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesReopenedIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesReopenedIssueAssigneesType.Bot, - "User" => WebhookIssuesReopenedIssueAssigneesType.User, - "Organization" => WebhookIssuesReopenedIssueAssigneesType.Organization, - "Mannequin" => WebhookIssuesReopenedIssueAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueLabel.g.cs new file mode 100644 index 00000000..2a5a2481 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesReopenedIssueLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueLabels.g.cs deleted file mode 100644 index 30478cef..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesReopenedIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssuePerformedViaGithubApp.g.cs index 848a98b9..c823377f 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssuePerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssuePerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookIssuesReopenedIssuePerformedViaGithubApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..4a3bddf0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,321 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesReopenedIssuePerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + PullRequestReviewThread, + /// + /// + /// + Reminder, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesReopenedIssuePerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesReopenedIssuePerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Create => "create", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Delete => "delete", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Fork => "fork", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Issues => "issues", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Label => "label", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Member => "member", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Membership => "membership", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Organization => "organization", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Project => "project", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Public => "public", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Push => "push", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Release => "release", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Repository => "repository", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Star => "star", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Status => "status", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Team => "team", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Watch => "watch", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.PullRequestReviewThread => "pull_request_review_thread", + WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Reminder => "reminder", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesReopenedIssuePerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Create, + "delete" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Label, + "member" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Member, + "membership" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Release, + "repository" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Star, + "status" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Status, + "team" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.WorkflowRun, + "pull_request_review_thread" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.PullRequestReviewThread, + "reminder" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.Reminder, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 02a3f161..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,321 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesReopenedIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - PullRequestReviewThread, - /// - /// - /// - Reminder, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesReopenedIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesReopenedIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.PullRequestReviewThread => "pull_request_review_thread", - WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Reminder => "reminder", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesReopenedIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.WorkflowRun, - "pull_request_review_thread" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.PullRequestReviewThread, - "reminder" => WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.Reminder, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssue.g.cs index 3a6c6db3..679523eb 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssue.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookIssuesTransferredChangesNewIssue /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -103,7 +103,7 @@ public sealed partial class WebhookIssuesTransferredChangesNewIssue /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssignee2.g.cs new file mode 100644 index 00000000..06ee200a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesTransferredChangesNewIssueAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneeType2JsonConverter))] + public global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssigneeType2.g.cs new file mode 100644 index 00000000..89a00d0b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesTransferredChangesNewIssueAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesTransferredChangesNewIssueAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesTransferredChangesNewIssueAssigneeType2 value) + { + return value switch + { + WebhookIssuesTransferredChangesNewIssueAssigneeType2.Bot => "Bot", + WebhookIssuesTransferredChangesNewIssueAssigneeType2.User => "User", + WebhookIssuesTransferredChangesNewIssueAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesTransferredChangesNewIssueAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesTransferredChangesNewIssueAssigneeType2.Bot, + "User" => WebhookIssuesTransferredChangesNewIssueAssigneeType2.User, + "Organization" => WebhookIssuesTransferredChangesNewIssueAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssignees.g.cs deleted file mode 100644 index 913e3512..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesTransferredChangesNewIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssigneesType.g.cs deleted file mode 100644 index a14aaedf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesTransferredChangesNewIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesTransferredChangesNewIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesTransferredChangesNewIssueAssigneesType value) - { - return value switch - { - WebhookIssuesTransferredChangesNewIssueAssigneesType.Bot => "Bot", - WebhookIssuesTransferredChangesNewIssueAssigneesType.User => "User", - WebhookIssuesTransferredChangesNewIssueAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesTransferredChangesNewIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesTransferredChangesNewIssueAssigneesType.Bot, - "User" => WebhookIssuesTransferredChangesNewIssueAssigneesType.User, - "Organization" => WebhookIssuesTransferredChangesNewIssueAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueLabel.g.cs new file mode 100644 index 00000000..425f1b15 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesTransferredChangesNewIssueLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueLabels.g.cs deleted file mode 100644 index 4a2091c1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesTransferredChangesNewIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubApp.g.cs index 1bcae179..bf7bb4eb 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookIssuesTransferredChangesNewIssuePerformedViaG /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..a44db04b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,309 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Create => "create", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Delete => "delete", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Fork => "fork", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Issues => "issues", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Label => "label", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Member => "member", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Membership => "membership", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Organization => "organization", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Project => "project", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Public => "public", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Push => "push", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Release => "release", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Repository => "repository", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Star => "star", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Status => "status", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Team => "team", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Watch => "watch", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Create, + "delete" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Label, + "member" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Member, + "membership" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Release, + "repository" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Star, + "status" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Status, + "team" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.WorkflowRun, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 7b7de2b9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,309 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.WorkflowRun, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewRepository.g.cs index 3d09c755..2d5f8841 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewRepository.g.cs @@ -147,7 +147,7 @@ public sealed partial class WebhookIssuesTransferredChangesNewRepository /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_properties")] - public object? CustomProperties { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewRepositoryCustomProperties? CustomProperties { get; set; } /// /// The default branch of the repository. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewRepositoryCustomProperties.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewRepositoryCustomProperties.g.cs new file mode 100644 index 00000000..90d7f42f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesTransferredChangesNewRepositoryCustomProperties.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + public sealed partial class WebhookIssuesTransferredChangesNewRepositoryCustomProperties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssue.g.cs index 8fba1978..56d17b1a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssue.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookIssuesUnlockedIssue /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -103,7 +103,7 @@ public sealed partial class WebhookIssuesUnlockedIssue /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssignee2.g.cs new file mode 100644 index 00000000..0ee5908b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesUnlockedIssueAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueAssigneeType2JsonConverter))] + public global::GitHub.WebhookIssuesUnlockedIssueAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..f6674fc0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesUnlockedIssueAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesUnlockedIssueAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesUnlockedIssueAssigneeType2 value) + { + return value switch + { + WebhookIssuesUnlockedIssueAssigneeType2.Bot => "Bot", + WebhookIssuesUnlockedIssueAssigneeType2.User => "User", + WebhookIssuesUnlockedIssueAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesUnlockedIssueAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookIssuesUnlockedIssueAssigneeType2.Bot, + "User" => WebhookIssuesUnlockedIssueAssigneeType2.User, + "Organization" => WebhookIssuesUnlockedIssueAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssignees.g.cs deleted file mode 100644 index 1b288fda..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesUnlockedIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhookIssuesUnlockedIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssigneesType.g.cs deleted file mode 100644 index 9ebde1b2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesUnlockedIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesUnlockedIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesUnlockedIssueAssigneesType value) - { - return value switch - { - WebhookIssuesUnlockedIssueAssigneesType.Bot => "Bot", - WebhookIssuesUnlockedIssueAssigneesType.User => "User", - WebhookIssuesUnlockedIssueAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesUnlockedIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookIssuesUnlockedIssueAssigneesType.Bot, - "User" => WebhookIssuesUnlockedIssueAssigneesType.User, - "Organization" => WebhookIssuesUnlockedIssueAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueLabel.g.cs new file mode 100644 index 00000000..f7a2b8eb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookIssuesUnlockedIssueLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueLabels.g.cs deleted file mode 100644 index 597a9e90..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookIssuesUnlockedIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssuePerformedViaGithubApp.g.cs index 7e8885e3..a7990e59 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssuePerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssuePerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhookIssuesUnlockedIssuePerformedViaGithubApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..096612fc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,309 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookIssuesUnlockedIssuePerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent value) + { + return value switch + { + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.CheckRun => "check_run", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Create => "create", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Delete => "delete", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Deployment => "deployment", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Discussion => "discussion", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Fork => "fork", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Gollum => "gollum", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Issues => "issues", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Label => "label", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Member => "member", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Membership => "membership", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Milestone => "milestone", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Organization => "organization", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.PageBuild => "page_build", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Project => "project", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Public => "public", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Push => "push", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Release => "release", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Repository => "repository", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Star => "star", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Status => "status", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Team => "team", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Watch => "watch", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.ContentReference, + "create" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Create, + "delete" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Delete, + "deployment" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Fork, + "gollum" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Gollum, + "issues" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.IssueComment, + "label" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Label, + "member" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Member, + "membership" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Membership, + "milestone" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Milestone, + "organization" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Organization, + "org_block" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.PageBuild, + "project" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Project, + "project_card" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Public, + "pull_request" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Push, + "registry_package" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Release, + "repository" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Star, + "status" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Status, + "team" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Team, + "team_add" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.WorkflowRun, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 9769dcf1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,309 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookIssuesUnlockedIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Create => "create", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Label => "label", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Member => "member", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Project => "project", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Public => "public", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Push => "push", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Release => "release", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Star => "star", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Status => "status", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Team => "team", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Label, - "member" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Star, - "status" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Status, - "team" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.WorkflowRun, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchase.g.cs index 587b2dc1..d5a40eb5 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchase.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchase.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookMarketplacePurchasePendingChangeCancelledMark /// [global::System.Text.Json.Serialization.JsonPropertyName("free_trial_ends_on")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? FreeTrialEndsOn { get; set; } + public required global::GitHub.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchaseFreeTrialEndsOn? FreeTrialEndsOn { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchaseFreeTrialEndsOn.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchaseFreeTrialEndsOn.g.cs new file mode 100644 index 00000000..2c294e1f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchaseFreeTrialEndsOn.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchaseFreeTrialEndsOn + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookMetaDeletedHook.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookMetaDeletedHook.g.cs index 2688bcad..35832dfa 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookMetaDeletedHook.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookMetaDeletedHook.g.cs @@ -34,7 +34,7 @@ public sealed partial class WebhookMetaDeletedHook /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Events { get; set; } + public required global::System.Collections.Generic.IList Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookMetaDeletedHookEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookMetaDeletedHookEvent.g.cs new file mode 100644 index 00000000..542b7524 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookMetaDeletedHookEvent.g.cs @@ -0,0 +1,351 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookMetaDeletedHookEvent + { + /// + /// + /// + Any, + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Meta, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + Package, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + PullRequestReviewThread, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryImport, + /// + /// + /// + RepositoryVulnerabilityAlert, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + SecretScanningAlertLocation, + /// + /// + /// + SecurityAndAnalysis, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowJob, + /// + /// + /// + WorkflowRun, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + ProjectsV2Item, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookMetaDeletedHookEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookMetaDeletedHookEvent value) + { + return value switch + { + WebhookMetaDeletedHookEvent.Any => "*", + WebhookMetaDeletedHookEvent.BranchProtectionRule => "branch_protection_rule", + WebhookMetaDeletedHookEvent.CheckRun => "check_run", + WebhookMetaDeletedHookEvent.CheckSuite => "check_suite", + WebhookMetaDeletedHookEvent.CodeScanningAlert => "code_scanning_alert", + WebhookMetaDeletedHookEvent.CommitComment => "commit_comment", + WebhookMetaDeletedHookEvent.Create => "create", + WebhookMetaDeletedHookEvent.Delete => "delete", + WebhookMetaDeletedHookEvent.Deployment => "deployment", + WebhookMetaDeletedHookEvent.DeploymentStatus => "deployment_status", + WebhookMetaDeletedHookEvent.DeployKey => "deploy_key", + WebhookMetaDeletedHookEvent.Discussion => "discussion", + WebhookMetaDeletedHookEvent.DiscussionComment => "discussion_comment", + WebhookMetaDeletedHookEvent.Fork => "fork", + WebhookMetaDeletedHookEvent.Gollum => "gollum", + WebhookMetaDeletedHookEvent.Issues => "issues", + WebhookMetaDeletedHookEvent.IssueComment => "issue_comment", + WebhookMetaDeletedHookEvent.Label => "label", + WebhookMetaDeletedHookEvent.Member => "member", + WebhookMetaDeletedHookEvent.Membership => "membership", + WebhookMetaDeletedHookEvent.Meta => "meta", + WebhookMetaDeletedHookEvent.Milestone => "milestone", + WebhookMetaDeletedHookEvent.Organization => "organization", + WebhookMetaDeletedHookEvent.OrgBlock => "org_block", + WebhookMetaDeletedHookEvent.Package => "package", + WebhookMetaDeletedHookEvent.PageBuild => "page_build", + WebhookMetaDeletedHookEvent.Project => "project", + WebhookMetaDeletedHookEvent.ProjectCard => "project_card", + WebhookMetaDeletedHookEvent.ProjectColumn => "project_column", + WebhookMetaDeletedHookEvent.Public => "public", + WebhookMetaDeletedHookEvent.PullRequest => "pull_request", + WebhookMetaDeletedHookEvent.PullRequestReview => "pull_request_review", + WebhookMetaDeletedHookEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhookMetaDeletedHookEvent.PullRequestReviewThread => "pull_request_review_thread", + WebhookMetaDeletedHookEvent.Push => "push", + WebhookMetaDeletedHookEvent.RegistryPackage => "registry_package", + WebhookMetaDeletedHookEvent.Release => "release", + WebhookMetaDeletedHookEvent.Repository => "repository", + WebhookMetaDeletedHookEvent.RepositoryImport => "repository_import", + WebhookMetaDeletedHookEvent.RepositoryVulnerabilityAlert => "repository_vulnerability_alert", + WebhookMetaDeletedHookEvent.SecretScanningAlert => "secret_scanning_alert", + WebhookMetaDeletedHookEvent.SecretScanningAlertLocation => "secret_scanning_alert_location", + WebhookMetaDeletedHookEvent.SecurityAndAnalysis => "security_and_analysis", + WebhookMetaDeletedHookEvent.Star => "star", + WebhookMetaDeletedHookEvent.Status => "status", + WebhookMetaDeletedHookEvent.Team => "team", + WebhookMetaDeletedHookEvent.TeamAdd => "team_add", + WebhookMetaDeletedHookEvent.Watch => "watch", + WebhookMetaDeletedHookEvent.WorkflowJob => "workflow_job", + WebhookMetaDeletedHookEvent.WorkflowRun => "workflow_run", + WebhookMetaDeletedHookEvent.RepositoryDispatch => "repository_dispatch", + WebhookMetaDeletedHookEvent.ProjectsV2Item => "projects_v2_item", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookMetaDeletedHookEvent? ToEnum(string value) + { + return value switch + { + "*" => WebhookMetaDeletedHookEvent.Any, + "branch_protection_rule" => WebhookMetaDeletedHookEvent.BranchProtectionRule, + "check_run" => WebhookMetaDeletedHookEvent.CheckRun, + "check_suite" => WebhookMetaDeletedHookEvent.CheckSuite, + "code_scanning_alert" => WebhookMetaDeletedHookEvent.CodeScanningAlert, + "commit_comment" => WebhookMetaDeletedHookEvent.CommitComment, + "create" => WebhookMetaDeletedHookEvent.Create, + "delete" => WebhookMetaDeletedHookEvent.Delete, + "deployment" => WebhookMetaDeletedHookEvent.Deployment, + "deployment_status" => WebhookMetaDeletedHookEvent.DeploymentStatus, + "deploy_key" => WebhookMetaDeletedHookEvent.DeployKey, + "discussion" => WebhookMetaDeletedHookEvent.Discussion, + "discussion_comment" => WebhookMetaDeletedHookEvent.DiscussionComment, + "fork" => WebhookMetaDeletedHookEvent.Fork, + "gollum" => WebhookMetaDeletedHookEvent.Gollum, + "issues" => WebhookMetaDeletedHookEvent.Issues, + "issue_comment" => WebhookMetaDeletedHookEvent.IssueComment, + "label" => WebhookMetaDeletedHookEvent.Label, + "member" => WebhookMetaDeletedHookEvent.Member, + "membership" => WebhookMetaDeletedHookEvent.Membership, + "meta" => WebhookMetaDeletedHookEvent.Meta, + "milestone" => WebhookMetaDeletedHookEvent.Milestone, + "organization" => WebhookMetaDeletedHookEvent.Organization, + "org_block" => WebhookMetaDeletedHookEvent.OrgBlock, + "package" => WebhookMetaDeletedHookEvent.Package, + "page_build" => WebhookMetaDeletedHookEvent.PageBuild, + "project" => WebhookMetaDeletedHookEvent.Project, + "project_card" => WebhookMetaDeletedHookEvent.ProjectCard, + "project_column" => WebhookMetaDeletedHookEvent.ProjectColumn, + "public" => WebhookMetaDeletedHookEvent.Public, + "pull_request" => WebhookMetaDeletedHookEvent.PullRequest, + "pull_request_review" => WebhookMetaDeletedHookEvent.PullRequestReview, + "pull_request_review_comment" => WebhookMetaDeletedHookEvent.PullRequestReviewComment, + "pull_request_review_thread" => WebhookMetaDeletedHookEvent.PullRequestReviewThread, + "push" => WebhookMetaDeletedHookEvent.Push, + "registry_package" => WebhookMetaDeletedHookEvent.RegistryPackage, + "release" => WebhookMetaDeletedHookEvent.Release, + "repository" => WebhookMetaDeletedHookEvent.Repository, + "repository_import" => WebhookMetaDeletedHookEvent.RepositoryImport, + "repository_vulnerability_alert" => WebhookMetaDeletedHookEvent.RepositoryVulnerabilityAlert, + "secret_scanning_alert" => WebhookMetaDeletedHookEvent.SecretScanningAlert, + "secret_scanning_alert_location" => WebhookMetaDeletedHookEvent.SecretScanningAlertLocation, + "security_and_analysis" => WebhookMetaDeletedHookEvent.SecurityAndAnalysis, + "star" => WebhookMetaDeletedHookEvent.Star, + "status" => WebhookMetaDeletedHookEvent.Status, + "team" => WebhookMetaDeletedHookEvent.Team, + "team_add" => WebhookMetaDeletedHookEvent.TeamAdd, + "watch" => WebhookMetaDeletedHookEvent.Watch, + "workflow_job" => WebhookMetaDeletedHookEvent.WorkflowJob, + "workflow_run" => WebhookMetaDeletedHookEvent.WorkflowRun, + "repository_dispatch" => WebhookMetaDeletedHookEvent.RepositoryDispatch, + "projects_v2_item" => WebhookMetaDeletedHookEvent.ProjectsV2Item, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookMetaDeletedHookEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookMetaDeletedHookEvents.g.cs deleted file mode 100644 index 3e2cf311..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookMetaDeletedHookEvents.g.cs +++ /dev/null @@ -1,351 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookMetaDeletedHookEvents - { - /// - /// - /// - Any, - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Meta, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - Package, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - PullRequestReviewThread, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryImport, - /// - /// - /// - RepositoryVulnerabilityAlert, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - SecretScanningAlertLocation, - /// - /// - /// - SecurityAndAnalysis, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowJob, - /// - /// - /// - WorkflowRun, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - ProjectsV2Item, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookMetaDeletedHookEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookMetaDeletedHookEvents value) - { - return value switch - { - WebhookMetaDeletedHookEvents.Any => "*", - WebhookMetaDeletedHookEvents.BranchProtectionRule => "branch_protection_rule", - WebhookMetaDeletedHookEvents.CheckRun => "check_run", - WebhookMetaDeletedHookEvents.CheckSuite => "check_suite", - WebhookMetaDeletedHookEvents.CodeScanningAlert => "code_scanning_alert", - WebhookMetaDeletedHookEvents.CommitComment => "commit_comment", - WebhookMetaDeletedHookEvents.Create => "create", - WebhookMetaDeletedHookEvents.Delete => "delete", - WebhookMetaDeletedHookEvents.Deployment => "deployment", - WebhookMetaDeletedHookEvents.DeploymentStatus => "deployment_status", - WebhookMetaDeletedHookEvents.DeployKey => "deploy_key", - WebhookMetaDeletedHookEvents.Discussion => "discussion", - WebhookMetaDeletedHookEvents.DiscussionComment => "discussion_comment", - WebhookMetaDeletedHookEvents.Fork => "fork", - WebhookMetaDeletedHookEvents.Gollum => "gollum", - WebhookMetaDeletedHookEvents.Issues => "issues", - WebhookMetaDeletedHookEvents.IssueComment => "issue_comment", - WebhookMetaDeletedHookEvents.Label => "label", - WebhookMetaDeletedHookEvents.Member => "member", - WebhookMetaDeletedHookEvents.Membership => "membership", - WebhookMetaDeletedHookEvents.Meta => "meta", - WebhookMetaDeletedHookEvents.Milestone => "milestone", - WebhookMetaDeletedHookEvents.Organization => "organization", - WebhookMetaDeletedHookEvents.OrgBlock => "org_block", - WebhookMetaDeletedHookEvents.Package => "package", - WebhookMetaDeletedHookEvents.PageBuild => "page_build", - WebhookMetaDeletedHookEvents.Project => "project", - WebhookMetaDeletedHookEvents.ProjectCard => "project_card", - WebhookMetaDeletedHookEvents.ProjectColumn => "project_column", - WebhookMetaDeletedHookEvents.Public => "public", - WebhookMetaDeletedHookEvents.PullRequest => "pull_request", - WebhookMetaDeletedHookEvents.PullRequestReview => "pull_request_review", - WebhookMetaDeletedHookEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhookMetaDeletedHookEvents.PullRequestReviewThread => "pull_request_review_thread", - WebhookMetaDeletedHookEvents.Push => "push", - WebhookMetaDeletedHookEvents.RegistryPackage => "registry_package", - WebhookMetaDeletedHookEvents.Release => "release", - WebhookMetaDeletedHookEvents.Repository => "repository", - WebhookMetaDeletedHookEvents.RepositoryImport => "repository_import", - WebhookMetaDeletedHookEvents.RepositoryVulnerabilityAlert => "repository_vulnerability_alert", - WebhookMetaDeletedHookEvents.SecretScanningAlert => "secret_scanning_alert", - WebhookMetaDeletedHookEvents.SecretScanningAlertLocation => "secret_scanning_alert_location", - WebhookMetaDeletedHookEvents.SecurityAndAnalysis => "security_and_analysis", - WebhookMetaDeletedHookEvents.Star => "star", - WebhookMetaDeletedHookEvents.Status => "status", - WebhookMetaDeletedHookEvents.Team => "team", - WebhookMetaDeletedHookEvents.TeamAdd => "team_add", - WebhookMetaDeletedHookEvents.Watch => "watch", - WebhookMetaDeletedHookEvents.WorkflowJob => "workflow_job", - WebhookMetaDeletedHookEvents.WorkflowRun => "workflow_run", - WebhookMetaDeletedHookEvents.RepositoryDispatch => "repository_dispatch", - WebhookMetaDeletedHookEvents.ProjectsV2Item => "projects_v2_item", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookMetaDeletedHookEvents? ToEnum(string value) - { - return value switch - { - "*" => WebhookMetaDeletedHookEvents.Any, - "branch_protection_rule" => WebhookMetaDeletedHookEvents.BranchProtectionRule, - "check_run" => WebhookMetaDeletedHookEvents.CheckRun, - "check_suite" => WebhookMetaDeletedHookEvents.CheckSuite, - "code_scanning_alert" => WebhookMetaDeletedHookEvents.CodeScanningAlert, - "commit_comment" => WebhookMetaDeletedHookEvents.CommitComment, - "create" => WebhookMetaDeletedHookEvents.Create, - "delete" => WebhookMetaDeletedHookEvents.Delete, - "deployment" => WebhookMetaDeletedHookEvents.Deployment, - "deployment_status" => WebhookMetaDeletedHookEvents.DeploymentStatus, - "deploy_key" => WebhookMetaDeletedHookEvents.DeployKey, - "discussion" => WebhookMetaDeletedHookEvents.Discussion, - "discussion_comment" => WebhookMetaDeletedHookEvents.DiscussionComment, - "fork" => WebhookMetaDeletedHookEvents.Fork, - "gollum" => WebhookMetaDeletedHookEvents.Gollum, - "issues" => WebhookMetaDeletedHookEvents.Issues, - "issue_comment" => WebhookMetaDeletedHookEvents.IssueComment, - "label" => WebhookMetaDeletedHookEvents.Label, - "member" => WebhookMetaDeletedHookEvents.Member, - "membership" => WebhookMetaDeletedHookEvents.Membership, - "meta" => WebhookMetaDeletedHookEvents.Meta, - "milestone" => WebhookMetaDeletedHookEvents.Milestone, - "organization" => WebhookMetaDeletedHookEvents.Organization, - "org_block" => WebhookMetaDeletedHookEvents.OrgBlock, - "package" => WebhookMetaDeletedHookEvents.Package, - "page_build" => WebhookMetaDeletedHookEvents.PageBuild, - "project" => WebhookMetaDeletedHookEvents.Project, - "project_card" => WebhookMetaDeletedHookEvents.ProjectCard, - "project_column" => WebhookMetaDeletedHookEvents.ProjectColumn, - "public" => WebhookMetaDeletedHookEvents.Public, - "pull_request" => WebhookMetaDeletedHookEvents.PullRequest, - "pull_request_review" => WebhookMetaDeletedHookEvents.PullRequestReview, - "pull_request_review_comment" => WebhookMetaDeletedHookEvents.PullRequestReviewComment, - "pull_request_review_thread" => WebhookMetaDeletedHookEvents.PullRequestReviewThread, - "push" => WebhookMetaDeletedHookEvents.Push, - "registry_package" => WebhookMetaDeletedHookEvents.RegistryPackage, - "release" => WebhookMetaDeletedHookEvents.Release, - "repository" => WebhookMetaDeletedHookEvents.Repository, - "repository_import" => WebhookMetaDeletedHookEvents.RepositoryImport, - "repository_vulnerability_alert" => WebhookMetaDeletedHookEvents.RepositoryVulnerabilityAlert, - "secret_scanning_alert" => WebhookMetaDeletedHookEvents.SecretScanningAlert, - "secret_scanning_alert_location" => WebhookMetaDeletedHookEvents.SecretScanningAlertLocation, - "security_and_analysis" => WebhookMetaDeletedHookEvents.SecurityAndAnalysis, - "star" => WebhookMetaDeletedHookEvents.Star, - "status" => WebhookMetaDeletedHookEvents.Status, - "team" => WebhookMetaDeletedHookEvents.Team, - "team_add" => WebhookMetaDeletedHookEvents.TeamAdd, - "watch" => WebhookMetaDeletedHookEvents.Watch, - "workflow_job" => WebhookMetaDeletedHookEvents.WorkflowJob, - "workflow_run" => WebhookMetaDeletedHookEvents.WorkflowRun, - "repository_dispatch" => WebhookMetaDeletedHookEvents.RepositoryDispatch, - "projects_v2_item" => WebhookMetaDeletedHookEvents.ProjectsV2Item, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersion.g.cs index f1f949b6..eff6b160 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersion.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersion.g.cs @@ -21,7 +21,7 @@ public sealed partial class WebhookPackagePublishedPackagePackageVersion /// [global::System.Text.Json.Serialization.JsonPropertyName("body")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? Body { get; set; } + public global::System.OneOf? Body { get; set; } /// /// @@ -52,7 +52,7 @@ public sealed partial class WebhookPackagePublishedPackagePackageVersion /// /// [global::System.Text.Json.Serialization.JsonPropertyName("docker_metadata")] - public global::System.Collections.Generic.IList? DockerMetadata { get; set; } + public global::System.Collections.Generic.IList? DockerMetadata { get; set; } /// /// @@ -92,7 +92,7 @@ public sealed partial class WebhookPackagePublishedPackagePackageVersion /// [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Metadata { get; set; } + public required global::System.Collections.Generic.IList Metadata { get; set; } /// /// @@ -111,14 +111,14 @@ public sealed partial class WebhookPackagePublishedPackagePackageVersion /// /// [global::System.Text.Json.Serialization.JsonPropertyName("nuget_metadata")] - public global::System.Collections.Generic.IList? NugetMetadata { get; set; } + public global::System.Collections.Generic.IList? NugetMetadata { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("package_files")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PackageFiles { get; set; } + public required global::System.Collections.Generic.IList PackageFiles { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionBody.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionBody.g.cs new file mode 100644 index 00000000..60cb01d3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionBody.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionBody + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionContainerMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionContainerMetadata.g.cs index 719eb998..73afbb04 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionContainerMetadata.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionContainerMetadata.g.cs @@ -12,13 +12,13 @@ public sealed partial class WebhookPackagePublishedPackagePackageVersionContaine /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public object? Labels { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionContainerMetadataLabels? Labels { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("manifest")] - public object? Manifest { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionContainerMetadataManifest? Manifest { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionContainerMetadataLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionContainerMetadataLabels.g.cs new file mode 100644 index 00000000..298c0527 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionContainerMetadataLabels.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionContainerMetadataLabels + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionContainerMetadataManifest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionContainerMetadataManifest.g.cs new file mode 100644 index 00000000..692675f4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionContainerMetadataManifest.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionContainerMetadataManifest + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionDockerMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionDockerMetadata.g.cs deleted file mode 100644 index 54ff8fb1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionDockerMetadata.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPackagePublishedPackagePackageVersionDockerMetadata - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("tags")] - public global::System.Collections.Generic.IList? Tags { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionDockerMetadataItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionDockerMetadataItem.g.cs new file mode 100644 index 00000000..5a92ec04 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionDockerMetadataItem.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionDockerMetadataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tags")] + public global::System.Collections.Generic.IList? Tags { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionMetadataItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionMetadataItem.g.cs new file mode 100644 index 00000000..8d7ec6a1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionMetadataItem.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionMetadataItem + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadata.g.cs index b49cd69f..d8b258c1 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadata.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadata.g.cs @@ -30,37 +30,37 @@ public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetad /// /// [global::System.Text.Json.Serialization.JsonPropertyName("author")] - public object? Author { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataAuthor? Author { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("bugs")] - public object? Bugs { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataBugs? Bugs { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("dependencies")] - public object? Dependencies { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataDependencies? Dependencies { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("dev_dependencies")] - public object? DevDependencies { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataDevDependencies? DevDependencies { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("peer_dependencies")] - public object? PeerDependencies { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataPeerDependencies? PeerDependencies { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("optional_dependencies")] - public object? OptionalDependencies { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataOptionalDependencies? OptionalDependencies { get; set; } /// /// @@ -72,7 +72,7 @@ public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetad /// /// [global::System.Text.Json.Serialization.JsonPropertyName("dist")] - public object? Dist { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataDist? Dist { get; set; } /// /// @@ -102,13 +102,13 @@ public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetad /// /// [global::System.Text.Json.Serialization.JsonPropertyName("repository")] - public object? Repository { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataRepository? Repository { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("scripts")] - public object? Scripts { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataScripts? Scripts { get; set; } /// /// @@ -138,61 +138,61 @@ public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetad /// /// [global::System.Text.Json.Serialization.JsonPropertyName("maintainers")] - public global::System.Collections.Generic.IList? Maintainers { get; set; } + public global::System.Collections.Generic.IList? Maintainers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("contributors")] - public global::System.Collections.Generic.IList? Contributors { get; set; } + public global::System.Collections.Generic.IList? Contributors { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("engines")] - public object? Engines { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataEngines? Engines { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("keywords")] - public global::System.Collections.Generic.IList? Keywords { get; set; } + public global::System.Collections.Generic.IList? Keywords { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("files")] - public global::System.Collections.Generic.IList? Files { get; set; } + public global::System.Collections.Generic.IList? Files { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("bin")] - public object? Bin { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataBin? Bin { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("man")] - public object? Man { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataMan? Man { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("directories")] - public object? Directories { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataDirectories? Directories { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("os")] - public global::System.Collections.Generic.IList? Os { get; set; } + public global::System.Collections.Generic.IList? Os { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("cpu")] - public global::System.Collections.Generic.IList? Cpu { get; set; } + public global::System.Collections.Generic.IList? Cpu { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataAuthor.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataAuthor.g.cs new file mode 100644 index 00000000..a6238b68 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataAuthor.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataAuthor + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataBin.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataBin.g.cs new file mode 100644 index 00000000..822ce96f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataBin.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataBin + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataBugs.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataBugs.g.cs new file mode 100644 index 00000000..fec294bf --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataBugs.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataBugs + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataContributor.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataContributor.g.cs new file mode 100644 index 00000000..17a7ade3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataContributor.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataContributor + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDependencies.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDependencies.g.cs new file mode 100644 index 00000000..c70f8b55 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDependencies.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataDependencies + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDevDependencies.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDevDependencies.g.cs new file mode 100644 index 00000000..127a23a1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDevDependencies.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataDevDependencies + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDirectories.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDirectories.g.cs new file mode 100644 index 00000000..47a18616 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDirectories.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataDirectories + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDist.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDist.g.cs new file mode 100644 index 00000000..6b8765d1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataDist.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataDist + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataEngines.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataEngines.g.cs new file mode 100644 index 00000000..b4a2a676 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataEngines.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataEngines + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataMaintainer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataMaintainer.g.cs new file mode 100644 index 00000000..d317bd02 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataMaintainer.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataMaintainer + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataMan.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataMan.g.cs new file mode 100644 index 00000000..354e3dc5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataMan.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataMan + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataOptionalDependencies.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataOptionalDependencies.g.cs new file mode 100644 index 00000000..e13f7db6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataOptionalDependencies.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataOptionalDependencies + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataPeerDependencies.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataPeerDependencies.g.cs new file mode 100644 index 00000000..621cdb0c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataPeerDependencies.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataPeerDependencies + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataRepository.g.cs new file mode 100644 index 00000000..f3de16d8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataRepository.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataRepository + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataScripts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataScripts.g.cs new file mode 100644 index 00000000..55e461e7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNpmMetadataScripts.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNpmMetadataScripts + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadata.g.cs deleted file mode 100644 index dec6b03d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadata.g.cs +++ /dev/null @@ -1,39 +0,0 @@ - -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPackagePublishedPackagePackageVersionNugetMetadata - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory4))] - public global::System.OneOf? Value { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadataItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadataItem.g.cs new file mode 100644 index 00000000..5c7b1ffd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadataItem.g.cs @@ -0,0 +1,39 @@ + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNugetMetadataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] + public global::System.OneOf? Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory4))] + public global::System.OneOf? Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadataItemValue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadataItemValue.g.cs new file mode 100644 index 00000000..472f65b8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadataItemValue.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionNugetMetadataItemValue + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("branch")] + public string? Branch { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("commit")] + public string? Commit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadataValue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadataValue.g.cs deleted file mode 100644 index 4ffec030..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionNugetMetadataValue.g.cs +++ /dev/null @@ -1,41 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPackagePublishedPackagePackageVersionNugetMetadataValue - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("branch")] - public string? Branch { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("commit")] - public string? Commit { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionPackageFile.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionPackageFile.g.cs new file mode 100644 index 00000000..43b93a35 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionPackageFile.g.cs @@ -0,0 +1,94 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackagePublishedPackagePackageVersionPackageFile + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ContentType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("download_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DownloadUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("md5")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Md5 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Sha1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha256")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Sha256 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Size { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionPackageFiles.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionPackageFiles.g.cs deleted file mode 100644 index af841b25..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackagePublishedPackagePackageVersionPackageFiles.g.cs +++ /dev/null @@ -1,94 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPackagePublishedPackagePackageVersionPackageFiles - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ContentType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("download_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string DownloadUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("md5")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Md5 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Sha1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha256")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Sha256 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("size")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Size { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? State { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string UpdatedAt { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersion.g.cs index ed409c7c..59c97196 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersion.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersion.g.cs @@ -47,7 +47,7 @@ public sealed partial class WebhookPackageUpdatedPackagePackageVersion /// /// [global::System.Text.Json.Serialization.JsonPropertyName("docker_metadata")] - public global::System.Collections.Generic.IList? DockerMetadata { get; set; } + public global::System.Collections.Generic.IList? DockerMetadata { get; set; } /// /// @@ -87,7 +87,7 @@ public sealed partial class WebhookPackageUpdatedPackagePackageVersion /// [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Metadata { get; set; } + public required global::System.Collections.Generic.IList Metadata { get; set; } /// /// @@ -101,7 +101,7 @@ public sealed partial class WebhookPackageUpdatedPackagePackageVersion /// [global::System.Text.Json.Serialization.JsonPropertyName("package_files")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PackageFiles { get; set; } + public required global::System.Collections.Generic.IList PackageFiles { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionDockerMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionDockerMetadata.g.cs deleted file mode 100644 index 9bb597c7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionDockerMetadata.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPackageUpdatedPackagePackageVersionDockerMetadata - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("tags")] - public global::System.Collections.Generic.IList? Tags { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionDockerMetadataItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionDockerMetadataItem.g.cs new file mode 100644 index 00000000..eb77f165 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionDockerMetadataItem.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackageUpdatedPackagePackageVersionDockerMetadataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tags")] + public global::System.Collections.Generic.IList? Tags { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionMetadataItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionMetadataItem.g.cs new file mode 100644 index 00000000..8523560f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionMetadataItem.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackageUpdatedPackagePackageVersionMetadataItem + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionPackageFile.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionPackageFile.g.cs new file mode 100644 index 00000000..8d55f189 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionPackageFile.g.cs @@ -0,0 +1,94 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPackageUpdatedPackagePackageVersionPackageFile + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ContentType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("download_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DownloadUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("md5")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Md5 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Sha1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha256")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha256 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Size { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionPackageFiles.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionPackageFiles.g.cs deleted file mode 100644 index 60658c16..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPackageUpdatedPackagePackageVersionPackageFiles.g.cs +++ /dev/null @@ -1,94 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPackageUpdatedPackagePackageVersionPackageFiles - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ContentType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("download_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string DownloadUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("md5")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Md5 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Sha1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha256")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha256 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("size")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Size { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string State { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string UpdatedAt { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPingHookConfig.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPingHookConfig.g.cs index 0a52a0f7..8f92cbe4 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPingHookConfig.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPingHookConfig.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -21,8 +19,8 @@ public sealed partial class WebhookPingHookConfig /// /// [global::System.Text.Json.Serialization.JsonPropertyName("insecure_ssl")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? InsecureSsl { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookConfigInsecureSslJsonConverter))] + public global::GitHub.WebhookConfigInsecureSsl? InsecureSsl { get; set; } /// /// If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMoved.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMoved.g.cs index 3fa2b357..4b62183e 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMoved.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMoved.g.cs @@ -53,7 +53,7 @@ public sealed partial class WebhookProjectCardMoved [global::System.Text.Json.Serialization.JsonPropertyName("project_card")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf ProjectCard { get; set; } + public required global::System.AllOf ProjectCard { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCard.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCard.g.cs deleted file mode 100644 index 296fe472..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCard.g.cs +++ /dev/null @@ -1,106 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookProjectCardMovedProjectCard - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("after_id")] - public int? AfterId { get; set; } - - /// - /// Whether or not the card is archived - /// - [global::System.Text.Json.Serialization.JsonPropertyName("archived")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Archived { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("column_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int ColumnId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("column_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ColumnUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content_url")] - public string? ContentUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("creator")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookProjectCardMovedProjectCardCreator? Creator { get; set; } - - /// - /// The project card's ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("note")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Note { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("project_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ProjectUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardCreator.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardCreator.g.cs deleted file mode 100644 index eca33025..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardCreator.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookProjectCardMovedProjectCardCreator - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardMovedProjectCardCreatorTypeJsonConverter))] - public global::GitHub.WebhookProjectCardMovedProjectCardCreatorType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardCreatorType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardCreatorType.g.cs deleted file mode 100644 index f6e3e52b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardCreatorType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookProjectCardMovedProjectCardCreatorType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookProjectCardMovedProjectCardCreatorTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookProjectCardMovedProjectCardCreatorType value) - { - return value switch - { - WebhookProjectCardMovedProjectCardCreatorType.Bot => "Bot", - WebhookProjectCardMovedProjectCardCreatorType.User => "User", - WebhookProjectCardMovedProjectCardCreatorType.Organization => "Organization", - WebhookProjectCardMovedProjectCardCreatorType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookProjectCardMovedProjectCardCreatorType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookProjectCardMovedProjectCardCreatorType.Bot, - "User" => WebhookProjectCardMovedProjectCardCreatorType.User, - "Organization" => WebhookProjectCardMovedProjectCardCreatorType.Organization, - "Mannequin" => WebhookProjectCardMovedProjectCardCreatorType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant1.g.cs new file mode 100644 index 00000000..cd2bb4a3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant1.g.cs @@ -0,0 +1,106 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookProjectCardMovedProjectCardVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("after_id")] + public int? AfterId { get; set; } + + /// + /// Whether or not the card is archived + /// + [global::System.Text.Json.Serialization.JsonPropertyName("archived")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Archived { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("column_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ColumnId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("column_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ColumnUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content_url")] + public string? ContentUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("creator")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookProjectCardMovedProjectCardVariant1Creator? Creator { get; set; } + + /// + /// The project card's ID + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("note")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Note { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ProjectUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant1Creator.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant1Creator.g.cs new file mode 100644 index 00000000..c2393929 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant1Creator.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookProjectCardMovedProjectCardVariant1Creator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardMovedProjectCardVariant1CreatorTypeJsonConverter))] + public global::GitHub.WebhookProjectCardMovedProjectCardVariant1CreatorType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant1CreatorType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant1CreatorType.g.cs new file mode 100644 index 00000000..e0afda02 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant1CreatorType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookProjectCardMovedProjectCardVariant1CreatorType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookProjectCardMovedProjectCardVariant1CreatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookProjectCardMovedProjectCardVariant1CreatorType value) + { + return value switch + { + WebhookProjectCardMovedProjectCardVariant1CreatorType.Bot => "Bot", + WebhookProjectCardMovedProjectCardVariant1CreatorType.User => "User", + WebhookProjectCardMovedProjectCardVariant1CreatorType.Organization => "Organization", + WebhookProjectCardMovedProjectCardVariant1CreatorType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookProjectCardMovedProjectCardVariant1CreatorType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookProjectCardMovedProjectCardVariant1CreatorType.Bot, + "User" => WebhookProjectCardMovedProjectCardVariant1CreatorType.User, + "Organization" => WebhookProjectCardMovedProjectCardVariant1CreatorType.Organization, + "Mannequin" => WebhookProjectCardMovedProjectCardVariant1CreatorType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant2.g.cs new file mode 100644 index 00000000..83c12b1c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant2.g.cs @@ -0,0 +1,90 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookProjectCardMovedProjectCardVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("after_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double? AfterId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("archived")] + public bool Archived { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("column_id")] + public int ColumnId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("column_url")] + public string? ColumnUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public string? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("creator")] + public global::GitHub.WebhookProjectCardMovedProjectCardVariant2Creator? Creator { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("note")] + public string? Note { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project_url")] + public string? ProjectUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public string? UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant2Creator.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant2Creator.g.cs new file mode 100644 index 00000000..59d8a2df --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectCardMovedProjectCardVariant2Creator.g.cs @@ -0,0 +1,125 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookProjectCardMovedProjectCardVariant2Creator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + public string? Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEdited.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEdited.g.cs index 37ef0b9a..da0fcc50 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEdited.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEdited.g.cs @@ -24,7 +24,7 @@ public sealed partial class WebhookProjectsV2ItemEdited ///
[global::System.Text.Json.Serialization.JsonPropertyName("changes")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? Changes { get; set; } + public global::System.OneOf? Changes { get; set; } /// /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChanges.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChanges.g.cs deleted file mode 100644 index a48a81f0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChanges.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookProjectsV2ItemEditedChanges - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("field_value")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookProjectsV2ItemEditedChangesFieldValue FieldValue { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesBody.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesBody.g.cs deleted file mode 100644 index 6a5b81f5..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesBody.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookProjectsV2ItemEditedChangesBody - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("from")] - public string? From { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("to")] - public string? To { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesFieldValue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesFieldValue.g.cs deleted file mode 100644 index f0e27cc0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesFieldValue.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookProjectsV2ItemEditedChangesFieldValue - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("field_node_id")] - public string? FieldNodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("field_type")] - public string? FieldType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("field_name")] - public string? FieldName { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("project_number")] - public int ProjectNumber { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("from")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory4))] - public global::System.OneOf? From { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("to")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory4))] - public global::System.OneOf? To { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant1.g.cs new file mode 100644 index 00000000..8e0c4dd5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant1.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2ItemEditedChangesVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("field_value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookProjectsV2ItemEditedChangesVariant1FieldValue FieldValue { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.cs new file mode 100644 index 00000000..c07b8db2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant1FieldValue.g.cs @@ -0,0 +1,57 @@ + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2ItemEditedChangesVariant1FieldValue + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("field_node_id")] + public string? FieldNodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("field_type")] + public string? FieldType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("field_name")] + public string? FieldName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project_number")] + public int ProjectNumber { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory4))] + public global::System.OneOf? From { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("to")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory4))] + public global::System.OneOf? To { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant2.g.cs new file mode 100644 index 00000000..6539b1f3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant2.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2ItemEditedChangesVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("body")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookProjectsV2ItemEditedChangesVariant2Body Body { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant2Body.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant2Body.g.cs new file mode 100644 index 00000000..156868a7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookProjectsV2ItemEditedChangesVariant2Body.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookProjectsV2ItemEditedChangesVariant2Body + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public string? From { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("to")] + public string? To { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequest.g.cs index 55de4573..d8359e0a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestAssignedPullRequest ///
[global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestAssignedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestAssignedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..6af573b7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAssignedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..0f8f161f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAssignedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAssignedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAssignedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestAssignedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestAssignedPullRequestAssigneeType2.User => "User", + WebhookPullRequestAssignedPullRequestAssigneeType2.Organization => "Organization", + WebhookPullRequestAssignedPullRequestAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAssignedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestAssignedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestAssignedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestAssignedPullRequestAssigneeType2.Organization, + "Mannequin" => WebhookPullRequestAssignedPullRequestAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssignees.g.cs deleted file mode 100644 index 64f56c3a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestAssignedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestAssignedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssigneesType.g.cs deleted file mode 100644 index 12114b77..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestAssignedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestAssignedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestAssignedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestAssignedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestAssignedPullRequestAssigneesType.User => "User", - WebhookPullRequestAssignedPullRequestAssigneesType.Organization => "Organization", - WebhookPullRequestAssignedPullRequestAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestAssignedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestAssignedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestAssignedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestAssignedPullRequestAssigneesType.Organization, - "Mannequin" => WebhookPullRequestAssignedPullRequestAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestLabel.g.cs new file mode 100644 index 00000000..68043031 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAssignedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestLabels.g.cs deleted file mode 100644 index be9df6eb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestAssignedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..c2f4b249 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..04adb1d6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.Organization, + "Mannequin" => WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..445b4ad7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..8e5a5b4a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..9fd0841e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..4819be07 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..a0ab8e6a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestAssignedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..61f89332 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAssignedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..179da415 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..ebb5da92 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeams.g.cs deleted file mode 100644 index c600c36b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestAssignedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index b3f1d937..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestAssignedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 39ca759f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 9ad390c0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequest.g.cs index eea903a2..df5a3b3f 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssignee2.g.cs new file mode 100644 index 00000000..5d2c4598 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..11d48578 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.User => "User", + WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssignees.g.cs deleted file mode 100644 index ce6d53ab..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.g.cs deleted file mode 100644 index 7fba0639..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.User => "User", - WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestLabel.g.cs new file mode 100644 index 00000000..5245ce78 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestLabels.g.cs deleted file mode 100644 index f109a0c9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..b24a3591 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..a33177e0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.Organization, + "Mannequin" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..73a3d74e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..f320a6d4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..4ebca193 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..d01da41d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..f7da1f8b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..97959f92 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..374309f6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..f5a2ec65 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeams.g.cs deleted file mode 100644 index 9d9aa1d8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 435ba4c9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index ee3348bb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index ce214b55..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequest.g.cs index 7f1d53c8..3e679722 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssignee2.g.cs new file mode 100644 index 00000000..6d0eb17b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..e21bcba0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.User => "User", + WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssignees.g.cs deleted file mode 100644 index 344a918a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.g.cs deleted file mode 100644 index 0bc8c66f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.User => "User", - WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestLabel.g.cs new file mode 100644 index 00000000..0f5a2d0a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestLabels.g.cs deleted file mode 100644 index 7d3e35da..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..14350c1a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..f4329ffe --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.Organization, + "Mannequin" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..13acf1d2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..612557dc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..4b8b00c2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..3b68b41d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..cd9d263d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..19f090b8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..59d24cb8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..4a82a191 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeams.g.cs deleted file mode 100644 index ddedd398..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 7e68df16..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 48623a7f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 505f84a6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosed.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosed.g.cs index 9b8db915..9b6d2b2f 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosed.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosed.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -52,9 +50,9 @@ public sealed partial class WebhookPullRequestClosed /// /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.PullRequestWebhookJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf PullRequest { get; set; } + public required global::GitHub.PullRequestWebhook PullRequest { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequest.g.cs deleted file mode 100644 index 11cfa0ad..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequest.g.cs +++ /dev/null @@ -1,82 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestClosedPullRequest - { - /// - /// Whether to allow auto-merge for pull requests.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("allow_auto_merge")] - public bool AllowAutoMerge { get; set; } = false; - - /// - /// Whether to allow updating the pull request's branch. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("allow_update_branch")] - public bool AllowUpdateBranch { get; set; } - - /// - /// Whether to delete head branches when pull requests are merged.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("delete_branch_on_merge")] - public bool DeleteBranchOnMerge { get; set; } = false; - - /// - /// The default value for a merge commit message.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `PR_BODY` - default to the pull request's body.
- /// - `BLANK` - default to a blank commit message. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("merge_commit_message")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitMessageJsonConverter))] - public global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitMessage? MergeCommitMessage { get; set; } - - /// - /// The default value for a merge commit title.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("merge_commit_title")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitTitleJsonConverter))] - public global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitTitle? MergeCommitTitle { get; set; } - - /// - /// The default value for a squash merge commit message:
- /// - `PR_BODY` - default to the pull request's body.
- /// - `COMMIT_MESSAGES` - default to the branch's commit messages.
- /// - `BLANK` - default to a blank commit message. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("squash_merge_commit_message")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitMessageJsonConverter))] - public global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage? SquashMergeCommitMessage { get; set; } - - /// - /// The default value for a squash merge commit title:
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("squash_merge_commit_title")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitTitleJsonConverter))] - public global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle? SquashMergeCommitTitle { get; set; } - - /// - /// Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.**
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("use_squash_pr_title_as_default")] - public bool UseSquashPrTitleAsDefault { get; set; } = false; - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestMergeCommitMessage.g.cs deleted file mode 100644 index 60ab9138..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestMergeCommitMessage.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a merge commit message.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `PR_BODY` - default to the pull request's body.
- /// - `BLANK` - default to a blank commit message. - ///
- public enum WebhookPullRequestClosedPullRequestMergeCommitMessage - { - /// - /// - /// - PRBODY, - /// - /// - /// - PRTITLE, - /// - /// - /// - BLANK, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestClosedPullRequestMergeCommitMessageExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestClosedPullRequestMergeCommitMessage value) - { - return value switch - { - WebhookPullRequestClosedPullRequestMergeCommitMessage.PRBODY => "PR_BODY", - WebhookPullRequestClosedPullRequestMergeCommitMessage.PRTITLE => "PR_TITLE", - WebhookPullRequestClosedPullRequestMergeCommitMessage.BLANK => "BLANK", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestClosedPullRequestMergeCommitMessage? ToEnum(string value) - { - return value switch - { - "PR_BODY" => WebhookPullRequestClosedPullRequestMergeCommitMessage.PRBODY, - "PR_TITLE" => WebhookPullRequestClosedPullRequestMergeCommitMessage.PRTITLE, - "BLANK" => WebhookPullRequestClosedPullRequestMergeCommitMessage.BLANK, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestMergeCommitTitle.g.cs deleted file mode 100644 index f4bf4dcd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestMergeCommitTitle.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a merge commit title.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). - ///
- public enum WebhookPullRequestClosedPullRequestMergeCommitTitle - { - /// - /// - /// - PRTITLE, - /// - /// - /// - MERGEMESSAGE, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestClosedPullRequestMergeCommitTitleExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestClosedPullRequestMergeCommitTitle value) - { - return value switch - { - WebhookPullRequestClosedPullRequestMergeCommitTitle.PRTITLE => "PR_TITLE", - WebhookPullRequestClosedPullRequestMergeCommitTitle.MERGEMESSAGE => "MERGE_MESSAGE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestClosedPullRequestMergeCommitTitle? ToEnum(string value) - { - return value switch - { - "PR_TITLE" => WebhookPullRequestClosedPullRequestMergeCommitTitle.PRTITLE, - "MERGE_MESSAGE" => WebhookPullRequestClosedPullRequestMergeCommitTitle.MERGEMESSAGE, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.g.cs deleted file mode 100644 index 317900a7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a squash merge commit message:
- /// - `PR_BODY` - default to the pull request's body.
- /// - `COMMIT_MESSAGES` - default to the branch's commit messages.
- /// - `BLANK` - default to a blank commit message. - ///
- public enum WebhookPullRequestClosedPullRequestSquashMergeCommitMessage - { - /// - /// - /// - PRBODY, - /// - /// - /// - COMMITMESSAGES, - /// - /// - /// - BLANK, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestClosedPullRequestSquashMergeCommitMessageExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestClosedPullRequestSquashMergeCommitMessage value) - { - return value switch - { - WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.PRBODY => "PR_BODY", - WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.COMMITMESSAGES => "COMMIT_MESSAGES", - WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.BLANK => "BLANK", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestClosedPullRequestSquashMergeCommitMessage? ToEnum(string value) - { - return value switch - { - "PR_BODY" => WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.PRBODY, - "COMMIT_MESSAGES" => WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.COMMITMESSAGES, - "BLANK" => WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.BLANK, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle.g.cs deleted file mode 100644 index 0df5d75e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a squash merge commit title:
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). - ///
- public enum WebhookPullRequestClosedPullRequestSquashMergeCommitTitle - { - /// - /// - /// - PRTITLE, - /// - /// - /// - COMMITORPRTITLE, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestClosedPullRequestSquashMergeCommitTitleExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestClosedPullRequestSquashMergeCommitTitle value) - { - return value switch - { - WebhookPullRequestClosedPullRequestSquashMergeCommitTitle.PRTITLE => "PR_TITLE", - WebhookPullRequestClosedPullRequestSquashMergeCommitTitle.COMMITORPRTITLE => "COMMIT_OR_PR_TITLE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestClosedPullRequestSquashMergeCommitTitle? ToEnum(string value) - { - return value switch - { - "PR_TITLE" => WebhookPullRequestClosedPullRequestSquashMergeCommitTitle.PRTITLE, - "COMMIT_OR_PR_TITLE" => WebhookPullRequestClosedPullRequestSquashMergeCommitTitle.COMMITORPRTITLE, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraft.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraft.g.cs index 09e7e1d6..1dfec278 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraft.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraft.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -52,9 +50,9 @@ public sealed partial class WebhookPullRequestConvertedToDraft /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.PullRequestWebhookJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf PullRequest { get; set; } + public required global::GitHub.PullRequestWebhook PullRequest { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequest.g.cs deleted file mode 100644 index 98bf60ea..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequest.g.cs +++ /dev/null @@ -1,82 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestConvertedToDraftPullRequest - { - /// - /// Whether to allow auto-merge for pull requests.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("allow_auto_merge")] - public bool AllowAutoMerge { get; set; } = false; - - /// - /// Whether to allow updating the pull request's branch. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("allow_update_branch")] - public bool AllowUpdateBranch { get; set; } - - /// - /// Whether to delete head branches when pull requests are merged.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("delete_branch_on_merge")] - public bool DeleteBranchOnMerge { get; set; } = false; - - /// - /// The default value for a merge commit message.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `PR_BODY` - default to the pull request's body.
- /// - `BLANK` - default to a blank commit message. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("merge_commit_message")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageJsonConverter))] - public global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage? MergeCommitMessage { get; set; } - - /// - /// The default value for a merge commit title.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("merge_commit_title")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleJsonConverter))] - public global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle? MergeCommitTitle { get; set; } - - /// - /// The default value for a squash merge commit message:
- /// - `PR_BODY` - default to the pull request's body.
- /// - `COMMIT_MESSAGES` - default to the branch's commit messages.
- /// - `BLANK` - default to a blank commit message. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("squash_merge_commit_message")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageJsonConverter))] - public global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage? SquashMergeCommitMessage { get; set; } - - /// - /// The default value for a squash merge commit title:
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("squash_merge_commit_title")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleJsonConverter))] - public global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle? SquashMergeCommitTitle { get; set; } - - /// - /// Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.**
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("use_squash_pr_title_as_default")] - public bool UseSquashPrTitleAsDefault { get; set; } = false; - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.g.cs deleted file mode 100644 index 610733aa..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a merge commit message.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `PR_BODY` - default to the pull request's body.
- /// - `BLANK` - default to a blank commit message. - ///
- public enum WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage - { - /// - /// - /// - PRBODY, - /// - /// - /// - PRTITLE, - /// - /// - /// - BLANK, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage value) - { - return value switch - { - WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.PRBODY => "PR_BODY", - WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.PRTITLE => "PR_TITLE", - WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.BLANK => "BLANK", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage? ToEnum(string value) - { - return value switch - { - "PR_BODY" => WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.PRBODY, - "PR_TITLE" => WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.PRTITLE, - "BLANK" => WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.BLANK, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle.g.cs deleted file mode 100644 index 80028c3d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a merge commit title.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). - ///
- public enum WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle - { - /// - /// - /// - PRTITLE, - /// - /// - /// - MERGEMESSAGE, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle value) - { - return value switch - { - WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle.PRTITLE => "PR_TITLE", - WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle.MERGEMESSAGE => "MERGE_MESSAGE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle? ToEnum(string value) - { - return value switch - { - "PR_TITLE" => WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle.PRTITLE, - "MERGE_MESSAGE" => WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle.MERGEMESSAGE, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.g.cs deleted file mode 100644 index c1791fad..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a squash merge commit message:
- /// - `PR_BODY` - default to the pull request's body.
- /// - `COMMIT_MESSAGES` - default to the branch's commit messages.
- /// - `BLANK` - default to a blank commit message. - ///
- public enum WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage - { - /// - /// - /// - PRBODY, - /// - /// - /// - COMMITMESSAGES, - /// - /// - /// - BLANK, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage value) - { - return value switch - { - WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.PRBODY => "PR_BODY", - WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.COMMITMESSAGES => "COMMIT_MESSAGES", - WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.BLANK => "BLANK", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage? ToEnum(string value) - { - return value switch - { - "PR_BODY" => WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.PRBODY, - "COMMIT_MESSAGES" => WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.COMMITMESSAGES, - "BLANK" => WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.BLANK, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle.g.cs deleted file mode 100644 index ab45a980..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a squash merge commit title:
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). - ///
- public enum WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle - { - /// - /// - /// - PRTITLE, - /// - /// - /// - COMMITORPRTITLE, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle value) - { - return value switch - { - WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle.PRTITLE => "PR_TITLE", - WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle.COMMITORPRTITLE => "COMMIT_OR_PR_TITLE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle? ToEnum(string value) - { - return value switch - { - "PR_TITLE" => WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle.PRTITLE, - "COMMIT_OR_PR_TITLE" => WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle.COMMITORPRTITLE, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequest.g.cs index a93631ba..19148f74 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestDequeuedPullRequest ///
[global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestDequeuedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestDequeuedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..69d4bb89 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestDequeuedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..e26c4187 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestDequeuedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestDequeuedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestDequeuedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestDequeuedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestDequeuedPullRequestAssigneeType2.User => "User", + WebhookPullRequestDequeuedPullRequestAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestDequeuedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestDequeuedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestDequeuedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestDequeuedPullRequestAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssignees.g.cs deleted file mode 100644 index e1f5d64c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestDequeuedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssigneesType.g.cs deleted file mode 100644 index d3d55de9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestDequeuedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestDequeuedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestDequeuedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestDequeuedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestDequeuedPullRequestAssigneesType.User => "User", - WebhookPullRequestDequeuedPullRequestAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestDequeuedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestDequeuedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestDequeuedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestDequeuedPullRequestAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestLabel.g.cs new file mode 100644 index 00000000..09dd31a5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestDequeuedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestLabels.g.cs deleted file mode 100644 index 98c726cd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestDequeuedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..f17fdc2f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..24a0d287 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..46bfb14e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..8c392889 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..3e68450b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..d42dc976 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..f33c3c36 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestDequeuedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..1fbca059 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestDequeuedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..cbdb8683 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..3d138be3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeams.g.cs deleted file mode 100644 index 263fcd07..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestDequeuedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 59049d74..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestDequeuedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index ee4c5f44..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 0ec5fcd5..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEdited.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEdited.g.cs index 9bd023dc..5b903d92 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEdited.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEdited.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -59,9 +57,9 @@ public sealed partial class WebhookPullRequestEdited /// /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.PullRequestWebhookJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf PullRequest { get; set; } + public required global::GitHub.PullRequestWebhook PullRequest { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequest.g.cs deleted file mode 100644 index 3dcc538a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequest.g.cs +++ /dev/null @@ -1,82 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestEditedPullRequest - { - /// - /// Whether to allow auto-merge for pull requests.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("allow_auto_merge")] - public bool AllowAutoMerge { get; set; } = false; - - /// - /// Whether to allow updating the pull request's branch. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("allow_update_branch")] - public bool AllowUpdateBranch { get; set; } - - /// - /// Whether to delete head branches when pull requests are merged.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("delete_branch_on_merge")] - public bool DeleteBranchOnMerge { get; set; } = false; - - /// - /// The default value for a merge commit message.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `PR_BODY` - default to the pull request's body.
- /// - `BLANK` - default to a blank commit message. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("merge_commit_message")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitMessageJsonConverter))] - public global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitMessage? MergeCommitMessage { get; set; } - - /// - /// The default value for a merge commit title.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("merge_commit_title")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitTitleJsonConverter))] - public global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitTitle? MergeCommitTitle { get; set; } - - /// - /// The default value for a squash merge commit message:
- /// - `PR_BODY` - default to the pull request's body.
- /// - `COMMIT_MESSAGES` - default to the branch's commit messages.
- /// - `BLANK` - default to a blank commit message. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("squash_merge_commit_message")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitMessageJsonConverter))] - public global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage? SquashMergeCommitMessage { get; set; } - - /// - /// The default value for a squash merge commit title:
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("squash_merge_commit_title")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitTitleJsonConverter))] - public global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle? SquashMergeCommitTitle { get; set; } - - /// - /// Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.**
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("use_squash_pr_title_as_default")] - public bool UseSquashPrTitleAsDefault { get; set; } = false; - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestMergeCommitMessage.g.cs deleted file mode 100644 index f989b19a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestMergeCommitMessage.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a merge commit message.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `PR_BODY` - default to the pull request's body.
- /// - `BLANK` - default to a blank commit message. - ///
- public enum WebhookPullRequestEditedPullRequestMergeCommitMessage - { - /// - /// - /// - PRBODY, - /// - /// - /// - PRTITLE, - /// - /// - /// - BLANK, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestEditedPullRequestMergeCommitMessageExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestEditedPullRequestMergeCommitMessage value) - { - return value switch - { - WebhookPullRequestEditedPullRequestMergeCommitMessage.PRBODY => "PR_BODY", - WebhookPullRequestEditedPullRequestMergeCommitMessage.PRTITLE => "PR_TITLE", - WebhookPullRequestEditedPullRequestMergeCommitMessage.BLANK => "BLANK", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestEditedPullRequestMergeCommitMessage? ToEnum(string value) - { - return value switch - { - "PR_BODY" => WebhookPullRequestEditedPullRequestMergeCommitMessage.PRBODY, - "PR_TITLE" => WebhookPullRequestEditedPullRequestMergeCommitMessage.PRTITLE, - "BLANK" => WebhookPullRequestEditedPullRequestMergeCommitMessage.BLANK, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestMergeCommitTitle.g.cs deleted file mode 100644 index d350e4c0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestMergeCommitTitle.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a merge commit title.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). - ///
- public enum WebhookPullRequestEditedPullRequestMergeCommitTitle - { - /// - /// - /// - PRTITLE, - /// - /// - /// - MERGEMESSAGE, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestEditedPullRequestMergeCommitTitleExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestEditedPullRequestMergeCommitTitle value) - { - return value switch - { - WebhookPullRequestEditedPullRequestMergeCommitTitle.PRTITLE => "PR_TITLE", - WebhookPullRequestEditedPullRequestMergeCommitTitle.MERGEMESSAGE => "MERGE_MESSAGE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestEditedPullRequestMergeCommitTitle? ToEnum(string value) - { - return value switch - { - "PR_TITLE" => WebhookPullRequestEditedPullRequestMergeCommitTitle.PRTITLE, - "MERGE_MESSAGE" => WebhookPullRequestEditedPullRequestMergeCommitTitle.MERGEMESSAGE, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.g.cs deleted file mode 100644 index e1e483d5..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a squash merge commit message:
- /// - `PR_BODY` - default to the pull request's body.
- /// - `COMMIT_MESSAGES` - default to the branch's commit messages.
- /// - `BLANK` - default to a blank commit message. - ///
- public enum WebhookPullRequestEditedPullRequestSquashMergeCommitMessage - { - /// - /// - /// - PRBODY, - /// - /// - /// - COMMITMESSAGES, - /// - /// - /// - BLANK, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestEditedPullRequestSquashMergeCommitMessageExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestEditedPullRequestSquashMergeCommitMessage value) - { - return value switch - { - WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.PRBODY => "PR_BODY", - WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.COMMITMESSAGES => "COMMIT_MESSAGES", - WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.BLANK => "BLANK", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestEditedPullRequestSquashMergeCommitMessage? ToEnum(string value) - { - return value switch - { - "PR_BODY" => WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.PRBODY, - "COMMIT_MESSAGES" => WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.COMMITMESSAGES, - "BLANK" => WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.BLANK, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle.g.cs deleted file mode 100644 index 601c5d85..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a squash merge commit title:
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). - ///
- public enum WebhookPullRequestEditedPullRequestSquashMergeCommitTitle - { - /// - /// - /// - PRTITLE, - /// - /// - /// - COMMITORPRTITLE, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestEditedPullRequestSquashMergeCommitTitleExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestEditedPullRequestSquashMergeCommitTitle value) - { - return value switch - { - WebhookPullRequestEditedPullRequestSquashMergeCommitTitle.PRTITLE => "PR_TITLE", - WebhookPullRequestEditedPullRequestSquashMergeCommitTitle.COMMITORPRTITLE => "COMMIT_OR_PR_TITLE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestEditedPullRequestSquashMergeCommitTitle? ToEnum(string value) - { - return value switch - { - "PR_TITLE" => WebhookPullRequestEditedPullRequestSquashMergeCommitTitle.PRTITLE, - "COMMIT_OR_PR_TITLE" => WebhookPullRequestEditedPullRequestSquashMergeCommitTitle.COMMITORPRTITLE, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequest.g.cs index c24f70e5..d36113ed 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestEnqueuedPullRequest ///
[global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestEnqueuedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestEnqueuedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..e30df059 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestEnqueuedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..cd063bb1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestEnqueuedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestEnqueuedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestEnqueuedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestEnqueuedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestEnqueuedPullRequestAssigneeType2.User => "User", + WebhookPullRequestEnqueuedPullRequestAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestEnqueuedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestEnqueuedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestEnqueuedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestEnqueuedPullRequestAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssignees.g.cs deleted file mode 100644 index ee63a9bd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestEnqueuedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssigneesType.g.cs deleted file mode 100644 index 79a16baf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestEnqueuedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestEnqueuedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestEnqueuedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestEnqueuedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestEnqueuedPullRequestAssigneesType.User => "User", - WebhookPullRequestEnqueuedPullRequestAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestEnqueuedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestEnqueuedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestEnqueuedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestEnqueuedPullRequestAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestLabel.g.cs new file mode 100644 index 00000000..64cd57d1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestEnqueuedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestLabels.g.cs deleted file mode 100644 index d99936de..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestEnqueuedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..455157eb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..2c27a31a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..3e9bf0b2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..08812eae --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..baf77d3b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..8ab7b3d6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..a4d2f6f3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestEnqueuedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..a71e225f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestEnqueuedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..7d655578 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..8fc3fd39 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeams.g.cs deleted file mode 100644 index cd155b18..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestEnqueuedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index a7281c9f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestEnqueuedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 10445b11..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 6a6af7d4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequest.g.cs index b318793e..ba0895e4 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestLabeledPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestLabeledPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestLabeledPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssignee2.g.cs new file mode 100644 index 00000000..e8fe82fc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestLabeledPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..cca72366 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestLabeledPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestLabeledPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestLabeledPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestLabeledPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestLabeledPullRequestAssigneeType2.User => "User", + WebhookPullRequestLabeledPullRequestAssigneeType2.Organization => "Organization", + WebhookPullRequestLabeledPullRequestAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestLabeledPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestLabeledPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestLabeledPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestLabeledPullRequestAssigneeType2.Organization, + "Mannequin" => WebhookPullRequestLabeledPullRequestAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssignees.g.cs deleted file mode 100644 index 1c15158e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestLabeledPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestLabeledPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssigneesType.g.cs deleted file mode 100644 index dc311567..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestLabeledPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestLabeledPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestLabeledPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestLabeledPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestLabeledPullRequestAssigneesType.User => "User", - WebhookPullRequestLabeledPullRequestAssigneesType.Organization => "Organization", - WebhookPullRequestLabeledPullRequestAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestLabeledPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestLabeledPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestLabeledPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestLabeledPullRequestAssigneesType.Organization, - "Mannequin" => WebhookPullRequestLabeledPullRequestAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestLabel.g.cs new file mode 100644 index 00000000..2943f179 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestLabeledPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestLabels.g.cs deleted file mode 100644 index 22dbb05a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestLabeledPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..53aa520e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..fb4ecb23 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.Organization, + "Mannequin" => WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..33211463 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..54ba87be --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..95b94eec --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..1c201d0a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..ab517fd2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestLabeledPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..7a6f208a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestLabeledPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..bcf2993d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..4887331e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeams.g.cs deleted file mode 100644 index b0848e4b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestLabeledPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 2428fa52..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestLabeledPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 5ae0c99a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index bbfbffc9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequest.g.cs index f6506c1a..ef19fb9b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestLockedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestLockedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestLockedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..cffaca3a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestLockedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..5517acbb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestLockedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestLockedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestLockedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestLockedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestLockedPullRequestAssigneeType2.User => "User", + WebhookPullRequestLockedPullRequestAssigneeType2.Organization => "Organization", + WebhookPullRequestLockedPullRequestAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestLockedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestLockedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestLockedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestLockedPullRequestAssigneeType2.Organization, + "Mannequin" => WebhookPullRequestLockedPullRequestAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssignees.g.cs deleted file mode 100644 index 41ae0282..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestLockedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestLockedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssigneesType.g.cs deleted file mode 100644 index 12a65d6e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestLockedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestLockedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestLockedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestLockedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestLockedPullRequestAssigneesType.User => "User", - WebhookPullRequestLockedPullRequestAssigneesType.Organization => "Organization", - WebhookPullRequestLockedPullRequestAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestLockedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestLockedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestLockedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestLockedPullRequestAssigneesType.Organization, - "Mannequin" => WebhookPullRequestLockedPullRequestAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestLabel.g.cs new file mode 100644 index 00000000..ad0a2de4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestLockedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestLabels.g.cs deleted file mode 100644 index 2f342cfb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestLockedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..a38e3943 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestLockedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..2d97947f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.Organization, + "Mannequin" => WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..f700748f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestLockedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..06767bfb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..5dbd614d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..c68fb486 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..c05a44b4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestLockedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..4a820b6a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestLockedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..d4ef1394 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..ac87cf05 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestLockedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestLockedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestLockedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestLockedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeams.g.cs deleted file mode 100644 index 46f01196..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestLockedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index f4ce0c51..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestLockedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index f7658c49..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 4c7ab4a0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpened.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpened.g.cs index 8241889e..965a333c 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpened.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpened.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -52,9 +50,9 @@ public sealed partial class WebhookPullRequestOpened /// /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.PullRequestWebhookJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf PullRequest { get; set; } + public required global::GitHub.PullRequestWebhook PullRequest { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequest.g.cs deleted file mode 100644 index bc81b7df..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequest.g.cs +++ /dev/null @@ -1,82 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestOpenedPullRequest - { - /// - /// Whether to allow auto-merge for pull requests.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("allow_auto_merge")] - public bool AllowAutoMerge { get; set; } = false; - - /// - /// Whether to allow updating the pull request's branch. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("allow_update_branch")] - public bool AllowUpdateBranch { get; set; } - - /// - /// Whether to delete head branches when pull requests are merged.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("delete_branch_on_merge")] - public bool DeleteBranchOnMerge { get; set; } = false; - - /// - /// The default value for a merge commit message.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `PR_BODY` - default to the pull request's body.
- /// - `BLANK` - default to a blank commit message. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("merge_commit_message")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitMessageJsonConverter))] - public global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitMessage? MergeCommitMessage { get; set; } - - /// - /// The default value for a merge commit title.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("merge_commit_title")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitTitleJsonConverter))] - public global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitTitle? MergeCommitTitle { get; set; } - - /// - /// The default value for a squash merge commit message:
- /// - `PR_BODY` - default to the pull request's body.
- /// - `COMMIT_MESSAGES` - default to the branch's commit messages.
- /// - `BLANK` - default to a blank commit message. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("squash_merge_commit_message")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageJsonConverter))] - public global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage? SquashMergeCommitMessage { get; set; } - - /// - /// The default value for a squash merge commit title:
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("squash_merge_commit_title")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleJsonConverter))] - public global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle? SquashMergeCommitTitle { get; set; } - - /// - /// Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.**
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("use_squash_pr_title_as_default")] - public bool UseSquashPrTitleAsDefault { get; set; } = false; - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestMergeCommitMessage.g.cs deleted file mode 100644 index f145fb95..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestMergeCommitMessage.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a merge commit message.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `PR_BODY` - default to the pull request's body.
- /// - `BLANK` - default to a blank commit message. - ///
- public enum WebhookPullRequestOpenedPullRequestMergeCommitMessage - { - /// - /// - /// - PRBODY, - /// - /// - /// - PRTITLE, - /// - /// - /// - BLANK, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestOpenedPullRequestMergeCommitMessageExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestOpenedPullRequestMergeCommitMessage value) - { - return value switch - { - WebhookPullRequestOpenedPullRequestMergeCommitMessage.PRBODY => "PR_BODY", - WebhookPullRequestOpenedPullRequestMergeCommitMessage.PRTITLE => "PR_TITLE", - WebhookPullRequestOpenedPullRequestMergeCommitMessage.BLANK => "BLANK", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestOpenedPullRequestMergeCommitMessage? ToEnum(string value) - { - return value switch - { - "PR_BODY" => WebhookPullRequestOpenedPullRequestMergeCommitMessage.PRBODY, - "PR_TITLE" => WebhookPullRequestOpenedPullRequestMergeCommitMessage.PRTITLE, - "BLANK" => WebhookPullRequestOpenedPullRequestMergeCommitMessage.BLANK, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestMergeCommitTitle.g.cs deleted file mode 100644 index 073f4503..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestMergeCommitTitle.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a merge commit title.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). - ///
- public enum WebhookPullRequestOpenedPullRequestMergeCommitTitle - { - /// - /// - /// - PRTITLE, - /// - /// - /// - MERGEMESSAGE, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestOpenedPullRequestMergeCommitTitleExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestOpenedPullRequestMergeCommitTitle value) - { - return value switch - { - WebhookPullRequestOpenedPullRequestMergeCommitTitle.PRTITLE => "PR_TITLE", - WebhookPullRequestOpenedPullRequestMergeCommitTitle.MERGEMESSAGE => "MERGE_MESSAGE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestOpenedPullRequestMergeCommitTitle? ToEnum(string value) - { - return value switch - { - "PR_TITLE" => WebhookPullRequestOpenedPullRequestMergeCommitTitle.PRTITLE, - "MERGE_MESSAGE" => WebhookPullRequestOpenedPullRequestMergeCommitTitle.MERGEMESSAGE, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.g.cs deleted file mode 100644 index 52a24249..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a squash merge commit message:
- /// - `PR_BODY` - default to the pull request's body.
- /// - `COMMIT_MESSAGES` - default to the branch's commit messages.
- /// - `BLANK` - default to a blank commit message. - ///
- public enum WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage - { - /// - /// - /// - PRBODY, - /// - /// - /// - COMMITMESSAGES, - /// - /// - /// - BLANK, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage value) - { - return value switch - { - WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.PRBODY => "PR_BODY", - WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.COMMITMESSAGES => "COMMIT_MESSAGES", - WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.BLANK => "BLANK", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage? ToEnum(string value) - { - return value switch - { - "PR_BODY" => WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.PRBODY, - "COMMIT_MESSAGES" => WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.COMMITMESSAGES, - "BLANK" => WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.BLANK, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle.g.cs deleted file mode 100644 index b61abcf7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a squash merge commit title:
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). - ///
- public enum WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle - { - /// - /// - /// - PRTITLE, - /// - /// - /// - COMMITORPRTITLE, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle value) - { - return value switch - { - WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle.PRTITLE => "PR_TITLE", - WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle.COMMITORPRTITLE => "COMMIT_OR_PR_TITLE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle? ToEnum(string value) - { - return value switch - { - "PR_TITLE" => WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle.PRTITLE, - "COMMIT_OR_PR_TITLE" => WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle.COMMITORPRTITLE, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReview.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReview.g.cs index 81e3e7ac..fe48e024 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReview.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReview.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -52,9 +50,9 @@ public sealed partial class WebhookPullRequestReadyForReview /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.PullRequestWebhookJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf PullRequest { get; set; } + public required global::GitHub.PullRequestWebhook PullRequest { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequest.g.cs deleted file mode 100644 index 5455ab7b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequest.g.cs +++ /dev/null @@ -1,82 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReadyForReviewPullRequest - { - /// - /// Whether to allow auto-merge for pull requests.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("allow_auto_merge")] - public bool AllowAutoMerge { get; set; } = false; - - /// - /// Whether to allow updating the pull request's branch. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("allow_update_branch")] - public bool AllowUpdateBranch { get; set; } - - /// - /// Whether to delete head branches when pull requests are merged.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("delete_branch_on_merge")] - public bool DeleteBranchOnMerge { get; set; } = false; - - /// - /// The default value for a merge commit message.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `PR_BODY` - default to the pull request's body.
- /// - `BLANK` - default to a blank commit message. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("merge_commit_message")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageJsonConverter))] - public global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage? MergeCommitMessage { get; set; } - - /// - /// The default value for a merge commit title.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("merge_commit_title")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleJsonConverter))] - public global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle? MergeCommitTitle { get; set; } - - /// - /// The default value for a squash merge commit message:
- /// - `PR_BODY` - default to the pull request's body.
- /// - `COMMIT_MESSAGES` - default to the branch's commit messages.
- /// - `BLANK` - default to a blank commit message. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("squash_merge_commit_message")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageJsonConverter))] - public global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage? SquashMergeCommitMessage { get; set; } - - /// - /// The default value for a squash merge commit title:
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("squash_merge_commit_title")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleJsonConverter))] - public global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle? SquashMergeCommitTitle { get; set; } - - /// - /// Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.**
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("use_squash_pr_title_as_default")] - public bool UseSquashPrTitleAsDefault { get; set; } = false; - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.g.cs deleted file mode 100644 index fb14b90b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a merge commit message.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `PR_BODY` - default to the pull request's body.
- /// - `BLANK` - default to a blank commit message. - ///
- public enum WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage - { - /// - /// - /// - PRBODY, - /// - /// - /// - PRTITLE, - /// - /// - /// - BLANK, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage value) - { - return value switch - { - WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.PRBODY => "PR_BODY", - WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.PRTITLE => "PR_TITLE", - WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.BLANK => "BLANK", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage? ToEnum(string value) - { - return value switch - { - "PR_BODY" => WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.PRBODY, - "PR_TITLE" => WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.PRTITLE, - "BLANK" => WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.BLANK, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle.g.cs deleted file mode 100644 index 1f996b1c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a merge commit title.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). - ///
- public enum WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle - { - /// - /// - /// - PRTITLE, - /// - /// - /// - MERGEMESSAGE, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle value) - { - return value switch - { - WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle.PRTITLE => "PR_TITLE", - WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle.MERGEMESSAGE => "MERGE_MESSAGE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle? ToEnum(string value) - { - return value switch - { - "PR_TITLE" => WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle.PRTITLE, - "MERGE_MESSAGE" => WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle.MERGEMESSAGE, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.g.cs deleted file mode 100644 index affa3f7c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a squash merge commit message:
- /// - `PR_BODY` - default to the pull request's body.
- /// - `COMMIT_MESSAGES` - default to the branch's commit messages.
- /// - `BLANK` - default to a blank commit message. - ///
- public enum WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage - { - /// - /// - /// - PRBODY, - /// - /// - /// - COMMITMESSAGES, - /// - /// - /// - BLANK, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage value) - { - return value switch - { - WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.PRBODY => "PR_BODY", - WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.COMMITMESSAGES => "COMMIT_MESSAGES", - WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.BLANK => "BLANK", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage? ToEnum(string value) - { - return value switch - { - "PR_BODY" => WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.PRBODY, - "COMMIT_MESSAGES" => WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.COMMITMESSAGES, - "BLANK" => WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.BLANK, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle.g.cs deleted file mode 100644 index d6c1d4eb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a squash merge commit title:
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). - ///
- public enum WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle - { - /// - /// - /// - PRTITLE, - /// - /// - /// - COMMITORPRTITLE, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle value) - { - return value switch - { - WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle.PRTITLE => "PR_TITLE", - WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle.COMMITORPRTITLE => "COMMIT_OR_PR_TITLE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle? ToEnum(string value) - { - return value switch - { - "PR_TITLE" => WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle.PRTITLE, - "COMMIT_OR_PR_TITLE" => WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle.COMMITORPRTITLE, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopened.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopened.g.cs index 12b228fc..d0125813 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopened.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopened.g.cs @@ -1,6 +1,4 @@ -#pragma warning disable CS0618 // Type or member is obsolete - #nullable enable namespace GitHub @@ -52,9 +50,9 @@ public sealed partial class WebhookPullRequestReopened /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.PullRequestWebhookJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf PullRequest { get; set; } + public required global::GitHub.PullRequestWebhook PullRequest { get; set; } /// /// The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequest.g.cs deleted file mode 100644 index 0f9c980c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequest.g.cs +++ /dev/null @@ -1,82 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReopenedPullRequest - { - /// - /// Whether to allow auto-merge for pull requests.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("allow_auto_merge")] - public bool AllowAutoMerge { get; set; } = false; - - /// - /// Whether to allow updating the pull request's branch. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("allow_update_branch")] - public bool AllowUpdateBranch { get; set; } - - /// - /// Whether to delete head branches when pull requests are merged.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("delete_branch_on_merge")] - public bool DeleteBranchOnMerge { get; set; } = false; - - /// - /// The default value for a merge commit message.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `PR_BODY` - default to the pull request's body.
- /// - `BLANK` - default to a blank commit message. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("merge_commit_message")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitMessageJsonConverter))] - public global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitMessage? MergeCommitMessage { get; set; } - - /// - /// The default value for a merge commit title.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("merge_commit_title")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitTitleJsonConverter))] - public global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitTitle? MergeCommitTitle { get; set; } - - /// - /// The default value for a squash merge commit message:
- /// - `PR_BODY` - default to the pull request's body.
- /// - `COMMIT_MESSAGES` - default to the branch's commit messages.
- /// - `BLANK` - default to a blank commit message. - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("squash_merge_commit_message")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageJsonConverter))] - public global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage? SquashMergeCommitMessage { get; set; } - - /// - /// The default value for a squash merge commit title:
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("squash_merge_commit_title")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleJsonConverter))] - public global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle? SquashMergeCommitTitle { get; set; } - - /// - /// Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.**
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("use_squash_pr_title_as_default")] - public bool UseSquashPrTitleAsDefault { get; set; } = false; - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestMergeCommitMessage.g.cs deleted file mode 100644 index b0ff5916..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestMergeCommitMessage.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a merge commit message.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `PR_BODY` - default to the pull request's body.
- /// - `BLANK` - default to a blank commit message. - ///
- public enum WebhookPullRequestReopenedPullRequestMergeCommitMessage - { - /// - /// - /// - PRBODY, - /// - /// - /// - PRTITLE, - /// - /// - /// - BLANK, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReopenedPullRequestMergeCommitMessageExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReopenedPullRequestMergeCommitMessage value) - { - return value switch - { - WebhookPullRequestReopenedPullRequestMergeCommitMessage.PRBODY => "PR_BODY", - WebhookPullRequestReopenedPullRequestMergeCommitMessage.PRTITLE => "PR_TITLE", - WebhookPullRequestReopenedPullRequestMergeCommitMessage.BLANK => "BLANK", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReopenedPullRequestMergeCommitMessage? ToEnum(string value) - { - return value switch - { - "PR_BODY" => WebhookPullRequestReopenedPullRequestMergeCommitMessage.PRBODY, - "PR_TITLE" => WebhookPullRequestReopenedPullRequestMergeCommitMessage.PRTITLE, - "BLANK" => WebhookPullRequestReopenedPullRequestMergeCommitMessage.BLANK, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestMergeCommitTitle.g.cs deleted file mode 100644 index 346ab47f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestMergeCommitTitle.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a merge commit title.
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., "Merge pull request #123 from branch-name"). - ///
- public enum WebhookPullRequestReopenedPullRequestMergeCommitTitle - { - /// - /// - /// - PRTITLE, - /// - /// - /// - MERGEMESSAGE, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReopenedPullRequestMergeCommitTitleExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReopenedPullRequestMergeCommitTitle value) - { - return value switch - { - WebhookPullRequestReopenedPullRequestMergeCommitTitle.PRTITLE => "PR_TITLE", - WebhookPullRequestReopenedPullRequestMergeCommitTitle.MERGEMESSAGE => "MERGE_MESSAGE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReopenedPullRequestMergeCommitTitle? ToEnum(string value) - { - return value switch - { - "PR_TITLE" => WebhookPullRequestReopenedPullRequestMergeCommitTitle.PRTITLE, - "MERGE_MESSAGE" => WebhookPullRequestReopenedPullRequestMergeCommitTitle.MERGEMESSAGE, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.g.cs deleted file mode 100644 index 028b3a6f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a squash merge commit message:
- /// - `PR_BODY` - default to the pull request's body.
- /// - `COMMIT_MESSAGES` - default to the branch's commit messages.
- /// - `BLANK` - default to a blank commit message. - ///
- public enum WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage - { - /// - /// - /// - PRBODY, - /// - /// - /// - COMMITMESSAGES, - /// - /// - /// - BLANK, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage value) - { - return value switch - { - WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.PRBODY => "PR_BODY", - WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.COMMITMESSAGES => "COMMIT_MESSAGES", - WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.BLANK => "BLANK", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage? ToEnum(string value) - { - return value switch - { - "PR_BODY" => WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.PRBODY, - "COMMIT_MESSAGES" => WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.COMMITMESSAGES, - "BLANK" => WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.BLANK, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle.g.cs deleted file mode 100644 index 4abbb21b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The default value for a squash merge commit title:
- /// - `PR_TITLE` - default to the pull request's title.
- /// - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). - ///
- public enum WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle - { - /// - /// - /// - PRTITLE, - /// - /// - /// - COMMITORPRTITLE, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle value) - { - return value switch - { - WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle.PRTITLE => "PR_TITLE", - WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle.COMMITORPRTITLE => "COMMIT_OR_PR_TITLE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle? ToEnum(string value) - { - return value switch - { - "PR_TITLE" => WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle.PRTITLE, - "COMMIT_OR_PR_TITLE" => WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle.COMMITORPRTITLE, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequest.g.cs index 4f46a207..c00e217a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequest.g.cs @@ -37,7 +37,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequest ///
[global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -141,7 +141,7 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -197,14 +197,14 @@ public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..ee7c01b5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..b1aa3bcc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.User => "User", + WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.Organization => "Organization", + WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.Organization, + "Mannequin" => WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssignees.g.cs deleted file mode 100644 index 215b856b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.g.cs deleted file mode 100644 index 9f0b4f5e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.User => "User", - WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.Organization => "Organization", - WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.Organization, - "Mannequin" => WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestLabel.g.cs new file mode 100644 index 00000000..b728a0e7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestLabels.g.cs deleted file mode 100644 index bc20049b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..20762e44 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..cfb32846 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.Organization, + "Mannequin" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..c31650a8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..21c03fd4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..6193475d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..95b66b43 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..90102fbd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..ff635afe --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..5aa54ce4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..881e6fd3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeams.g.cs deleted file mode 100644 index 01865c9b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index ceab10e7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 2fdfe001..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index b7de2099..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequest.g.cs index 682b8490..ebb5620b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequest.g.cs @@ -37,7 +37,7 @@ public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -141,7 +141,7 @@ public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -197,14 +197,14 @@ public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..33f69ce0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..d974bafa --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.User => "User", + WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssignees.g.cs deleted file mode 100644 index bbb96d51..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.g.cs deleted file mode 100644 index 27002553..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.User => "User", - WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestLabel.g.cs new file mode 100644 index 00000000..98c17645 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestLabels.g.cs deleted file mode 100644 index 11426c4f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..235ef116 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..81ba81c5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..5c85f099 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..d2d0653d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..b6d05bd2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..083e5920 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..79d71e46 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..dd95908c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..1a58fffc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..f45775e2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeams.g.cs deleted file mode 100644 index 82da8a44..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 352fb9bd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 0c2dde8e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 524dcecc..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequest.g.cs index 952c54fe..af791a2a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequest.g.cs @@ -37,7 +37,7 @@ public sealed partial class WebhookPullRequestReviewCommentEditedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -141,7 +141,7 @@ public sealed partial class WebhookPullRequestReviewCommentEditedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -197,14 +197,14 @@ public sealed partial class WebhookPullRequestReviewCommentEditedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..35b69268 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..7f8eaf09 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.User => "User", + WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssignees.g.cs deleted file mode 100644 index 96d0f4b8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.g.cs deleted file mode 100644 index ca708000..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewCommentEditedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewCommentEditedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.User => "User", - WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewCommentEditedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestLabel.g.cs new file mode 100644 index 00000000..5da1f70d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestLabels.g.cs deleted file mode 100644 index 821fc6db..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..e4362f95 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..79050050 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..7e0cb26b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..1f30ae47 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..8ceb30c8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..48a945bd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..16489644 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..b3ab478f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..10510d1e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..4ef12557 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeams.g.cs deleted file mode 100644 index 3daa3ee0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index a869a30f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 59baafd9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 1962b991..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequest.g.cs index 92edfb1d..f593b218 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequest.g.cs @@ -37,7 +37,7 @@ public sealed partial class WebhookPullRequestReviewDismissedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -143,7 +143,7 @@ public sealed partial class WebhookPullRequestReviewDismissedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -199,14 +199,14 @@ public sealed partial class WebhookPullRequestReviewDismissedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..5c730dce --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewDismissedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..6002229a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewDismissedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewDismissedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewDismissedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestReviewDismissedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestReviewDismissedPullRequestAssigneeType2.User => "User", + WebhookPullRequestReviewDismissedPullRequestAssigneeType2.Organization => "Organization", + WebhookPullRequestReviewDismissedPullRequestAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewDismissedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewDismissedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestReviewDismissedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestReviewDismissedPullRequestAssigneeType2.Organization, + "Mannequin" => WebhookPullRequestReviewDismissedPullRequestAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssignees.g.cs deleted file mode 100644 index 28011d4e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewDismissedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssigneesType.g.cs deleted file mode 100644 index 6593c633..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewDismissedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewDismissedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewDismissedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestReviewDismissedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestReviewDismissedPullRequestAssigneesType.User => "User", - WebhookPullRequestReviewDismissedPullRequestAssigneesType.Organization => "Organization", - WebhookPullRequestReviewDismissedPullRequestAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewDismissedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewDismissedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestReviewDismissedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestReviewDismissedPullRequestAssigneesType.Organization, - "Mannequin" => WebhookPullRequestReviewDismissedPullRequestAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestLabel.g.cs new file mode 100644 index 00000000..abca98e1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewDismissedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestLabels.g.cs deleted file mode 100644 index 38525962..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewDismissedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..f78262a3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..ab16dba0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.Organization, + "Mannequin" => WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..1f804706 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..c986bb37 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..c832d0c9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..f89a7bf7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..45ad1729 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewDismissedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..cfa01c79 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewDismissedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..a6cae4da --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..bb773b40 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeams.g.cs deleted file mode 100644 index 4f62ce16..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestReviewDismissedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 17c87dfe..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 6c4db4f2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 2ac3b9ff..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequest.g.cs index 8980642a..57908ab0 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequest.g.cs @@ -37,7 +37,7 @@ public sealed partial class WebhookPullRequestReviewEditedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -143,7 +143,7 @@ public sealed partial class WebhookPullRequestReviewEditedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -199,14 +199,14 @@ public sealed partial class WebhookPullRequestReviewEditedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..279dc582 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewEditedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..1fcb365a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewEditedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewEditedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewEditedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestReviewEditedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestReviewEditedPullRequestAssigneeType2.User => "User", + WebhookPullRequestReviewEditedPullRequestAssigneeType2.Organization => "Organization", + WebhookPullRequestReviewEditedPullRequestAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewEditedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewEditedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestReviewEditedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestReviewEditedPullRequestAssigneeType2.Organization, + "Mannequin" => WebhookPullRequestReviewEditedPullRequestAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssignees.g.cs deleted file mode 100644 index 783e12f2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewEditedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssigneesType.g.cs deleted file mode 100644 index edf5df28..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewEditedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewEditedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewEditedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestReviewEditedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestReviewEditedPullRequestAssigneesType.User => "User", - WebhookPullRequestReviewEditedPullRequestAssigneesType.Organization => "Organization", - WebhookPullRequestReviewEditedPullRequestAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewEditedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewEditedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestReviewEditedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestReviewEditedPullRequestAssigneesType.Organization, - "Mannequin" => WebhookPullRequestReviewEditedPullRequestAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestLabel.g.cs new file mode 100644 index 00000000..945293e2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewEditedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestLabels.g.cs deleted file mode 100644 index 89b825da..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewEditedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..c69022c0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..8b1bf55c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.Organization, + "Mannequin" => WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..0c60cbf8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..43b6bba3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..576e59a4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..d1c197d7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..4257ee47 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewEditedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..e7e4c835 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewEditedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..d83a8c03 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..ef153201 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeams.g.cs deleted file mode 100644 index 55154c43..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestReviewEditedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 0e0d38d4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewEditedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index d403e372..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index da742eca..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequest.g.cs index 43986edf..48a0de8a 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignee2.g.cs new file mode 100644 index 00000000..000284fe --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..cc654abc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.User => "User", + WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignees.g.cs deleted file mode 100644 index 4c2b4aa2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.g.cs deleted file mode 100644 index 625d628e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.User => "User", - WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.Bot, - "User" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.User, - "Organization" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLabel.g.cs new file mode 100644 index 00000000..d8407388 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLabels.g.cs deleted file mode 100644 index dfb8a6a8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..c1be97af --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..7693689b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..b3b94a41 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..5fda46b1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..66b46255 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..e70ef3fd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..65bdf126 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeam.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..9f5baa83 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..e4dd0c2c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..3a3d75e0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeams.g.cs deleted file mode 100644 index 0a73fbeb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,107 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 8c7a7492..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 1811f5f1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 5537a601..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequest.g.cs index 7b07b18f..0620aa5b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRe /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignee2.g.cs new file mode 100644 index 00000000..27cd3bcf --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..73abd164 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.User => "User", + WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignees.g.cs deleted file mode 100644 index 2c8091e0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.g.cs deleted file mode 100644 index bf69706b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.User => "User", - WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.Bot, - "User" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.User, - "Organization" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLabel.g.cs new file mode 100644 index 00000000..4b51864f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLabels.g.cs deleted file mode 100644 index 8b296c75..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..384ee7f6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..279fe90f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..5c97ea47 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..a0e26baf --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..11eaf76c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..af1f33ed --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..20f7644d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeam.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..29052e40 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..f79a2998 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..24176622 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeams.g.cs deleted file mode 100644 index cc3dfe9b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,107 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 9515ba5a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 3fbccad8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 6114f879..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequest.g.cs index 9b2b421a..a3f22ce6 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssignee2.g.cs new file mode 100644 index 00000000..404cb9cb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..8de8902c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.User => "User", + WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.Organization => "Organization", + WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.Organization, + "Mannequin" => WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssignees.g.cs deleted file mode 100644 index cb5f5017..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.g.cs deleted file mode 100644 index e55e0c72..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.User => "User", - WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.Organization => "Organization", - WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.Bot, - "User" => WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.User, - "Organization" => WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.Organization, - "Mannequin" => WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestLabel.g.cs new file mode 100644 index 00000000..958e92e8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestLabels.g.cs deleted file mode 100644 index 5674ed4f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..29a1a3cd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..a5d96d20 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..594638a3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..0e5c9b62 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..c7b34ff4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..be23ec9d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..fef4ca3f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..ebb059cc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..95cf4df4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..59787b8c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeams.g.cs deleted file mode 100644 index e53caa36..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index fd55e3db..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 4d1d8616..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 8864a5dd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequest.g.cs index 83e3f3d8..f602e2e0 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssignee2.g.cs new file mode 100644 index 00000000..809b0110 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..9d68141e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.User => "User", + WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.Organization => "Organization", + WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.Organization, + "Mannequin" => WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssignees.g.cs deleted file mode 100644 index caf27279..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.g.cs deleted file mode 100644 index 7b5329f8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.User => "User", - WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.Organization => "Organization", - WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.Bot, - "User" => WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.User, - "Organization" => WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.Organization, - "Mannequin" => WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestLabel.g.cs new file mode 100644 index 00000000..0ab627a6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestLabels.g.cs deleted file mode 100644 index 538e4ad2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..a8334daa --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..c6906731 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..6873413d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..2eac9ceb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..394be471 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..33ab3e0c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..1fd8f1e4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..3a0395a9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..ff528e6d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..a69b95ae --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeams.g.cs deleted file mode 100644 index d482a568..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index b2a2b84b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 005e9af8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 866bc4c5..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequest.g.cs index 8cd7f9b2..3c01889d 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequest.g.cs @@ -37,7 +37,7 @@ public sealed partial class WebhookPullRequestReviewSubmittedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -143,7 +143,7 @@ public sealed partial class WebhookPullRequestReviewSubmittedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -199,14 +199,14 @@ public sealed partial class WebhookPullRequestReviewSubmittedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..4e325a5d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewSubmittedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..cf5d8616 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewSubmittedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewSubmittedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewSubmittedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.User => "User", + WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.Organization => "Organization", + WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewSubmittedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.Organization, + "Mannequin" => WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssignees.g.cs deleted file mode 100644 index 80549700..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewSubmittedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssigneesType.g.cs deleted file mode 100644 index 8f981afd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewSubmittedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewSubmittedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestReviewSubmittedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestReviewSubmittedPullRequestAssigneesType.User => "User", - WebhookPullRequestReviewSubmittedPullRequestAssigneesType.Organization => "Organization", - WebhookPullRequestReviewSubmittedPullRequestAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewSubmittedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewSubmittedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestReviewSubmittedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestReviewSubmittedPullRequestAssigneesType.Organization, - "Mannequin" => WebhookPullRequestReviewSubmittedPullRequestAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestLabel.g.cs new file mode 100644 index 00000000..45f64d33 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewSubmittedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestLabels.g.cs deleted file mode 100644 index 7f12410d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewSubmittedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..90cfff28 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..4b699460 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.Organization, + "Mannequin" => WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..4b19574e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..ffaa760e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..2d86781c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..f40190c3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..de0290b7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewSubmittedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..0abee191 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..188b50d7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..30cf6ede --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeams.g.cs deleted file mode 100644 index 7bb65458..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestReviewSubmittedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 334973dc..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 1055497a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index eb1e9653..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequest.g.cs index 491f536b..2b8e1e2b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequest.g.cs @@ -37,7 +37,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -143,7 +143,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -199,14 +199,14 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..ed09e2cd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..e357b408 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.User => "User", + WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssignees.g.cs deleted file mode 100644 index 6e88adc4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.g.cs deleted file mode 100644 index f39ad343..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.User => "User", - WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestLabel.g.cs new file mode 100644 index 00000000..3dbdc835 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestLabels.g.cs deleted file mode 100644 index 1e90ee4b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..ccd82905 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..ac0aa98f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.Organization, + "Mannequin" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..0ef047af --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..dfbe47f1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..05afdbf9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..e1a28068 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..0a72c098 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..b9991762 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..14e836c3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..9cf5969d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeams.g.cs deleted file mode 100644 index 9456921d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 0171e667..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 0b35aa5c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 06437261..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThread.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThread.g.cs index 1f14b248..978f35b3 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThread.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThread.g.cs @@ -13,7 +13,7 @@ public sealed partial class WebhookPullRequestReviewThreadResolvedThread /// [global::System.Text.Json.Serialization.JsonPropertyName("comments")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Comments { get; set; } + public required global::System.Collections.Generic.IList Comments { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadComment.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadComment.g.cs new file mode 100644 index 00000000..0e667af0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadComment.g.cs @@ -0,0 +1,209 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedThreadComment + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("_links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentLinks Links { get; set; } + + /// + /// How the author is associated with the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation AuthorAssociation { get; set; } + + /// + /// The text of the comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("body")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Body { get; set; } + + /// + /// The SHA of the commit to which the comment applies. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("commit_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CommitId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// The diff of the line that the comment refers to. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("diff_hunk")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DiffHunk { get; set; } + + /// + /// HTML URL for the pull request review comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// The ID of the pull request review comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The comment ID to reply to. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("in_reply_to_id")] + public int InReplyToId { get; set; } + + /// + /// The line of the blob to which the comment applies. The last line of the range for a multi-line comment + /// + [global::System.Text.Json.Serialization.JsonPropertyName("line")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? Line { get; set; } + + /// + /// The node ID of the pull request review comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// The SHA of the original commit to which the comment applies. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("original_commit_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string OriginalCommitId { get; set; } + + /// + /// The line of the blob to which the comment applies. The last line of the range for a multi-line comment + /// + [global::System.Text.Json.Serialization.JsonPropertyName("original_line")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? OriginalLine { get; set; } + + /// + /// The index of the original line in the diff to which the comment applies. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("original_position")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int OriginalPosition { get; set; } + + /// + /// The first line of the range for a multi-line comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("original_start_line")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? OriginalStartLine { get; set; } + + /// + /// The relative path of the file to which the comment applies. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// The line index in the diff to which the comment applies. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("position")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? Position { get; set; } + + /// + /// The ID of the pull request review to which the comment belongs. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_request_review_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? PullRequestReviewId { get; set; } + + /// + /// URL for the pull request that the review comment belongs to. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_request_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string PullRequestUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentReactions Reactions { get; set; } + + /// + /// The side of the first line of the range for a multi-line comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("side")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSideJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSide Side { get; set; } + + /// + /// The first line of the range for a multi-line comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_line")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? StartLine { get; set; } + + /// + /// The side of the first line of the range for a multi-line comment.
+ /// Default Value: RIGHT + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("start_side")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentStartSideJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide? StartSide { get; set; } + + /// + /// The level at which the comment is targeted, can be a diff line or a file. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subject_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType? SubjectType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// URL for the pull request review comment + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUser? User { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.g.cs new file mode 100644 index 00000000..701ed0b2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// How the author is associated with the repository. + /// + public enum WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation + { + /// + /// + /// + COLLABORATOR, + /// + /// + /// + CONTRIBUTOR, + /// + /// + /// + FIRSTTIMER, + /// + /// + /// + FIRSTTIMECONTRIBUTOR, + /// + /// + /// + MANNEQUIN, + /// + /// + /// + MEMBER, + /// + /// + /// + NONE, + /// + /// + /// + OWNER, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation value) + { + return value switch + { + WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.COLLABORATOR => "COLLABORATOR", + WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.CONTRIBUTOR => "CONTRIBUTOR", + WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.FIRSTTIMER => "FIRST_TIMER", + WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.FIRSTTIMECONTRIBUTOR => "FIRST_TIME_CONTRIBUTOR", + WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.MANNEQUIN => "MANNEQUIN", + WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.MEMBER => "MEMBER", + WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.NONE => "NONE", + WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.OWNER => "OWNER", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation? ToEnum(string value) + { + return value switch + { + "COLLABORATOR" => WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.COLLABORATOR, + "CONTRIBUTOR" => WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.CONTRIBUTOR, + "FIRST_TIMER" => WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.FIRSTTIMER, + "FIRST_TIME_CONTRIBUTOR" => WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.FIRSTTIMECONTRIBUTOR, + "MANNEQUIN" => WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.MANNEQUIN, + "MEMBER" => WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.MEMBER, + "NONE" => WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.NONE, + "OWNER" => WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.OWNER, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinks.g.cs new file mode 100644 index 00000000..aae348b7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinks.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentLinks + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentLinksHtml Html { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentLinksPullRequest PullRequest { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("self")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentLinksSelf Self { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinksHtml.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinksHtml.g.cs new file mode 100644 index 00000000..c8a92e32 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinksHtml.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentLinksHtml + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("href")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Href { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinksPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinksPullRequest.g.cs new file mode 100644 index 00000000..29bb8421 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinksPullRequest.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentLinksPullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("href")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Href { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinksSelf.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinksSelf.g.cs new file mode 100644 index 00000000..513b5f19 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentLinksSelf.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentLinksSelf + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("href")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Href { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentReactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentReactions.g.cs new file mode 100644 index 00000000..aa79fabc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentReactions.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentReactions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("+1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Plus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("-1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Minus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("confused")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Confused { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Eyes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("heart")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Heart { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Hooray { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Laugh { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Rocket { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int TotalCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentSide.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentSide.g.cs new file mode 100644 index 00000000..4a84c61a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentSide.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The side of the first line of the range for a multi-line comment. + /// + public enum WebhookPullRequestReviewThreadResolvedThreadCommentSide + { + /// + /// + /// + LEFT, + /// + /// + /// + RIGHT, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadResolvedThreadCommentSideExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadResolvedThreadCommentSide value) + { + return value switch + { + WebhookPullRequestReviewThreadResolvedThreadCommentSide.LEFT => "LEFT", + WebhookPullRequestReviewThreadResolvedThreadCommentSide.RIGHT => "RIGHT", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadResolvedThreadCommentSide? ToEnum(string value) + { + return value switch + { + "LEFT" => WebhookPullRequestReviewThreadResolvedThreadCommentSide.LEFT, + "RIGHT" => WebhookPullRequestReviewThreadResolvedThreadCommentSide.RIGHT, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide.g.cs new file mode 100644 index 00000000..7d0d209a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The side of the first line of the range for a multi-line comment.
+ /// Default Value: RIGHT + ///
+ public enum WebhookPullRequestReviewThreadResolvedThreadCommentStartSide + { + /// + /// + /// + LEFT, + /// + /// + /// + RIGHT, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadResolvedThreadCommentStartSideExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadResolvedThreadCommentStartSide value) + { + return value switch + { + WebhookPullRequestReviewThreadResolvedThreadCommentStartSide.LEFT => "LEFT", + WebhookPullRequestReviewThreadResolvedThreadCommentStartSide.RIGHT => "RIGHT", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadResolvedThreadCommentStartSide? ToEnum(string value) + { + return value switch + { + "LEFT" => WebhookPullRequestReviewThreadResolvedThreadCommentStartSide.LEFT, + "RIGHT" => WebhookPullRequestReviewThreadResolvedThreadCommentStartSide.RIGHT, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType.g.cs new file mode 100644 index 00000000..4800b9a6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The level at which the comment is targeted, can be a diff line or a file. + /// + public enum WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType + { + /// + /// + /// + Line, + /// + /// + /// + File, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType value) + { + return value switch + { + WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType.Line => "line", + WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType.File => "file", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType? ToEnum(string value) + { + return value switch + { + "line" => WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType.Line, + "file" => WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType.File, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUser.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUser.g.cs new file mode 100644 index 00000000..ee2ae45b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUser.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentUser + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUserType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUserType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUserType.g.cs new file mode 100644 index 00000000..8cc482ea --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentUserType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadResolvedThreadCommentUserType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadResolvedThreadCommentUserType value) + { + return value switch + { + WebhookPullRequestReviewThreadResolvedThreadCommentUserType.Bot => "Bot", + WebhookPullRequestReviewThreadResolvedThreadCommentUserType.User => "User", + WebhookPullRequestReviewThreadResolvedThreadCommentUserType.Organization => "Organization", + WebhookPullRequestReviewThreadResolvedThreadCommentUserType.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadResolvedThreadCommentUserType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewThreadResolvedThreadCommentUserType.Bot, + "User" => WebhookPullRequestReviewThreadResolvedThreadCommentUserType.User, + "Organization" => WebhookPullRequestReviewThreadResolvedThreadCommentUserType.Organization, + "Mannequin" => WebhookPullRequestReviewThreadResolvedThreadCommentUserType.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadComments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadComments.g.cs deleted file mode 100644 index 96ec3261..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadComments.g.cs +++ /dev/null @@ -1,209 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. - /// - public sealed partial class WebhookPullRequestReviewThreadResolvedThreadComments - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("_links")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsLinks Links { get; set; } - - /// - /// How the author is associated with the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation AuthorAssociation { get; set; } - - /// - /// The text of the comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("body")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Body { get; set; } - - /// - /// The SHA of the commit to which the comment applies. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("commit_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CommitId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// The diff of the line that the comment refers to. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("diff_hunk")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string DiffHunk { get; set; } - - /// - /// HTML URL for the pull request review comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// The ID of the pull request review comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The comment ID to reply to. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("in_reply_to_id")] - public int InReplyToId { get; set; } - - /// - /// The line of the blob to which the comment applies. The last line of the range for a multi-line comment - /// - [global::System.Text.Json.Serialization.JsonPropertyName("line")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? Line { get; set; } - - /// - /// The node ID of the pull request review comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// The SHA of the original commit to which the comment applies. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("original_commit_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string OriginalCommitId { get; set; } - - /// - /// The line of the blob to which the comment applies. The last line of the range for a multi-line comment - /// - [global::System.Text.Json.Serialization.JsonPropertyName("original_line")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? OriginalLine { get; set; } - - /// - /// The index of the original line in the diff to which the comment applies. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("original_position")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int OriginalPosition { get; set; } - - /// - /// The first line of the range for a multi-line comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("original_start_line")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? OriginalStartLine { get; set; } - - /// - /// The relative path of the file to which the comment applies. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// The line index in the diff to which the comment applies. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("position")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? Position { get; set; } - - /// - /// The ID of the pull request review to which the comment belongs. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_request_review_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? PullRequestReviewId { get; set; } - - /// - /// URL for the pull request that the review comment belongs to. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_request_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string PullRequestUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsReactions Reactions { get; set; } - - /// - /// The side of the first line of the range for a multi-line comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("side")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSideJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSide Side { get; set; } - - /// - /// The first line of the range for a multi-line comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("start_line")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? StartLine { get; set; } - - /// - /// The side of the first line of the range for a multi-line comment.
- /// Default Value: RIGHT - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("start_side")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide? StartSide { get; set; } - - /// - /// The level at which the comment is targeted, can be a diff line or a file. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subject_type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType? SubjectType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// URL for the pull request review comment - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("user")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUser? User { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.g.cs deleted file mode 100644 index 75d38a63..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.g.cs +++ /dev/null @@ -1,87 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// How the author is associated with the repository. - /// - public enum WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation - { - /// - /// - /// - COLLABORATOR, - /// - /// - /// - CONTRIBUTOR, - /// - /// - /// - FIRSTTIMER, - /// - /// - /// - FIRSTTIMECONTRIBUTOR, - /// - /// - /// - MANNEQUIN, - /// - /// - /// - MEMBER, - /// - /// - /// - NONE, - /// - /// - /// - OWNER, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation value) - { - return value switch - { - WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.COLLABORATOR => "COLLABORATOR", - WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.CONTRIBUTOR => "CONTRIBUTOR", - WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.FIRSTTIMER => "FIRST_TIMER", - WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.FIRSTTIMECONTRIBUTOR => "FIRST_TIME_CONTRIBUTOR", - WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.MANNEQUIN => "MANNEQUIN", - WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.MEMBER => "MEMBER", - WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.NONE => "NONE", - WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.OWNER => "OWNER", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation? ToEnum(string value) - { - return value switch - { - "COLLABORATOR" => WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.COLLABORATOR, - "CONTRIBUTOR" => WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.CONTRIBUTOR, - "FIRST_TIMER" => WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.FIRSTTIMER, - "FIRST_TIME_CONTRIBUTOR" => WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.FIRSTTIMECONTRIBUTOR, - "MANNEQUIN" => WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.MANNEQUIN, - "MEMBER" => WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.MEMBER, - "NONE" => WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.NONE, - "OWNER" => WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.OWNER, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinks.g.cs deleted file mode 100644 index e133c7b7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinks.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentsLinks - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksHtml Html { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksPullRequest PullRequest { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("self")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksSelf Self { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksHtml.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksHtml.g.cs deleted file mode 100644 index 4d8fcc9d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksHtml.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentsLinksHtml - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("href")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Href { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksPullRequest.g.cs deleted file mode 100644 index 85c8e3d2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksPullRequest.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentsLinksPullRequest - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("href")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Href { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksSelf.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksSelf.g.cs deleted file mode 100644 index 23d3b702..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksSelf.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentsLinksSelf - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("href")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Href { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsReactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsReactions.g.cs deleted file mode 100644 index 66a79741..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsReactions.g.cs +++ /dev/null @@ -1,87 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentsReactions - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("+1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Plus1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("-1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Minus1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("confused")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Confused { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Eyes { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("heart")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Heart { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Hooray { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Laugh { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Rocket { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int TotalCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsSide.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsSide.g.cs deleted file mode 100644 index 0f089165..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsSide.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The side of the first line of the range for a multi-line comment. - /// - public enum WebhookPullRequestReviewThreadResolvedThreadCommentsSide - { - /// - /// - /// - LEFT, - /// - /// - /// - RIGHT, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadResolvedThreadCommentsSideExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadResolvedThreadCommentsSide value) - { - return value switch - { - WebhookPullRequestReviewThreadResolvedThreadCommentsSide.LEFT => "LEFT", - WebhookPullRequestReviewThreadResolvedThreadCommentsSide.RIGHT => "RIGHT", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadResolvedThreadCommentsSide? ToEnum(string value) - { - return value switch - { - "LEFT" => WebhookPullRequestReviewThreadResolvedThreadCommentsSide.LEFT, - "RIGHT" => WebhookPullRequestReviewThreadResolvedThreadCommentsSide.RIGHT, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide.g.cs deleted file mode 100644 index 3cf43991..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The side of the first line of the range for a multi-line comment.
- /// Default Value: RIGHT - ///
- public enum WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide - { - /// - /// - /// - LEFT, - /// - /// - /// - RIGHT, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide value) - { - return value switch - { - WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide.LEFT => "LEFT", - WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide.RIGHT => "RIGHT", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide? ToEnum(string value) - { - return value switch - { - "LEFT" => WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide.LEFT, - "RIGHT" => WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide.RIGHT, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType.g.cs deleted file mode 100644 index 711b08ed..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The level at which the comment is targeted, can be a diff line or a file. - /// - public enum WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType - { - /// - /// - /// - Line, - /// - /// - /// - File, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType value) - { - return value switch - { - WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType.Line => "line", - WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType.File => "file", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType? ToEnum(string value) - { - return value switch - { - "line" => WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType.Line, - "file" => WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType.File, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsUser.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsUser.g.cs deleted file mode 100644 index 6bb6fec2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsUser.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadResolvedThreadCommentsUser - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.g.cs deleted file mode 100644 index 7245304e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewThreadResolvedThreadCommentsUserType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadResolvedThreadCommentsUserType value) - { - return value switch - { - WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.Bot => "Bot", - WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.User => "User", - WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.Organization => "Organization", - WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadResolvedThreadCommentsUserType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.Bot, - "User" => WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.User, - "Organization" => WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.Organization, - "Mannequin" => WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequest.g.cs index ef2ee170..47036f0c 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequest.g.cs @@ -37,7 +37,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequest ///
[global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -143,7 +143,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -199,14 +199,14 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..a523301c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..08ec650e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.User => "User", + WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignees.g.cs deleted file mode 100644 index dd851ddc..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.g.cs deleted file mode 100644 index 38d403bd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.User => "User", - WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestLabel.g.cs new file mode 100644 index 00000000..20d76ff6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestLabels.g.cs deleted file mode 100644 index 1fc90412..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..ea10b678 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..9862afc1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..ed8df99d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..7beb32dd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..6a855235 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..0ab06bf1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..d1473555 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..7d7a667a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..6215a871 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..037c30ea --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeams.g.cs deleted file mode 100644 index 9941e9f2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 476a8904..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index f113175a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 3088b936..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThread.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThread.g.cs index 503e3eef..bed9fbc9 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThread.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThread.g.cs @@ -13,7 +13,7 @@ public sealed partial class WebhookPullRequestReviewThreadUnresolvedThread /// [global::System.Text.Json.Serialization.JsonPropertyName("comments")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Comments { get; set; } + public required global::System.Collections.Generic.IList Comments { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadComment.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadComment.g.cs new file mode 100644 index 00000000..23763d12 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadComment.g.cs @@ -0,0 +1,209 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadComment + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("_links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinks Links { get; set; } + + /// + /// How the author is associated with the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation AuthorAssociation { get; set; } + + /// + /// The text of the comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("body")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Body { get; set; } + + /// + /// The SHA of the commit to which the comment applies. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("commit_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CommitId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// The diff of the line that the comment refers to. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("diff_hunk")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DiffHunk { get; set; } + + /// + /// HTML URL for the pull request review comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// The ID of the pull request review comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The comment ID to reply to. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("in_reply_to_id")] + public int InReplyToId { get; set; } + + /// + /// The line of the blob to which the comment applies. The last line of the range for a multi-line comment + /// + [global::System.Text.Json.Serialization.JsonPropertyName("line")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? Line { get; set; } + + /// + /// The node ID of the pull request review comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// The SHA of the original commit to which the comment applies. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("original_commit_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string OriginalCommitId { get; set; } + + /// + /// The line of the blob to which the comment applies. The last line of the range for a multi-line comment + /// + [global::System.Text.Json.Serialization.JsonPropertyName("original_line")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int OriginalLine { get; set; } + + /// + /// The index of the original line in the diff to which the comment applies. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("original_position")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int OriginalPosition { get; set; } + + /// + /// The first line of the range for a multi-line comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("original_start_line")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? OriginalStartLine { get; set; } + + /// + /// The relative path of the file to which the comment applies. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// The line index in the diff to which the comment applies. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("position")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? Position { get; set; } + + /// + /// The ID of the pull request review to which the comment belongs. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_request_review_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? PullRequestReviewId { get; set; } + + /// + /// URL for the pull request that the review comment belongs to. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_request_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string PullRequestUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentReactions Reactions { get; set; } + + /// + /// The side of the first line of the range for a multi-line comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("side")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSideJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide Side { get; set; } + + /// + /// The first line of the range for a multi-line comment. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_line")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? StartLine { get; set; } + + /// + /// The side of the first line of the range for a multi-line comment.
+ /// Default Value: RIGHT + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("start_side")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide? StartSide { get; set; } + + /// + /// The level at which the comment is targeted, can be a diff line or a file. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subject_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType? SubjectType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// URL for the pull request review comment + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser? User { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.g.cs new file mode 100644 index 00000000..b07524f1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// How the author is associated with the repository. + /// + public enum WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation + { + /// + /// + /// + COLLABORATOR, + /// + /// + /// + CONTRIBUTOR, + /// + /// + /// + FIRSTTIMER, + /// + /// + /// + FIRSTTIMECONTRIBUTOR, + /// + /// + /// + MANNEQUIN, + /// + /// + /// + MEMBER, + /// + /// + /// + NONE, + /// + /// + /// + OWNER, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation value) + { + return value switch + { + WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.COLLABORATOR => "COLLABORATOR", + WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.CONTRIBUTOR => "CONTRIBUTOR", + WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.FIRSTTIMER => "FIRST_TIMER", + WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.FIRSTTIMECONTRIBUTOR => "FIRST_TIME_CONTRIBUTOR", + WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.MANNEQUIN => "MANNEQUIN", + WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.MEMBER => "MEMBER", + WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.NONE => "NONE", + WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.OWNER => "OWNER", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation? ToEnum(string value) + { + return value switch + { + "COLLABORATOR" => WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.COLLABORATOR, + "CONTRIBUTOR" => WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.CONTRIBUTOR, + "FIRST_TIMER" => WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.FIRSTTIMER, + "FIRST_TIME_CONTRIBUTOR" => WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.FIRSTTIMECONTRIBUTOR, + "MANNEQUIN" => WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.MANNEQUIN, + "MEMBER" => WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.MEMBER, + "NONE" => WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.NONE, + "OWNER" => WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.OWNER, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinks.g.cs new file mode 100644 index 00000000..a48d0a6c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinks.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommentLinks + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksHtml Html { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksPullRequest PullRequest { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("self")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksSelf Self { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksHtml.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksHtml.g.cs new file mode 100644 index 00000000..fbef6f71 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksHtml.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksHtml + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("href")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Href { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksPullRequest.g.cs new file mode 100644 index 00000000..cba7f696 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksPullRequest.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksPullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("href")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Href { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksSelf.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksSelf.g.cs new file mode 100644 index 00000000..feced1e4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksSelf.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksSelf + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("href")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Href { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentReactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentReactions.g.cs new file mode 100644 index 00000000..e42c3ca3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentReactions.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommentReactions + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("+1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Plus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("-1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Minus1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("confused")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Confused { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Eyes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("heart")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Heart { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Hooray { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Laugh { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Rocket { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int TotalCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide.g.cs new file mode 100644 index 00000000..b9c27a00 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The side of the first line of the range for a multi-line comment. + /// + public enum WebhookPullRequestReviewThreadUnresolvedThreadCommentSide + { + /// + /// + /// + LEFT, + /// + /// + /// + RIGHT, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadUnresolvedThreadCommentSideExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedThreadCommentSide value) + { + return value switch + { + WebhookPullRequestReviewThreadUnresolvedThreadCommentSide.LEFT => "LEFT", + WebhookPullRequestReviewThreadUnresolvedThreadCommentSide.RIGHT => "RIGHT", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadUnresolvedThreadCommentSide? ToEnum(string value) + { + return value switch + { + "LEFT" => WebhookPullRequestReviewThreadUnresolvedThreadCommentSide.LEFT, + "RIGHT" => WebhookPullRequestReviewThreadUnresolvedThreadCommentSide.RIGHT, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide.g.cs new file mode 100644 index 00000000..7a5e6424 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The side of the first line of the range for a multi-line comment.
+ /// Default Value: RIGHT + ///
+ public enum WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide + { + /// + /// + /// + LEFT, + /// + /// + /// + RIGHT, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide value) + { + return value switch + { + WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide.LEFT => "LEFT", + WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide.RIGHT => "RIGHT", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide? ToEnum(string value) + { + return value switch + { + "LEFT" => WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide.LEFT, + "RIGHT" => WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide.RIGHT, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType.g.cs new file mode 100644 index 00000000..d9eb576d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The level at which the comment is targeted, can be a diff line or a file. + /// + public enum WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType + { + /// + /// + /// + Line, + /// + /// + /// + File, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType value) + { + return value switch + { + WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType.Line => "line", + WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType.File => "file", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType? ToEnum(string value) + { + return value switch + { + "line" => WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType.Line, + "file" => WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType.File, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser.g.cs new file mode 100644 index 00000000..7372ac47 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommentUser + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeJsonConverter))] + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.g.cs new file mode 100644 index 00000000..3aa827e1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType value) + { + return value switch + { + WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.Bot => "Bot", + WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.User => "User", + WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.Bot, + "User" => WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.User, + "Organization" => WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadComments.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadComments.g.cs deleted file mode 100644 index 2fc5b381..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadComments.g.cs +++ /dev/null @@ -1,209 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. - /// - public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadComments - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("_links")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinks Links { get; set; } - - /// - /// How the author is associated with the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("author_association")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation AuthorAssociation { get; set; } - - /// - /// The text of the comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("body")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Body { get; set; } - - /// - /// The SHA of the commit to which the comment applies. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("commit_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CommitId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// The diff of the line that the comment refers to. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("diff_hunk")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string DiffHunk { get; set; } - - /// - /// HTML URL for the pull request review comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// The ID of the pull request review comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The comment ID to reply to. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("in_reply_to_id")] - public int InReplyToId { get; set; } - - /// - /// The line of the blob to which the comment applies. The last line of the range for a multi-line comment - /// - [global::System.Text.Json.Serialization.JsonPropertyName("line")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? Line { get; set; } - - /// - /// The node ID of the pull request review comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// The SHA of the original commit to which the comment applies. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("original_commit_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string OriginalCommitId { get; set; } - - /// - /// The line of the blob to which the comment applies. The last line of the range for a multi-line comment - /// - [global::System.Text.Json.Serialization.JsonPropertyName("original_line")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int OriginalLine { get; set; } - - /// - /// The index of the original line in the diff to which the comment applies. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("original_position")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int OriginalPosition { get; set; } - - /// - /// The first line of the range for a multi-line comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("original_start_line")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? OriginalStartLine { get; set; } - - /// - /// The relative path of the file to which the comment applies. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// The line index in the diff to which the comment applies. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("position")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? Position { get; set; } - - /// - /// The ID of the pull request review to which the comment belongs. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_request_review_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? PullRequestReviewId { get; set; } - - /// - /// URL for the pull request that the review comment belongs to. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_request_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string PullRequestUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("reactions")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsReactions Reactions { get; set; } - - /// - /// The side of the first line of the range for a multi-line comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("side")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide Side { get; set; } - - /// - /// The first line of the range for a multi-line comment. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("start_line")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? StartLine { get; set; } - - /// - /// The side of the first line of the range for a multi-line comment.
- /// Default Value: RIGHT - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("start_side")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide? StartSide { get; set; } - - /// - /// The level at which the comment is targeted, can be a diff line or a file. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subject_type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType? SubjectType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// URL for the pull request review comment - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("user")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUser? User { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.g.cs deleted file mode 100644 index 4b39c9ff..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.g.cs +++ /dev/null @@ -1,87 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// How the author is associated with the repository. - /// - public enum WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation - { - /// - /// - /// - COLLABORATOR, - /// - /// - /// - CONTRIBUTOR, - /// - /// - /// - FIRSTTIMER, - /// - /// - /// - FIRSTTIMECONTRIBUTOR, - /// - /// - /// - MANNEQUIN, - /// - /// - /// - MEMBER, - /// - /// - /// - NONE, - /// - /// - /// - OWNER, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation value) - { - return value switch - { - WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.COLLABORATOR => "COLLABORATOR", - WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.CONTRIBUTOR => "CONTRIBUTOR", - WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.FIRSTTIMER => "FIRST_TIMER", - WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.FIRSTTIMECONTRIBUTOR => "FIRST_TIME_CONTRIBUTOR", - WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.MANNEQUIN => "MANNEQUIN", - WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.MEMBER => "MEMBER", - WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.NONE => "NONE", - WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.OWNER => "OWNER", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation? ToEnum(string value) - { - return value switch - { - "COLLABORATOR" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.COLLABORATOR, - "CONTRIBUTOR" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.CONTRIBUTOR, - "FIRST_TIMER" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.FIRSTTIMER, - "FIRST_TIME_CONTRIBUTOR" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.FIRSTTIMECONTRIBUTOR, - "MANNEQUIN" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.MANNEQUIN, - "MEMBER" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.MEMBER, - "NONE" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.NONE, - "OWNER" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.OWNER, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinks.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinks.g.cs deleted file mode 100644 index 63cf2208..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinks.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinks - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksHtml Html { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pull_request")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksPullRequest PullRequest { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("self")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksSelf Self { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksHtml.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksHtml.g.cs deleted file mode 100644 index 59b10ccd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksHtml.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksHtml - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("href")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Href { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksPullRequest.g.cs deleted file mode 100644 index a699b683..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksPullRequest.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksPullRequest - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("href")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Href { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksSelf.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksSelf.g.cs deleted file mode 100644 index 6471d25b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksSelf.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksSelf - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("href")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Href { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsReactions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsReactions.g.cs deleted file mode 100644 index 64381d8f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsReactions.g.cs +++ /dev/null @@ -1,87 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommentsReactions - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("+1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Plus1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("-1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Minus1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("confused")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Confused { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("eyes")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Eyes { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("heart")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Heart { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("hooray")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Hooray { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("laugh")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Laugh { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("rocket")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Rocket { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int TotalCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide.g.cs deleted file mode 100644 index f4bd732a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The side of the first line of the range for a multi-line comment. - /// - public enum WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide - { - /// - /// - /// - LEFT, - /// - /// - /// - RIGHT, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide value) - { - return value switch - { - WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide.LEFT => "LEFT", - WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide.RIGHT => "RIGHT", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide? ToEnum(string value) - { - return value switch - { - "LEFT" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide.LEFT, - "RIGHT" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide.RIGHT, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide.g.cs deleted file mode 100644 index 971c54e0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The side of the first line of the range for a multi-line comment.
- /// Default Value: RIGHT - ///
- public enum WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide - { - /// - /// - /// - LEFT, - /// - /// - /// - RIGHT, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide value) - { - return value switch - { - WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide.LEFT => "LEFT", - WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide.RIGHT => "RIGHT", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide? ToEnum(string value) - { - return value switch - { - "LEFT" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide.LEFT, - "RIGHT" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide.RIGHT, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType.g.cs deleted file mode 100644 index 52e1f202..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The level at which the comment is targeted, can be a diff line or a file. - /// - public enum WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType - { - /// - /// - /// - Line, - /// - /// - /// - File, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType value) - { - return value switch - { - WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType.Line => "line", - WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType.File => "file", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType? ToEnum(string value) - { - return value switch - { - "line" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType.Line, - "file" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType.File, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUser.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUser.g.cs deleted file mode 100644 index 57d3f578..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUser.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestReviewThreadUnresolvedThreadCommentsUser - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required long Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeJsonConverter))] - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.g.cs deleted file mode 100644 index e71b7b95..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType value) - { - return value switch - { - WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.Bot => "Bot", - WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.User => "User", - WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.Bot, - "User" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.User, - "Organization" => WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequest.g.cs index ffeeb83e..ecbe59c3 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestSynchronizePullRequest ///
[global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestSynchronizePullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestSynchronizePullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssignee2.g.cs new file mode 100644 index 00000000..cd56e119 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestSynchronizePullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..51a12362 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestSynchronizePullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestSynchronizePullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestSynchronizePullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestSynchronizePullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestSynchronizePullRequestAssigneeType2.User => "User", + WebhookPullRequestSynchronizePullRequestAssigneeType2.Organization => "Organization", + WebhookPullRequestSynchronizePullRequestAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestSynchronizePullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestSynchronizePullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestSynchronizePullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestSynchronizePullRequestAssigneeType2.Organization, + "Mannequin" => WebhookPullRequestSynchronizePullRequestAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssignees.g.cs deleted file mode 100644 index 653f588f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestSynchronizePullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssigneesType.g.cs deleted file mode 100644 index 14444792..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestSynchronizePullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestSynchronizePullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestSynchronizePullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestSynchronizePullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestSynchronizePullRequestAssigneesType.User => "User", - WebhookPullRequestSynchronizePullRequestAssigneesType.Organization => "Organization", - WebhookPullRequestSynchronizePullRequestAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestSynchronizePullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestSynchronizePullRequestAssigneesType.Bot, - "User" => WebhookPullRequestSynchronizePullRequestAssigneesType.User, - "Organization" => WebhookPullRequestSynchronizePullRequestAssigneesType.Organization, - "Mannequin" => WebhookPullRequestSynchronizePullRequestAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestLabel.g.cs new file mode 100644 index 00000000..79a8979e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestSynchronizePullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestLabels.g.cs deleted file mode 100644 index 12f1a51c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestSynchronizePullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..57ad8a3e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..38657597 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.Organization => "Organization", + WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.Organization, + "Mannequin" => WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..a58785cd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..c0905e55 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..7b701926 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..a1b5f7d9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..1c8565e3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestSynchronizePullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..809df6f3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestSynchronizePullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..944a0f2c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..c3c50102 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeams.g.cs deleted file mode 100644 index eeec39e4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestSynchronizePullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index fc795c27..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestSynchronizePullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index f8a3a687..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index b6dc22f5..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequest.g.cs index 39b0640b..6f877884 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestUnassignedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestUnassignedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestUnassignedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..ac044dad --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnassignedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..c044b8a3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnassignedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnassignedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnassignedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestUnassignedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestUnassignedPullRequestAssigneeType2.User => "User", + WebhookPullRequestUnassignedPullRequestAssigneeType2.Organization => "Organization", + WebhookPullRequestUnassignedPullRequestAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnassignedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestUnassignedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestUnassignedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestUnassignedPullRequestAssigneeType2.Organization, + "Mannequin" => WebhookPullRequestUnassignedPullRequestAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssignees.g.cs deleted file mode 100644 index 945b7e31..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestUnassignedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssigneesType.g.cs deleted file mode 100644 index 12c49774..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestUnassignedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestUnassignedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestUnassignedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestUnassignedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestUnassignedPullRequestAssigneesType.User => "User", - WebhookPullRequestUnassignedPullRequestAssigneesType.Organization => "Organization", - WebhookPullRequestUnassignedPullRequestAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestUnassignedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestUnassignedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestUnassignedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestUnassignedPullRequestAssigneesType.Organization, - "Mannequin" => WebhookPullRequestUnassignedPullRequestAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestLabel.g.cs new file mode 100644 index 00000000..9636de56 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnassignedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestLabels.g.cs deleted file mode 100644 index dc1f9f94..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestUnassignedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..f5e23d3d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..c235dbe7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.Organization, + "Mannequin" => WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..ee291156 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..9e1b6668 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..74579c20 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..ebb461bc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..cd8d0334 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestUnassignedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..b6c5347b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnassignedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..4f063e81 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..da0119aa --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeams.g.cs deleted file mode 100644 index 847cf8bd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestUnassignedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 3e057aaf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestUnassignedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 8921cb35..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 732d0ecc..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequest.g.cs index a8765369..46ee92b8 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestUnlabeledPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestUnlabeledPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestUnlabeledPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssignee2.g.cs new file mode 100644 index 00000000..6628a5c3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnlabeledPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..12359c75 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnlabeledPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnlabeledPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnlabeledPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestUnlabeledPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestUnlabeledPullRequestAssigneeType2.User => "User", + WebhookPullRequestUnlabeledPullRequestAssigneeType2.Organization => "Organization", + WebhookPullRequestUnlabeledPullRequestAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnlabeledPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestUnlabeledPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestUnlabeledPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestUnlabeledPullRequestAssigneeType2.Organization, + "Mannequin" => WebhookPullRequestUnlabeledPullRequestAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssignees.g.cs deleted file mode 100644 index 39bac37d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestUnlabeledPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssigneesType.g.cs deleted file mode 100644 index 11c0396b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestUnlabeledPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestUnlabeledPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestUnlabeledPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestUnlabeledPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestUnlabeledPullRequestAssigneesType.User => "User", - WebhookPullRequestUnlabeledPullRequestAssigneesType.Organization => "Organization", - WebhookPullRequestUnlabeledPullRequestAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestUnlabeledPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestUnlabeledPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestUnlabeledPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestUnlabeledPullRequestAssigneesType.Organization, - "Mannequin" => WebhookPullRequestUnlabeledPullRequestAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestLabel.g.cs new file mode 100644 index 00000000..89aa22b6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnlabeledPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestLabels.g.cs deleted file mode 100644 index 75db6705..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestUnlabeledPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..002d061a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..87b1018d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.Organization, + "Mannequin" => WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..f0d50387 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..0cbf844a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..5391996e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..65063b07 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..30482715 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestUnlabeledPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..db3e1701 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnlabeledPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..3b9eca8f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..319ddf0a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeams.g.cs deleted file mode 100644 index d6d4ffe9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestUnlabeledPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index 6d29e41f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestUnlabeledPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index e2119141..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 83d94eea..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequest.g.cs index 93d46373..f033ecaf 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhookPullRequestUnlockedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhookPullRequestUnlockedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhookPullRequestUnlockedPullRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssignee2.g.cs new file mode 100644 index 00000000..afbf9b3a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnlockedPullRequestAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneeType2JsonConverter))] + public global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..3f5451da --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnlockedPullRequestAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnlockedPullRequestAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnlockedPullRequestAssigneeType2 value) + { + return value switch + { + WebhookPullRequestUnlockedPullRequestAssigneeType2.Bot => "Bot", + WebhookPullRequestUnlockedPullRequestAssigneeType2.User => "User", + WebhookPullRequestUnlockedPullRequestAssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnlockedPullRequestAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestUnlockedPullRequestAssigneeType2.Bot, + "User" => WebhookPullRequestUnlockedPullRequestAssigneeType2.User, + "Organization" => WebhookPullRequestUnlockedPullRequestAssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssignees.g.cs deleted file mode 100644 index 8f18eaae..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestUnlockedPullRequestAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneesTypeJsonConverter))] - public global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssigneesType.g.cs deleted file mode 100644 index 58e07f71..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestUnlockedPullRequestAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestUnlockedPullRequestAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestUnlockedPullRequestAssigneesType value) - { - return value switch - { - WebhookPullRequestUnlockedPullRequestAssigneesType.Bot => "Bot", - WebhookPullRequestUnlockedPullRequestAssigneesType.User => "User", - WebhookPullRequestUnlockedPullRequestAssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestUnlockedPullRequestAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookPullRequestUnlockedPullRequestAssigneesType.Bot, - "User" => WebhookPullRequestUnlockedPullRequestAssigneesType.User, - "Organization" => WebhookPullRequestUnlockedPullRequestAssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestLabel.g.cs new file mode 100644 index 00000000..a5eac7eb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnlockedPullRequestLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestLabels.g.cs deleted file mode 100644 index fd69b516..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestUnlockedPullRequestLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..98d3caa2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..0710109c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type value) + { + return value switch + { + WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.Bot => "Bot", + WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.User => "User", + WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.Bot, + "User" => WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.User, + "Organization" => WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..72acfa14 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..c3635490 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..0bc1d4fe --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..c97045c3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.Open => "open", + WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.Closed => "closed", + WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.Open, + "closed" => WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.Closed, + "secret" => WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeam.g.cs new file mode 100644 index 00000000..ed889ab4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhookPullRequestUnlockedPullRequestRequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamParent.g.cs new file mode 100644 index 00000000..38b00697 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPullRequestUnlockedPullRequestRequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..78e12491 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy value) + { + return value switch + { + WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.Open => "open", + WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.Closed => "closed", + WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.Open, + "closed" => WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.Closed, + "secret" => WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..deb8cfa1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy value) + { + return value switch + { + WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.Open => "open", + WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.Closed => "closed", + WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.Open, + "closed" => WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.Closed, + "secret" => WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeams.g.cs deleted file mode 100644 index 4ca07911..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhookPullRequestUnlockedPullRequestRequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamsParent.g.cs deleted file mode 100644 index b6011458..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPullRequestUnlockedPullRequestRequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 59b27345..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy value) - { - return value switch - { - WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.Open => "open", - WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.Closed => "closed", - WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.Open, - "closed" => WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.Closed, - "secret" => WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 127923e9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy value) - { - return value switch - { - WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.Open => "open", - WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.Closed => "closed", - WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.Open, - "closed" => WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.Closed, - "secret" => WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPush.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPush.g.cs index d7c4f81d..e399bb20 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPush.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPush.g.cs @@ -34,7 +34,7 @@ public sealed partial class WebhookPush /// [global::System.Text.Json.Serialization.JsonPropertyName("commits")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Commits { get; set; } + public required global::System.Collections.Generic.IList Commits { get; set; } /// /// URL that shows the changes in this `ref` update, from the `before` commit to the `after` commit. For a newly created `ref` that is directly based on the default branch, this is the comparison between the head of the default branch and the `after` commit. Otherwise, this shows all commits until the `after` commit. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommit.g.cs new file mode 100644 index 00000000..aa73d92d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommit.g.cs @@ -0,0 +1,91 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookPushCommit + { + /// + /// An array of files added in the commit. A maximum of 3000 changed files will be reported per commit. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("added")] + public global::System.Collections.Generic.IList? Added { get; set; } + + /// + /// Metaproperties for Git author/committer information. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("author")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPushCommitAuthor Author { get; set; } + + /// + /// Metaproperties for Git author/committer information. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("committer")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookPushCommitCommitter Committer { get; set; } + + /// + /// Whether this commit is distinct from any that have been pushed before. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("distinct")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Distinct { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// The commit message. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// An array of files modified by the commit. A maximum of 3000 changed files will be reported per commit. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("modified")] + public global::System.Collections.Generic.IList? Modified { get; set; } + + /// + /// An array of files removed in the commit. A maximum of 3000 changed files will be reported per commit. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("removed")] + public global::System.Collections.Generic.IList? Removed { get; set; } + + /// + /// The ISO 8601 timestamp of the commit. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("timestamp")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime Timestamp { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tree_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string TreeId { get; set; } + + /// + /// URL that points to the commit API resource. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitAuthor.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitAuthor.g.cs new file mode 100644 index 00000000..927b3f08 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitAuthor.g.cs @@ -0,0 +1,43 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Metaproperties for Git author/committer information. + /// + public sealed partial class WebhookPushCommitAuthor + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("date")] + public global::System.DateTime Date { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Email { get; set; } + + /// + /// The git author's name. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("username")] + public string? Username { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitCommitter.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitCommitter.g.cs new file mode 100644 index 00000000..c6d5fa77 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitCommitter.g.cs @@ -0,0 +1,43 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Metaproperties for Git author/committer information. + /// + public sealed partial class WebhookPushCommitCommitter + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("date")] + public global::System.DateTime Date { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Email { get; set; } + + /// + /// The git author's name. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("username")] + public string? Username { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommits.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommits.g.cs deleted file mode 100644 index 0859eacf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommits.g.cs +++ /dev/null @@ -1,91 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookPushCommits - { - /// - /// An array of files added in the commit. A maximum of 3000 changed files will be reported per commit. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("added")] - public global::System.Collections.Generic.IList? Added { get; set; } - - /// - /// Metaproperties for Git author/committer information. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("author")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPushCommitsAuthor Author { get; set; } - - /// - /// Metaproperties for Git author/committer information. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("committer")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookPushCommitsCommitter Committer { get; set; } - - /// - /// Whether this commit is distinct from any that have been pushed before. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("distinct")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Distinct { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Id { get; set; } - - /// - /// The commit message. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("message")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Message { get; set; } - - /// - /// An array of files modified by the commit. A maximum of 3000 changed files will be reported per commit. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("modified")] - public global::System.Collections.Generic.IList? Modified { get; set; } - - /// - /// An array of files removed in the commit. A maximum of 3000 changed files will be reported per commit. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("removed")] - public global::System.Collections.Generic.IList? Removed { get; set; } - - /// - /// The ISO 8601 timestamp of the commit. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("timestamp")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime Timestamp { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("tree_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string TreeId { get; set; } - - /// - /// URL that points to the commit API resource. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitsAuthor.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitsAuthor.g.cs deleted file mode 100644 index 747a6fdf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitsAuthor.g.cs +++ /dev/null @@ -1,43 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Metaproperties for Git author/committer information. - /// - public sealed partial class WebhookPushCommitsAuthor - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("date")] - public global::System.DateTime Date { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Email { get; set; } - - /// - /// The git author's name. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("username")] - public string? Username { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitsCommitter.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitsCommitter.g.cs deleted file mode 100644 index 30ea5bdf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushCommitsCommitter.g.cs +++ /dev/null @@ -1,43 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Metaproperties for Git author/committer information. - /// - public sealed partial class WebhookPushCommitsCommitter - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("date")] - public global::System.DateTime Date { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Email { get; set; } - - /// - /// The git author's name. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("username")] - public string? Username { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushHeadCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushHeadCommit.g.cs index c5f07350..b918bb09 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushHeadCommit.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushHeadCommit.g.cs @@ -12,7 +12,7 @@ public sealed partial class WebhookPushHeadCommit /// An array of files added in the commit. /// [global::System.Text.Json.Serialization.JsonPropertyName("added")] - public global::System.Collections.Generic.IList? Added { get; set; } + public global::System.Collections.Generic.IList? Added { get; set; } /// /// Metaproperties for Git author/committer information. @@ -53,13 +53,13 @@ public sealed partial class WebhookPushHeadCommit /// An array of files modified by the commit. /// [global::System.Text.Json.Serialization.JsonPropertyName("modified")] - public global::System.Collections.Generic.IList? Modified { get; set; } + public global::System.Collections.Generic.IList? Modified { get; set; } /// /// An array of files removed in the commit. /// [global::System.Text.Json.Serialization.JsonPropertyName("removed")] - public global::System.Collections.Generic.IList? Removed { get; set; } + public global::System.Collections.Generic.IList? Removed { get; set; } /// /// The ISO 8601 timestamp of the commit. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushRepository.g.cs index 0d02d0e7..62b4156e 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushRepository.g.cs @@ -147,7 +147,7 @@ public sealed partial class WebhookPushRepository /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_properties")] - public object? CustomProperties { get; set; } + public global::GitHub.WebhookPushRepositoryCustomProperties? CustomProperties { get; set; } /// /// The default branch of the repository. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookPushRepositoryCustomProperties.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushRepositoryCustomProperties.g.cs new file mode 100644 index 00000000..f75dbbd0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookPushRepositoryCustomProperties.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + public sealed partial class WebhookPushRepositoryCustomProperties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersion.g.cs index 6ed1122f..645cd849 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersion.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersion.g.cs @@ -21,7 +21,7 @@ public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackag /// [global::System.Text.Json.Serialization.JsonPropertyName("body")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? Body { get; set; } + public global::System.OneOf? Body { get; set; } /// /// @@ -52,7 +52,7 @@ public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackag /// /// [global::System.Text.Json.Serialization.JsonPropertyName("docker_metadata")] - public global::System.Collections.Generic.IList? DockerMetadata { get; set; } + public global::System.Collections.Generic.IList? DockerMetadata { get; set; } /// /// @@ -92,7 +92,7 @@ public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackag /// [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Metadata { get; set; } + public required global::System.Collections.Generic.IList Metadata { get; set; } /// /// @@ -111,14 +111,14 @@ public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackag /// /// [global::System.Text.Json.Serialization.JsonPropertyName("nuget_metadata")] - public global::System.Collections.Generic.IList? NugetMetadata { get; set; } + public global::System.Collections.Generic.IList? NugetMetadata { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("package_files")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PackageFiles { get; set; } + public required global::System.Collections.Generic.IList PackageFiles { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionBody.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionBody.g.cs new file mode 100644 index 00000000..0a377856 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionBody.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionBody + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadata.g.cs index ccc88def..8d04b7cf 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadata.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadata.g.cs @@ -12,13 +12,13 @@ public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackag /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public object? Labels { get; set; } + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataLabels? Labels { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("manifest")] - public object? Manifest { get; set; } + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataManifest? Manifest { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataLabels.g.cs new file mode 100644 index 00000000..710df3be --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataLabels.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataLabels + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataManifest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataManifest.g.cs new file mode 100644 index 00000000..dcdac825 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataManifest.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataManifest + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionDockerMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionDockerMetadata.g.cs deleted file mode 100644 index ed4a1add..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionDockerMetadata.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionDockerMetadata - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("tags")] - public global::System.Collections.Generic.IList? Tags { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionDockerMetadataItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionDockerMetadataItem.g.cs new file mode 100644 index 00000000..8157db7c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionDockerMetadataItem.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionDockerMetadataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tags")] + public global::System.Collections.Generic.IList? Tags { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionMetadataItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionMetadataItem.g.cs new file mode 100644 index 00000000..b2f84ca2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionMetadataItem.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionMetadataItem + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadata.g.cs index 04b35743..be1592ce 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadata.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadata.g.cs @@ -33,38 +33,38 @@ public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackag /// [global::System.Text.Json.Serialization.JsonPropertyName("author")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? Author { get; set; } + public global::System.OneOf? Author { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("bugs")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? Bugs { get; set; } + public global::System.OneOf? Bugs { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("dependencies")] - public object? Dependencies { get; set; } + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDependencies? Dependencies { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("dev_dependencies")] - public object? DevDependencies { get; set; } + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDevDependencies? DevDependencies { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("peer_dependencies")] - public object? PeerDependencies { get; set; } + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataPeerDependencies? PeerDependencies { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("optional_dependencies")] - public object? OptionalDependencies { get; set; } + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataOptionalDependencies? OptionalDependencies { get; set; } /// /// @@ -77,7 +77,7 @@ public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackag /// [global::System.Text.Json.Serialization.JsonPropertyName("dist")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? Dist { get; set; } + public global::System.OneOf? Dist { get; set; } /// /// @@ -108,13 +108,13 @@ public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackag /// [global::System.Text.Json.Serialization.JsonPropertyName("repository")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? Repository { get; set; } + public global::System.OneOf? Repository { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("scripts")] - public object? Scripts { get; set; } + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataScripts? Scripts { get; set; } /// /// @@ -144,62 +144,62 @@ public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackag /// /// [global::System.Text.Json.Serialization.JsonPropertyName("maintainers")] - public global::System.Collections.Generic.IList? Maintainers { get; set; } + public global::System.Collections.Generic.IList? Maintainers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("contributors")] - public global::System.Collections.Generic.IList? Contributors { get; set; } + public global::System.Collections.Generic.IList? Contributors { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("engines")] - public object? Engines { get; set; } + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataEngines? Engines { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("keywords")] - public global::System.Collections.Generic.IList? Keywords { get; set; } + public global::System.Collections.Generic.IList? Keywords { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("files")] - public global::System.Collections.Generic.IList? Files { get; set; } + public global::System.Collections.Generic.IList? Files { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("bin")] - public object? Bin { get; set; } + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataBin? Bin { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("man")] - public object? Man { get; set; } + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataMan? Man { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("directories")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2))] - public global::System.OneOf? Directories { get; set; } + public global::System.OneOf? Directories { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("os")] - public global::System.Collections.Generic.IList? Os { get; set; } + public global::System.Collections.Generic.IList? Os { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("cpu")] - public global::System.Collections.Generic.IList? Cpu { get; set; } + public global::System.Collections.Generic.IList? Cpu { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataAuthor.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataAuthor.g.cs new file mode 100644 index 00000000..a304316a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataAuthor.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataAuthor + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataBin.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataBin.g.cs new file mode 100644 index 00000000..823aee98 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataBin.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataBin + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataBugs.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataBugs.g.cs new file mode 100644 index 00000000..5ab18f35 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataBugs.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataBugs + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDependencies.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDependencies.g.cs new file mode 100644 index 00000000..5af3a71d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDependencies.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDependencies + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDevDependencies.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDevDependencies.g.cs new file mode 100644 index 00000000..4a047645 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDevDependencies.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDevDependencies + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDirectories.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDirectories.g.cs new file mode 100644 index 00000000..52e84062 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDirectories.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDirectories + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDist.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDist.g.cs new file mode 100644 index 00000000..8740aee1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDist.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDist + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataEngines.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataEngines.g.cs new file mode 100644 index 00000000..a8eb1426 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataEngines.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataEngines + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataMan.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataMan.g.cs new file mode 100644 index 00000000..4631196a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataMan.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataMan + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataOptionalDependencies.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataOptionalDependencies.g.cs new file mode 100644 index 00000000..19b6db97 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataOptionalDependencies.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataOptionalDependencies + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataPeerDependencies.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataPeerDependencies.g.cs new file mode 100644 index 00000000..aebcd366 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataPeerDependencies.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataPeerDependencies + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataRepository.g.cs new file mode 100644 index 00000000..15a39353 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataRepository.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataRepository + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataScripts.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataScripts.g.cs new file mode 100644 index 00000000..6d5d3511 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataScripts.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataScripts + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadata.g.cs deleted file mode 100644 index dcbcfe5c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadata.g.cs +++ /dev/null @@ -1,39 +0,0 @@ - -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadata - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory3))] - public global::System.OneOf? Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory4))] - public global::System.OneOf? Value { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItem.g.cs new file mode 100644 index 00000000..351bedfc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItem.g.cs @@ -0,0 +1,39 @@ + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory3))] + public global::System.OneOf? Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory4))] + public global::System.OneOf? Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemId.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemId.g.cs new file mode 100644 index 00000000..4423fa9c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemId.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemId + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemValue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemValue.g.cs new file mode 100644 index 00000000..a13f6541 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemValue.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemValue + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("branch")] + public string? Branch { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("commit")] + public string? Commit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataValue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataValue.g.cs deleted file mode 100644 index de711039..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataValue.g.cs +++ /dev/null @@ -1,41 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataValue - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("branch")] - public string? Branch { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("commit")] - public string? Commit { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - public string? Type { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionPackageFile.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionPackageFile.g.cs new file mode 100644 index 00000000..319cdeba --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionPackageFile.g.cs @@ -0,0 +1,94 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionPackageFile + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ContentType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("download_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DownloadUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("md5")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Md5 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha1")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Sha1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha256")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Sha256 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Size { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionPackageFiles.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionPackageFiles.g.cs deleted file mode 100644 index d2033ad0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackagePublishedRegistryPackagePackageVersionPackageFiles.g.cs +++ /dev/null @@ -1,94 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRegistryPackagePublishedRegistryPackagePackageVersionPackageFiles - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ContentType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("download_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string DownloadUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("md5")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Md5 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha1")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Sha1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha256")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Sha256 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("size")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Size { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? State { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string UpdatedAt { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackage.g.cs index 48776452..b8e22134 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackage.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackage.g.cs @@ -20,7 +20,7 @@ public sealed partial class WebhookRegistryPackageUpdatedRegistryPackage /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Description { get; set; } + public required global::GitHub.WebhookRegistryPackageUpdatedRegistryPackageDescription? Description { get; set; } /// /// @@ -83,7 +83,7 @@ public sealed partial class WebhookRegistryPackageUpdatedRegistryPackage /// [global::System.Text.Json.Serialization.JsonPropertyName("registry")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Registry { get; set; } + public required global::GitHub.WebhookRegistryPackageUpdatedRegistryPackageRegistry? Registry { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackageDescription.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackageDescription.g.cs new file mode 100644 index 00000000..ea6b1357 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackageDescription.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackageUpdatedRegistryPackageDescription + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersion.g.cs index ea7112d1..d03bcb56 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersion.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersion.g.cs @@ -47,7 +47,7 @@ public sealed partial class WebhookRegistryPackageUpdatedRegistryPackagePackageV /// /// [global::System.Text.Json.Serialization.JsonPropertyName("docker_metadata")] - public global::System.Collections.Generic.IList? DockerMetadata { get; set; } + public global::System.Collections.Generic.IList? DockerMetadata { get; set; } /// /// @@ -87,7 +87,7 @@ public sealed partial class WebhookRegistryPackageUpdatedRegistryPackagePackageV /// [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Metadata { get; set; } + public required global::System.Collections.Generic.IList Metadata { get; set; } /// /// @@ -101,7 +101,7 @@ public sealed partial class WebhookRegistryPackageUpdatedRegistryPackagePackageV /// [global::System.Text.Json.Serialization.JsonPropertyName("package_files")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PackageFiles { get; set; } + public required global::System.Collections.Generic.IList PackageFiles { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionDockerMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionDockerMetadata.g.cs deleted file mode 100644 index 79a65fe6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionDockerMetadata.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRegistryPackageUpdatedRegistryPackagePackageVersionDockerMetadata - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("tags")] - public global::System.Collections.Generic.IList? Tags { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionDockerMetadataItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionDockerMetadataItem.g.cs new file mode 100644 index 00000000..5efb99e8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionDockerMetadataItem.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackageUpdatedRegistryPackagePackageVersionDockerMetadataItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tags")] + public global::System.Collections.Generic.IList? Tags { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionMetadataItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionMetadataItem.g.cs new file mode 100644 index 00000000..68a00071 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionMetadataItem.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackageUpdatedRegistryPackagePackageVersionMetadataItem + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionPackageFile.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionPackageFile.g.cs new file mode 100644 index 00000000..b21c3289 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionPackageFile.g.cs @@ -0,0 +1,83 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackageUpdatedRegistryPackagePackageVersionPackageFile + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] + public string? ContentType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public string? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("download_url")] + public string? DownloadUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("md5")] + public string? Md5 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha1")] + public string? Sha1 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha256")] + public string? Sha256 { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + public int Size { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + public string? State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public string? UpdatedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionPackageFiles.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionPackageFiles.g.cs deleted file mode 100644 index 7f86c255..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionPackageFiles.g.cs +++ /dev/null @@ -1,83 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRegistryPackageUpdatedRegistryPackagePackageVersionPackageFiles - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] - public string? ContentType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public string? CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("download_url")] - public string? DownloadUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("md5")] - public string? Md5 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha1")] - public string? Sha1 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha256")] - public string? Sha256 { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("size")] - public int Size { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - public string? State { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - public string? UpdatedAt { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackageRegistry.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackageRegistry.g.cs new file mode 100644 index 00000000..a3368fea --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRegistryPackageUpdatedRegistryPackageRegistry.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRegistryPackageUpdatedRegistryPackageRegistry + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedRelease.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedRelease.g.cs index 7d59fcc6..a065df66 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedRelease.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedRelease.g.cs @@ -13,7 +13,7 @@ public sealed partial class WebhookReleasePrereleasedRelease /// [global::System.Text.Json.Serialization.JsonPropertyName("assets")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assets { get; set; } + public required global::System.Collections.Generic.IList Assets { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAsset.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAsset.g.cs new file mode 100644 index 00000000..b5260114 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAsset.g.cs @@ -0,0 +1,108 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Data related to a release. + /// + public sealed partial class WebhookReleasePrereleasedReleaseAsset + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("browser_download_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string BrowserDownloadUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ContentType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("download_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int DownloadCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("label")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Label { get; set; } + + /// + /// The file name of the asset. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Size { get; set; } + + /// + /// State of the release asset. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAssetStateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookReleasePrereleasedReleaseAssetState State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uploader")] + public global::GitHub.WebhookReleasePrereleasedReleaseAssetUploader? Uploader { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetState.g.cs new file mode 100644 index 00000000..ddaca54c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetState.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// State of the release asset. + /// + public enum WebhookReleasePrereleasedReleaseAssetState + { + /// + /// + /// + Uploaded, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookReleasePrereleasedReleaseAssetStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookReleasePrereleasedReleaseAssetState value) + { + return value switch + { + WebhookReleasePrereleasedReleaseAssetState.Uploaded => "uploaded", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookReleasePrereleasedReleaseAssetState? ToEnum(string value) + { + return value switch + { + "uploaded" => WebhookReleasePrereleasedReleaseAssetState.Uploaded, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetUploader.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetUploader.g.cs new file mode 100644 index 00000000..a56a5f03 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetUploader.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookReleasePrereleasedReleaseAssetUploader + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAssetUploaderTypeJsonConverter))] + public global::GitHub.WebhookReleasePrereleasedReleaseAssetUploaderType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetUploaderType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetUploaderType.g.cs new file mode 100644 index 00000000..9be6872a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetUploaderType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookReleasePrereleasedReleaseAssetUploaderType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookReleasePrereleasedReleaseAssetUploaderTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookReleasePrereleasedReleaseAssetUploaderType value) + { + return value switch + { + WebhookReleasePrereleasedReleaseAssetUploaderType.Bot => "Bot", + WebhookReleasePrereleasedReleaseAssetUploaderType.User => "User", + WebhookReleasePrereleasedReleaseAssetUploaderType.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookReleasePrereleasedReleaseAssetUploaderType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhookReleasePrereleasedReleaseAssetUploaderType.Bot, + "User" => WebhookReleasePrereleasedReleaseAssetUploaderType.User, + "Organization" => WebhookReleasePrereleasedReleaseAssetUploaderType.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssets.g.cs deleted file mode 100644 index a5353ad5..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssets.g.cs +++ /dev/null @@ -1,108 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Data related to a release. - /// - public sealed partial class WebhookReleasePrereleasedReleaseAssets - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("browser_download_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string BrowserDownloadUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ContentType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("download_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int DownloadCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("label")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Label { get; set; } - - /// - /// The file name of the asset. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("size")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Size { get; set; } - - /// - /// State of the release asset. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAssetsStateJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookReleasePrereleasedReleaseAssetsState State { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("uploader")] - public global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploader? Uploader { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetsState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetsState.g.cs deleted file mode 100644 index b90d844d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetsState.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// State of the release asset. - /// - public enum WebhookReleasePrereleasedReleaseAssetsState - { - /// - /// - /// - Uploaded, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookReleasePrereleasedReleaseAssetsStateExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookReleasePrereleasedReleaseAssetsState value) - { - return value switch - { - WebhookReleasePrereleasedReleaseAssetsState.Uploaded => "uploaded", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookReleasePrereleasedReleaseAssetsState? ToEnum(string value) - { - return value switch - { - "uploaded" => WebhookReleasePrereleasedReleaseAssetsState.Uploaded, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetsUploader.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetsUploader.g.cs deleted file mode 100644 index 39fb1532..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetsUploader.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookReleasePrereleasedReleaseAssetsUploader - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAssetsUploaderTypeJsonConverter))] - public global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploaderType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetsUploaderType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetsUploaderType.g.cs deleted file mode 100644 index 0a2d3243..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookReleasePrereleasedReleaseAssetsUploaderType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookReleasePrereleasedReleaseAssetsUploaderType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookReleasePrereleasedReleaseAssetsUploaderTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookReleasePrereleasedReleaseAssetsUploaderType value) - { - return value switch - { - WebhookReleasePrereleasedReleaseAssetsUploaderType.Bot => "Bot", - WebhookReleasePrereleasedReleaseAssetsUploaderType.User => "User", - WebhookReleasePrereleasedReleaseAssetsUploaderType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookReleasePrereleasedReleaseAssetsUploaderType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhookReleasePrereleasedReleaseAssetsUploaderType.Bot, - "User" => WebhookReleasePrereleasedReleaseAssetsUploaderType.User, - "Organization" => WebhookReleasePrereleasedReleaseAssetsUploaderType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryDispatchSample.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryDispatchSample.g.cs index efe1af67..bfb5081f 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryDispatchSample.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryDispatchSample.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhookRepositoryDispatchSample /// [global::System.Text.Json.Serialization.JsonPropertyName("client_payload")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? ClientPayload { get; set; } + public required global::GitHub.WebhookRepositoryDispatchSampleClientPayload? ClientPayload { get; set; } /// /// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryDispatchSampleClientPayload.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryDispatchSampleClientPayload.g.cs new file mode 100644 index 00000000..3226e6f3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryDispatchSampleClientPayload.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. + /// + public sealed partial class WebhookRepositoryDispatchSampleClientPayload + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryEditedChangesTopics.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryEditedChangesTopics.g.cs index dd96916d..bf855335 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryEditedChangesTopics.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryEditedChangesTopics.g.cs @@ -12,7 +12,7 @@ public sealed partial class WebhookRepositoryEditedChangesTopics /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("from")] - public global::System.Collections.Generic.IList? From { get; set; } + public global::System.Collections.Generic.IList? From { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditions.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditions.g.cs index 2c4ecab8..b94d8a6f 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditions.g.cs @@ -24,7 +24,7 @@ public sealed partial class WebhookRepositoryRulesetEditedChangesConditions /// /// [global::System.Text.Json.Serialization.JsonPropertyName("updated")] - public global::System.Collections.Generic.IList? Updated { get; set; } + public global::System.Collections.Generic.IList? Updated { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdated.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdated.g.cs deleted file mode 100644 index b2c11e35..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdated.g.cs +++ /dev/null @@ -1,29 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRepositoryRulesetEditedChangesConditionsUpdated - { - /// - /// Parameters for a repository ruleset ref name condition - /// - [global::System.Text.Json.Serialization.JsonPropertyName("condition")] - public global::GitHub.RepositoryRulesetConditions? Condition { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("changes")] - public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChanges? Changes { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChanges.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChanges.g.cs deleted file mode 100644 index fc8173de..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChanges.g.cs +++ /dev/null @@ -1,41 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRepositoryRulesetEditedChangesConditionsUpdatedChanges - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("condition_type")] - public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesConditionType? ConditionType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("target")] - public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesTarget? Target { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("include")] - public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesInclude? Include { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("exclude")] - public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesExclude? Exclude { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesConditionType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesConditionType.g.cs deleted file mode 100644 index e19a18b8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesConditionType.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesConditionType - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("from")] - public string? From { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesExclude.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesExclude.g.cs deleted file mode 100644 index 4489dfa8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesExclude.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesExclude - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("from")] - public global::System.Collections.Generic.IList? From { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesInclude.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesInclude.g.cs deleted file mode 100644 index 2e25d2c1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesInclude.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesInclude - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("from")] - public global::System.Collections.Generic.IList? From { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesTarget.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesTarget.g.cs deleted file mode 100644 index 2c226113..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesTarget.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesTarget - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("from")] - public string? From { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItem.g.cs new file mode 100644 index 00000000..03739cb5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItem.g.cs @@ -0,0 +1,29 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRepositoryRulesetEditedChangesConditionsUpdatedItem + { + /// + /// Parameters for a repository ruleset ref name condition + /// + [global::System.Text.Json.Serialization.JsonPropertyName("condition")] + public global::GitHub.RepositoryRulesetConditions? Condition { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("changes")] + public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChanges? Changes { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChanges.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChanges.g.cs new file mode 100644 index 00000000..0ec0a1ec --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChanges.g.cs @@ -0,0 +1,41 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChanges + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("condition_type")] + public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesConditionType? ConditionType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("target")] + public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesTarget? Target { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("include")] + public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesInclude? Include { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exclude")] + public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesExclude? Exclude { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesConditionType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesConditionType.g.cs new file mode 100644 index 00000000..cd931bbc --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesConditionType.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesConditionType + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public string? From { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesExclude.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesExclude.g.cs new file mode 100644 index 00000000..8b0f3deb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesExclude.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesExclude + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public global::System.Collections.Generic.IList? From { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesInclude.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesInclude.g.cs new file mode 100644 index 00000000..d38efdd7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesInclude.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesInclude + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public global::System.Collections.Generic.IList? From { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesTarget.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesTarget.g.cs new file mode 100644 index 00000000..eaad283a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesTarget.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesTarget + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public string? From { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRules.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRules.g.cs index bee334b3..9de06547 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRules.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRules.g.cs @@ -24,7 +24,7 @@ public sealed partial class WebhookRepositoryRulesetEditedChangesRules /// /// [global::System.Text.Json.Serialization.JsonPropertyName("updated")] - public global::System.Collections.Generic.IList? Updated { get; set; } + public global::System.Collections.Generic.IList? Updated { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdated.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdated.g.cs deleted file mode 100644 index 0c297d4b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdated.g.cs +++ /dev/null @@ -1,30 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRepositoryRulesetEditedChangesRulesUpdated - { - /// - /// A repository rule. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("rule")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory21))] - public global::GitHub.RepositoryRule? Rule { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("changes")] - public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedChanges? Changes { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChanges.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChanges.g.cs deleted file mode 100644 index 1360e38e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChanges.g.cs +++ /dev/null @@ -1,35 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRepositoryRulesetEditedChangesRulesUpdatedChanges - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("configuration")] - public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesConfiguration? Configuration { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("rule_type")] - public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesRuleType? RuleType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("pattern")] - public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesPattern? Pattern { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesConfiguration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesConfiguration.g.cs deleted file mode 100644 index 028b9f3e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesConfiguration.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesConfiguration - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("from")] - public string? From { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesPattern.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesPattern.g.cs deleted file mode 100644 index 668372c8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesPattern.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesPattern - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("from")] - public string? From { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesRuleType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesRuleType.g.cs deleted file mode 100644 index 758a4fb4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesRuleType.g.cs +++ /dev/null @@ -1,23 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesRuleType - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("from")] - public string? From { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItem.g.cs new file mode 100644 index 00000000..540ecf32 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItem.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRepositoryRulesetEditedChangesRulesUpdatedItem + { + /// + /// A repository rule. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rule")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleJsonConverter))] + public global::GitHub.RepositoryRule? Rule { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("changes")] + public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChanges? Changes { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChanges.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChanges.g.cs new file mode 100644 index 00000000..ffb8cb31 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChanges.g.cs @@ -0,0 +1,35 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChanges + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("configuration")] + public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesConfiguration? Configuration { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rule_type")] + public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesRuleType? RuleType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pattern")] + public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesPattern? Pattern { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesConfiguration.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesConfiguration.g.cs new file mode 100644 index 00000000..ac802392 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesConfiguration.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesConfiguration + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public string? From { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesPattern.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesPattern.g.cs new file mode 100644 index 00000000..3652ed2b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesPattern.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesPattern + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public string? From { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesRuleType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesRuleType.g.cs new file mode 100644 index 00000000..02200d82 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesRuleType.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesRuleType + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("from")] + public string? From { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedRule.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedRule.g.cs deleted file mode 100644 index e4a063af..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedRule.g.cs +++ /dev/null @@ -1,33 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// > [!NOTE]
- /// > `file_path_restriction` is in beta and subject to change.
- /// Prevent commits that include changes in specified file paths from being pushed to the commit graph. - ///
- public sealed partial class WebhookRepositoryRulesetEditedChangesRulesUpdatedRule - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parameters")] - public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleParameters? Parameters { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleParameters.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleParameters.g.cs deleted file mode 100644 index 7b8fc374..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleParameters.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleParameters - { - /// - /// The file paths that are restricted from being pushed to the commit graph. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("restricted_file_paths")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RestrictedFilePaths { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType.g.cs deleted file mode 100644 index 3e2f8d2c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType - { - /// - /// - /// - FilePathRestriction, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType value) - { - return value switch - { - WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType.FilePathRestriction => "file_path_restriction", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType? ToEnum(string value) - { - return value switch - { - "file_path_restriction" => WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType.FilePathRestriction, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRubygemsMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRubygemsMetadata.g.cs index 78637e14..5ba1be2b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookRubygemsMetadata.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRubygemsMetadata.g.cs @@ -48,7 +48,7 @@ public sealed partial class WebhookRubygemsMetadata /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::GitHub.WebhookRubygemsMetadataMetadata? Metadata { get; set; } /// /// @@ -60,7 +60,7 @@ public sealed partial class WebhookRubygemsMetadata /// /// [global::System.Text.Json.Serialization.JsonPropertyName("dependencies")] - public global::System.Collections.Generic.IList? Dependencies { get; set; } + public global::System.Collections.Generic.IList? Dependencies { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRubygemsMetadataDependencie.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRubygemsMetadataDependencie.g.cs new file mode 100644 index 00000000..09f0eb4b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRubygemsMetadataDependencie.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRubygemsMetadataDependencie + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookRubygemsMetadataMetadata.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookRubygemsMetadataMetadata.g.cs new file mode 100644 index 00000000..306736e8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookRubygemsMetadataMetadata.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookRubygemsMetadataMetadata + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory.g.cs index 371d353b..17f6646d 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory.g.cs @@ -20,7 +20,7 @@ public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisory /// [global::System.Text.Json.Serialization.JsonPropertyName("cwes")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Cwes { get; set; } + public required global::System.Collections.Generic.IList Cwes { get; set; } /// /// @@ -41,7 +41,7 @@ public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisory /// [global::System.Text.Json.Serialization.JsonPropertyName("identifiers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Identifiers { get; set; } + public required global::System.Collections.Generic.IList Identifiers { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisory /// [global::System.Text.Json.Serialization.JsonPropertyName("references")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList References { get; set; } + public required global::System.Collections.Generic.IList References { get; set; } /// /// @@ -83,7 +83,7 @@ public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisory /// [global::System.Text.Json.Serialization.JsonPropertyName("vulnerabilities")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Vulnerabilities { get; set; } + public required global::System.Collections.Generic.IList Vulnerabilities { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwe.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwe.g.cs new file mode 100644 index 00000000..d3dfb411 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwe.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwe + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cwe_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CweId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwes.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwes.g.cs deleted file mode 100644 index 9299e734..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwes.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwes - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("cwe_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CweId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryIdentifier.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryIdentifier.g.cs new file mode 100644 index 00000000..6e30a436 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryIdentifier.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryIdentifier + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryIdentifiers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryIdentifiers.g.cs deleted file mode 100644 index 95fbf33d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryIdentifiers.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryIdentifiers - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Value { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryReference.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryReference.g.cs new file mode 100644 index 00000000..24fd7f34 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryReference.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryReference + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryReferences.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryReferences.g.cs deleted file mode 100644 index bfd990cc..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryReferences.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryReferences - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitie.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitie.g.cs new file mode 100644 index 00000000..d5ec7c7d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitie.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitie + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("first_patched_version")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitieFirstPatchedVersion? FirstPatchedVersion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("package")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiePackage Package { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("severity")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Severity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_version_range")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string VulnerableVersionRange { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitieFirstPatchedVersion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitieFirstPatchedVersion.g.cs new file mode 100644 index 00000000..433b737a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitieFirstPatchedVersion.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitieFirstPatchedVersion + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("identifier")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Identifier { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiePackage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiePackage.g.cs new file mode 100644 index 00000000..365820b6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiePackage.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiePackage + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ecosystem")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ecosystem { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilities.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilities.g.cs deleted file mode 100644 index 0358271d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilities.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilities - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("first_patched_version")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesFirstPatchedVersion? FirstPatchedVersion { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("package")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesPackage Package { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("severity")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Severity { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_version_range")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string VulnerableVersionRange { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesFirstPatchedVersion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesFirstPatchedVersion.g.cs deleted file mode 100644 index 38775a19..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesFirstPatchedVersion.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesFirstPatchedVersion - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("identifier")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Identifier { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesPackage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesPackage.g.cs deleted file mode 100644 index 3512bab6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesPackage.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesPackage - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ecosystem")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ecosystem { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStarDeleted.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStarDeleted.g.cs index 28127d49..ecbe2406 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookStarDeleted.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookStarDeleted.g.cs @@ -59,7 +59,7 @@ public sealed partial class WebhookStarDeleted /// [global::System.Text.Json.Serialization.JsonPropertyName("starred_at")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? StarredAt { get; set; } + public required global::GitHub.WebhookStarDeletedStarredAt? StarredAt { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStarDeletedStarredAt.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStarDeletedStarredAt.g.cs new file mode 100644 index 00000000..4f5ffcc1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookStarDeletedStarredAt.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action. + /// + public sealed partial class WebhookStarDeletedStarredAt + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatus.g.cs index 40cee82e..a59067f4 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatus.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatus.g.cs @@ -19,7 +19,7 @@ public sealed partial class WebhookStatus /// [global::System.Text.Json.Serialization.JsonPropertyName("branches")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Branches { get; set; } + public required global::System.Collections.Generic.IList Branches { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBranche.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBranche.g.cs new file mode 100644 index 00000000..81cf3181 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBranche.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookStatusBranche + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("commit")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookStatusBrancheCommit Commit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("protected")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Protected { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBrancheCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBrancheCommit.g.cs new file mode 100644 index 00000000..2040329f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBrancheCommit.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookStatusBrancheCommit + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Sha { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBranches.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBranches.g.cs deleted file mode 100644 index 19993050..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBranches.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookStatusBranches - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("commit")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookStatusBranchesCommit Commit { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("protected")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Protected { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBranchesCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBranchesCommit.g.cs deleted file mode 100644 index 47271c35..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusBranchesCommit.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookStatusBranchesCommit - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Sha { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommit.g.cs index c775fd2d..60d28903 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommit.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommit.g.cs @@ -55,7 +55,7 @@ public sealed partial class WebhookStatusCommit /// [global::System.Text.Json.Serialization.JsonPropertyName("parents")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Parents { get; set; } + public required global::System.Collections.Generic.IList Parents { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommit.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommit.g.cs index 46551875..6b92648b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommit.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommit.g.cs @@ -16,7 +16,7 @@ public sealed partial class WebhookStatusCommitCommit [global::System.Text.Json.Serialization.JsonPropertyName("author")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf Author { get; set; } + public required global::System.AllOf Author { get; set; } /// /// @@ -31,7 +31,7 @@ public sealed partial class WebhookStatusCommitCommit [global::System.Text.Json.Serialization.JsonPropertyName("committer")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf Committer { get; set; } + public required global::System.AllOf Committer { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitAuthor.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitAuthor.g.cs deleted file mode 100644 index d9186d24..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitAuthor.g.cs +++ /dev/null @@ -1,43 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Metaproperties for Git author/committer information. - /// - public sealed partial class WebhookStatusCommitCommitAuthor - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("date")] - public global::System.DateTime Date { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Email { get; set; } - - /// - /// The git author's name. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("username")] - public string? Username { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitAuthorVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitAuthorVariant1.g.cs new file mode 100644 index 00000000..eed14bdd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitAuthorVariant1.g.cs @@ -0,0 +1,43 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Metaproperties for Git author/committer information. + /// + public sealed partial class WebhookStatusCommitCommitAuthorVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("date")] + public global::System.DateTime Date { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Email { get; set; } + + /// + /// The git author's name. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("username")] + public string? Username { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitAuthorVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitAuthorVariant2.g.cs new file mode 100644 index 00000000..cfaa12ed --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitAuthorVariant2.g.cs @@ -0,0 +1,36 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookStatusCommitCommitAuthorVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("date")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Date { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitCommitter.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitCommitter.g.cs deleted file mode 100644 index bec3d719..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitCommitter.g.cs +++ /dev/null @@ -1,43 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Metaproperties for Git author/committer information. - /// - public sealed partial class WebhookStatusCommitCommitCommitter - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("date")] - public global::System.DateTime Date { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Email { get; set; } - - /// - /// The git author's name. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("username")] - public string? Username { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitCommitterVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitCommitterVariant1.g.cs new file mode 100644 index 00000000..863f4931 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitCommitterVariant1.g.cs @@ -0,0 +1,43 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Metaproperties for Git author/committer information. + /// + public sealed partial class WebhookStatusCommitCommitCommitterVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("date")] + public global::System.DateTime Date { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Email { get; set; } + + /// + /// The git author's name. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("username")] + public string? Username { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitCommitterVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitCommitterVariant2.g.cs new file mode 100644 index 00000000..07d03183 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitCommitCommitterVariant2.g.cs @@ -0,0 +1,36 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookStatusCommitCommitCommitterVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("date")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Date { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitParent.g.cs new file mode 100644 index 00000000..6f40b6eb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitParent.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookStatusCommitParent + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitParents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitParents.g.cs deleted file mode 100644 index 2d2ecbbb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookStatusCommitParents.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookStatusCommitParents - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamAddedToRepositoryRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamAddedToRepositoryRepository.g.cs index 5fa6b302..b92d7e18 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamAddedToRepositoryRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamAddedToRepositoryRepository.g.cs @@ -147,7 +147,7 @@ public sealed partial class WebhookTeamAddedToRepositoryRepository /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_properties")] - public object? CustomProperties { get; set; } + public global::GitHub.WebhookTeamAddedToRepositoryRepositoryCustomProperties? CustomProperties { get; set; } /// /// The default branch of the repository. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamAddedToRepositoryRepositoryCustomProperties.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamAddedToRepositoryRepositoryCustomProperties.g.cs new file mode 100644 index 00000000..55649b92 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamAddedToRepositoryRepositoryCustomProperties.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + public sealed partial class WebhookTeamAddedToRepositoryRepositoryCustomProperties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamCreatedRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamCreatedRepository.g.cs index 9e6f439c..aa423a2c 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamCreatedRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamCreatedRepository.g.cs @@ -147,7 +147,7 @@ public sealed partial class WebhookTeamCreatedRepository /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_properties")] - public object? CustomProperties { get; set; } + public global::GitHub.WebhookTeamCreatedRepositoryCustomProperties? CustomProperties { get; set; } /// /// The default branch of the repository. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamCreatedRepositoryCustomProperties.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamCreatedRepositoryCustomProperties.g.cs new file mode 100644 index 00000000..72890ae0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamCreatedRepositoryCustomProperties.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + public sealed partial class WebhookTeamCreatedRepositoryCustomProperties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamDeletedRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamDeletedRepository.g.cs index 506153f1..1aac04e3 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamDeletedRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamDeletedRepository.g.cs @@ -147,7 +147,7 @@ public sealed partial class WebhookTeamDeletedRepository /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_properties")] - public object? CustomProperties { get; set; } + public global::GitHub.WebhookTeamDeletedRepositoryCustomProperties? CustomProperties { get; set; } /// /// The default branch of the repository. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamDeletedRepositoryCustomProperties.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamDeletedRepositoryCustomProperties.g.cs new file mode 100644 index 00000000..ca4bd6c2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamDeletedRepositoryCustomProperties.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + public sealed partial class WebhookTeamDeletedRepositoryCustomProperties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamEditedRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamEditedRepository.g.cs index 2d77a106..8fc97647 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamEditedRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamEditedRepository.g.cs @@ -147,7 +147,7 @@ public sealed partial class WebhookTeamEditedRepository /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_properties")] - public object? CustomProperties { get; set; } + public global::GitHub.WebhookTeamEditedRepositoryCustomProperties? CustomProperties { get; set; } /// /// The default branch of the repository. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamEditedRepositoryCustomProperties.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamEditedRepositoryCustomProperties.g.cs new file mode 100644 index 00000000..c46e67d6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamEditedRepositoryCustomProperties.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + public sealed partial class WebhookTeamEditedRepositoryCustomProperties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamRemovedFromRepositoryRepository.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamRemovedFromRepositoryRepository.g.cs index 47be56d9..975bed15 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamRemovedFromRepositoryRepository.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamRemovedFromRepositoryRepository.g.cs @@ -147,7 +147,7 @@ public sealed partial class WebhookTeamRemovedFromRepositoryRepository /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. /// [global::System.Text.Json.Serialization.JsonPropertyName("custom_properties")] - public object? CustomProperties { get; set; } + public global::GitHub.WebhookTeamRemovedFromRepositoryRepositoryCustomProperties? CustomProperties { get; set; } /// /// The default branch of the repository. diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamRemovedFromRepositoryRepositoryCustomProperties.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamRemovedFromRepositoryRepositoryCustomProperties.g.cs new file mode 100644 index 00000000..e6a7be7d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookTeamRemovedFromRepositoryRepositoryCustomProperties.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + public sealed partial class WebhookTeamRemovedFromRepositoryRepositoryCustomProperties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowDispatch.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowDispatch.g.cs index 055a2f5f..33df5e15 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowDispatch.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowDispatch.g.cs @@ -21,7 +21,7 @@ public sealed partial class WebhookWorkflowDispatch /// [global::System.Text.Json.Serialization.JsonPropertyName("inputs")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Inputs { get; set; } + public required global::GitHub.WebhookWorkflowDispatchInputs? Inputs { get; set; } /// /// The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowDispatchInputs.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowDispatchInputs.g.cs new file mode 100644 index 00000000..6efcec5d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowDispatchInputs.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowDispatchInputs + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompleted.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompleted.g.cs index 9ed3a8aa..b620ad01 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompleted.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompleted.g.cs @@ -62,7 +62,7 @@ public sealed partial class WebhookWorkflowJobCompleted [global::System.Text.Json.Serialization.JsonPropertyName("workflow_job")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf WorkflowJob { get; set; } + public required global::System.AllOf WorkflowJob { get; set; } /// /// A request for a specific ref(branch,sha,tag) to be deployed diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJob.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJob.g.cs deleted file mode 100644 index bc629a80..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJob.g.cs +++ /dev/null @@ -1,180 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, and `started_at` are the same as those in a [`check_run`](#check_run) object. - /// - public sealed partial class WebhookWorkflowJobCompletedWorkflowJob - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("check_run_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CheckRunUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? CompletedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobConclusionJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowJobCompletedWorkflowJobConclusion? Conclusion { get; set; } - - /// - /// The time that the job created. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head_sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HeadSha { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// Custom labels for the job. Specified by the [`"runs-on"` attribute](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("run_attempt")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int RunAttempt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("run_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required double RunId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("run_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RunUrl { get; set; } - - /// - /// The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("runner_group_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? RunnerGroupId { get; set; } - - /// - /// The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("runner_group_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? RunnerGroupName { get; set; } - - /// - /// The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("runner_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? RunnerId { get; set; } - - /// - /// The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("runner_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? RunnerName { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string StartedAt { get; set; } - - /// - /// The current status of the job. Can be `queued`, `in_progress`, `waiting`, or `completed`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStatusJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStatus Status { get; set; } - - /// - /// The name of the current branch. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head_branch")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? HeadBranch { get; set; } - - /// - /// The name of the workflow. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("workflow_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? WorkflowName { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("steps")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Steps { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobConclusion.g.cs deleted file mode 100644 index daaa6b23..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobConclusion.g.cs +++ /dev/null @@ -1,81 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookWorkflowJobCompletedWorkflowJobConclusion - { - /// - /// - /// - Success, - /// - /// - /// - Failure, - /// - /// - /// - Skipped, - /// - /// - /// - Cancelled, - /// - /// - /// - ActionRequired, - /// - /// - /// - Neutral, - /// - /// - /// - TimedOut, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookWorkflowJobCompletedWorkflowJobConclusionExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookWorkflowJobCompletedWorkflowJobConclusion value) - { - return value switch - { - WebhookWorkflowJobCompletedWorkflowJobConclusion.Success => "success", - WebhookWorkflowJobCompletedWorkflowJobConclusion.Failure => "failure", - WebhookWorkflowJobCompletedWorkflowJobConclusion.Skipped => "skipped", - WebhookWorkflowJobCompletedWorkflowJobConclusion.Cancelled => "cancelled", - WebhookWorkflowJobCompletedWorkflowJobConclusion.ActionRequired => "action_required", - WebhookWorkflowJobCompletedWorkflowJobConclusion.Neutral => "neutral", - WebhookWorkflowJobCompletedWorkflowJobConclusion.TimedOut => "timed_out", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookWorkflowJobCompletedWorkflowJobConclusion? ToEnum(string value) - { - return value switch - { - "success" => WebhookWorkflowJobCompletedWorkflowJobConclusion.Success, - "failure" => WebhookWorkflowJobCompletedWorkflowJobConclusion.Failure, - "skipped" => WebhookWorkflowJobCompletedWorkflowJobConclusion.Skipped, - "cancelled" => WebhookWorkflowJobCompletedWorkflowJobConclusion.Cancelled, - "action_required" => WebhookWorkflowJobCompletedWorkflowJobConclusion.ActionRequired, - "neutral" => WebhookWorkflowJobCompletedWorkflowJobConclusion.Neutral, - "timed_out" => WebhookWorkflowJobCompletedWorkflowJobConclusion.TimedOut, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobStatus.g.cs deleted file mode 100644 index 47ec2774..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobStatus.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The current status of the job. Can be `queued`, `in_progress`, `waiting`, or `completed`. - /// - public enum WebhookWorkflowJobCompletedWorkflowJobStatus - { - /// - /// - /// - Queued, - /// - /// - /// - InProgress, - /// - /// - /// - Completed, - /// - /// - /// - Waiting, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookWorkflowJobCompletedWorkflowJobStatusExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookWorkflowJobCompletedWorkflowJobStatus value) - { - return value switch - { - WebhookWorkflowJobCompletedWorkflowJobStatus.Queued => "queued", - WebhookWorkflowJobCompletedWorkflowJobStatus.InProgress => "in_progress", - WebhookWorkflowJobCompletedWorkflowJobStatus.Completed => "completed", - WebhookWorkflowJobCompletedWorkflowJobStatus.Waiting => "waiting", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookWorkflowJobCompletedWorkflowJobStatus? ToEnum(string value) - { - return value switch - { - "queued" => WebhookWorkflowJobCompletedWorkflowJobStatus.Queued, - "in_progress" => WebhookWorkflowJobCompletedWorkflowJobStatus.InProgress, - "completed" => WebhookWorkflowJobCompletedWorkflowJobStatus.Completed, - "waiting" => WebhookWorkflowJobCompletedWorkflowJobStatus.Waiting, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobSteps.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobSteps.g.cs deleted file mode 100644 index 315fe120..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobSteps.g.cs +++ /dev/null @@ -1,61 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowJobCompletedWorkflowJobSteps - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? CompletedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsConclusionJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion? Conclusion { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? StartedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsStatusJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsStatus Status { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.g.cs deleted file mode 100644 index b9bd9bd4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookWorkflowJobCompletedWorkflowJobStepsConclusion - { - /// - /// - /// - Failure, - /// - /// - /// - Skipped, - /// - /// - /// - Success, - /// - /// - /// - Cancelled, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookWorkflowJobCompletedWorkflowJobStepsConclusionExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookWorkflowJobCompletedWorkflowJobStepsConclusion value) - { - return value switch - { - WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.Failure => "failure", - WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.Skipped => "skipped", - WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.Success => "success", - WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.Cancelled => "cancelled", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookWorkflowJobCompletedWorkflowJobStepsConclusion? ToEnum(string value) - { - return value switch - { - "failure" => WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.Failure, - "skipped" => WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.Skipped, - "success" => WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.Success, - "cancelled" => WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.Cancelled, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobStepsStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobStepsStatus.g.cs deleted file mode 100644 index b1e2adb2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobStepsStatus.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookWorkflowJobCompletedWorkflowJobStepsStatus - { - /// - /// - /// - InProgress, - /// - /// - /// - Completed, - /// - /// - /// - Queued, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookWorkflowJobCompletedWorkflowJobStepsStatusExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookWorkflowJobCompletedWorkflowJobStepsStatus value) - { - return value switch - { - WebhookWorkflowJobCompletedWorkflowJobStepsStatus.InProgress => "in_progress", - WebhookWorkflowJobCompletedWorkflowJobStepsStatus.Completed => "completed", - WebhookWorkflowJobCompletedWorkflowJobStepsStatus.Queued => "queued", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookWorkflowJobCompletedWorkflowJobStepsStatus? ToEnum(string value) - { - return value switch - { - "in_progress" => WebhookWorkflowJobCompletedWorkflowJobStepsStatus.InProgress, - "completed" => WebhookWorkflowJobCompletedWorkflowJobStepsStatus.Completed, - "queued" => WebhookWorkflowJobCompletedWorkflowJobStepsStatus.Queued, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1.g.cs new file mode 100644 index 00000000..48c5eea1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1.g.cs @@ -0,0 +1,180 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, and `started_at` are the same as those in a [`check_run`](#check_run) object. + /// + public sealed partial class WebhookWorkflowJobCompletedWorkflowJobVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("check_run_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CheckRunUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? CompletedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion? Conclusion { get; set; } + + /// + /// The time that the job created. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head_sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HeadSha { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// Custom labels for the job. Specified by the [`"runs-on"` attribute](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Labels { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_attempt")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int RunAttempt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double RunId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RunUrl { get; set; } + + /// + /// The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_group_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? RunnerGroupId { get; set; } + + /// + /// The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_group_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? RunnerGroupName { get; set; } + + /// + /// The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? RunnerId { get; set; } + + /// + /// The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? RunnerName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string StartedAt { get; set; } + + /// + /// The current status of the job. Can be `queued`, `in_progress`, `waiting`, or `completed`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Status Status { get; set; } + + /// + /// The name of the current branch. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head_branch")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? HeadBranch { get; set; } + + /// + /// The name of the workflow. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("workflow_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? WorkflowName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("steps")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Steps { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.g.cs new file mode 100644 index 00000000..f09a32e9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion + { + /// + /// + /// + Success, + /// + /// + /// + Failure, + /// + /// + /// + Skipped, + /// + /// + /// + Cancelled, + /// + /// + /// + ActionRequired, + /// + /// + /// + Neutral, + /// + /// + /// + TimedOut, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion value) + { + return value switch + { + WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.Success => "success", + WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.Failure => "failure", + WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.Skipped => "skipped", + WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.Cancelled => "cancelled", + WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.ActionRequired => "action_required", + WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.Neutral => "neutral", + WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.TimedOut => "timed_out", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion? ToEnum(string value) + { + return value switch + { + "success" => WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.Success, + "failure" => WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.Failure, + "skipped" => WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.Skipped, + "cancelled" => WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.Cancelled, + "action_required" => WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.ActionRequired, + "neutral" => WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.Neutral, + "timed_out" => WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.TimedOut, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1Status.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1Status.g.cs new file mode 100644 index 00000000..bab015dd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1Status.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The current status of the job. Can be `queued`, `in_progress`, `waiting`, or `completed`. + /// + public enum WebhookWorkflowJobCompletedWorkflowJobVariant1Status + { + /// + /// + /// + Queued, + /// + /// + /// + InProgress, + /// + /// + /// + Completed, + /// + /// + /// + Waiting, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobCompletedWorkflowJobVariant1StatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobCompletedWorkflowJobVariant1Status value) + { + return value switch + { + WebhookWorkflowJobCompletedWorkflowJobVariant1Status.Queued => "queued", + WebhookWorkflowJobCompletedWorkflowJobVariant1Status.InProgress => "in_progress", + WebhookWorkflowJobCompletedWorkflowJobVariant1Status.Completed => "completed", + WebhookWorkflowJobCompletedWorkflowJobVariant1Status.Waiting => "waiting", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobCompletedWorkflowJobVariant1Status? ToEnum(string value) + { + return value switch + { + "queued" => WebhookWorkflowJobCompletedWorkflowJobVariant1Status.Queued, + "in_progress" => WebhookWorkflowJobCompletedWorkflowJobVariant1Status.InProgress, + "completed" => WebhookWorkflowJobCompletedWorkflowJobVariant1Status.Completed, + "waiting" => WebhookWorkflowJobCompletedWorkflowJobVariant1Status.Waiting, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1Step.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1Step.g.cs new file mode 100644 index 00000000..6677fce3 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1Step.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowJobCompletedWorkflowJobVariant1Step + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? CompletedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion? Conclusion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? StartedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.g.cs new file mode 100644 index 00000000..fc797fd7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion + { + /// + /// + /// + Failure, + /// + /// + /// + Skipped, + /// + /// + /// + Success, + /// + /// + /// + Cancelled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion value) + { + return value switch + { + WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.Failure => "failure", + WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.Skipped => "skipped", + WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.Success => "success", + WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.Cancelled => "cancelled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion? ToEnum(string value) + { + return value switch + { + "failure" => WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.Failure, + "skipped" => WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.Skipped, + "success" => WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.Success, + "cancelled" => WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.Cancelled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.g.cs new file mode 100644 index 00000000..5ea085eb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus + { + /// + /// + /// + InProgress, + /// + /// + /// + Completed, + /// + /// + /// + Queued, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus value) + { + return value switch + { + WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.InProgress => "in_progress", + WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.Completed => "completed", + WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.Queued => "queued", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus? ToEnum(string value) + { + return value switch + { + "in_progress" => WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.InProgress, + "completed" => WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.Completed, + "queued" => WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.Queued, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant2.g.cs new file mode 100644 index 00000000..0c473ee7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant2.g.cs @@ -0,0 +1,157 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowJobCompletedWorkflowJobVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("check_run_url")] + public string? CheckRunUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] + public string? CompletedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion Conclusion { get; set; } + + /// + /// The time that the job created. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public string? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head_sha")] + public string? HeadSha { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels")] + public global::System.Collections.Generic.IList? Labels { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_attempt")] + public int RunAttempt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_id")] + public int RunId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_url")] + public string? RunUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_group_id")] + public double? RunnerGroupId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_group_name")] + public string? RunnerGroupName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_id")] + public double? RunnerId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_name")] + public string? RunnerName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + public string? StartedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public string? Status { get; set; } + + /// + /// The name of the current branch. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head_branch")] + public string? HeadBranch { get; set; } + + /// + /// The name of the workflow. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("workflow_name")] + public string? WorkflowName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("steps")] + public global::System.Collections.Generic.IList? Steps { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.g.cs new file mode 100644 index 00000000..7bd9403d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion + { + /// + /// + /// + Success, + /// + /// + /// + Failure, + /// + /// + /// + Skipped, + /// + /// + /// + Cancelled, + /// + /// + /// + ActionRequired, + /// + /// + /// + Neutral, + /// + /// + /// + TimedOut, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion value) + { + return value switch + { + WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.Success => "success", + WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.Failure => "failure", + WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.Skipped => "skipped", + WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.Cancelled => "cancelled", + WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.ActionRequired => "action_required", + WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.Neutral => "neutral", + WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.TimedOut => "timed_out", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion? ToEnum(string value) + { + return value switch + { + "success" => WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.Success, + "failure" => WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.Failure, + "skipped" => WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.Skipped, + "cancelled" => WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.Cancelled, + "action_required" => WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.ActionRequired, + "neutral" => WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.Neutral, + "timed_out" => WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.TimedOut, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant2Step.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant2Step.g.cs new file mode 100644 index 00000000..512b0556 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobCompletedWorkflowJobVariant2Step.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowJobCompletedWorkflowJobVariant2Step + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgress.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgress.g.cs index e711b803..b0c3dffb 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgress.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgress.g.cs @@ -62,7 +62,7 @@ public sealed partial class WebhookWorkflowJobInProgress [global::System.Text.Json.Serialization.JsonPropertyName("workflow_job")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.AllOf WorkflowJob { get; set; } + public required global::System.AllOf WorkflowJob { get; set; } /// /// A request for a specific ref(branch,sha,tag) to be deployed diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJob.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJob.g.cs deleted file mode 100644 index f538a48b..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJob.g.cs +++ /dev/null @@ -1,180 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, and `started_at` are the same as those in a [`check_run`](#check_run) object. - /// - public sealed partial class WebhookWorkflowJobInProgressWorkflowJob - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("check_run_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CheckRunUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? CompletedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobConclusionJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowJobInProgressWorkflowJobConclusion? Conclusion { get; set; } - - /// - /// The time that the job created. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head_sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HeadSha { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// Custom labels for the job. Specified by the [`"runs-on"` attribute](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("run_attempt")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int RunAttempt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("run_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required double RunId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("run_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RunUrl { get; set; } - - /// - /// The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("runner_group_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? RunnerGroupId { get; set; } - - /// - /// The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("runner_group_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? RunnerGroupName { get; set; } - - /// - /// The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("runner_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int? RunnerId { get; set; } - - /// - /// The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("runner_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? RunnerName { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string StartedAt { get; set; } - - /// - /// The current status of the job. Can be `queued`, `in_progress`, or `completed`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStatusJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStatus Status { get; set; } - - /// - /// The name of the current branch. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head_branch")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? HeadBranch { get; set; } - - /// - /// The name of the workflow. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("workflow_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? WorkflowName { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("steps")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Steps { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobConclusion.g.cs deleted file mode 100644 index f6c69946..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobConclusion.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookWorkflowJobInProgressWorkflowJobConclusion - { - /// - /// - /// - Success, - /// - /// - /// - Failure, - /// - /// - /// - Cancelled, - /// - /// - /// - Neutral, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookWorkflowJobInProgressWorkflowJobConclusionExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookWorkflowJobInProgressWorkflowJobConclusion value) - { - return value switch - { - WebhookWorkflowJobInProgressWorkflowJobConclusion.Success => "success", - WebhookWorkflowJobInProgressWorkflowJobConclusion.Failure => "failure", - WebhookWorkflowJobInProgressWorkflowJobConclusion.Cancelled => "cancelled", - WebhookWorkflowJobInProgressWorkflowJobConclusion.Neutral => "neutral", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookWorkflowJobInProgressWorkflowJobConclusion? ToEnum(string value) - { - return value switch - { - "success" => WebhookWorkflowJobInProgressWorkflowJobConclusion.Success, - "failure" => WebhookWorkflowJobInProgressWorkflowJobConclusion.Failure, - "cancelled" => WebhookWorkflowJobInProgressWorkflowJobConclusion.Cancelled, - "neutral" => WebhookWorkflowJobInProgressWorkflowJobConclusion.Neutral, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobStatus.g.cs deleted file mode 100644 index 2c9bb100..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobStatus.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// The current status of the job. Can be `queued`, `in_progress`, or `completed`. - /// - public enum WebhookWorkflowJobInProgressWorkflowJobStatus - { - /// - /// - /// - Queued, - /// - /// - /// - InProgress, - /// - /// - /// - Completed, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookWorkflowJobInProgressWorkflowJobStatusExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookWorkflowJobInProgressWorkflowJobStatus value) - { - return value switch - { - WebhookWorkflowJobInProgressWorkflowJobStatus.Queued => "queued", - WebhookWorkflowJobInProgressWorkflowJobStatus.InProgress => "in_progress", - WebhookWorkflowJobInProgressWorkflowJobStatus.Completed => "completed", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookWorkflowJobInProgressWorkflowJobStatus? ToEnum(string value) - { - return value switch - { - "queued" => WebhookWorkflowJobInProgressWorkflowJobStatus.Queued, - "in_progress" => WebhookWorkflowJobInProgressWorkflowJobStatus.InProgress, - "completed" => WebhookWorkflowJobInProgressWorkflowJobStatus.Completed, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobSteps.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobSteps.g.cs deleted file mode 100644 index b8d255eb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobSteps.g.cs +++ /dev/null @@ -1,61 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowJobInProgressWorkflowJobSteps - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? CompletedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsConclusionJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion? Conclusion { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? StartedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsStatusJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsStatus Status { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.g.cs deleted file mode 100644 index 768a755e..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookWorkflowJobInProgressWorkflowJobStepsConclusion - { - /// - /// - /// - Failure, - /// - /// - /// - Skipped, - /// - /// - /// - Success, - /// - /// - /// - Cancelled, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookWorkflowJobInProgressWorkflowJobStepsConclusionExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookWorkflowJobInProgressWorkflowJobStepsConclusion value) - { - return value switch - { - WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.Failure => "failure", - WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.Skipped => "skipped", - WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.Success => "success", - WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.Cancelled => "cancelled", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookWorkflowJobInProgressWorkflowJobStepsConclusion? ToEnum(string value) - { - return value switch - { - "failure" => WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.Failure, - "skipped" => WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.Skipped, - "success" => WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.Success, - "cancelled" => WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.Cancelled, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobStepsStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobStepsStatus.g.cs deleted file mode 100644 index 99ea7fe2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobStepsStatus.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookWorkflowJobInProgressWorkflowJobStepsStatus - { - /// - /// - /// - InProgress, - /// - /// - /// - Completed, - /// - /// - /// - Queued, - /// - /// - /// - Pending, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookWorkflowJobInProgressWorkflowJobStepsStatusExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookWorkflowJobInProgressWorkflowJobStepsStatus value) - { - return value switch - { - WebhookWorkflowJobInProgressWorkflowJobStepsStatus.InProgress => "in_progress", - WebhookWorkflowJobInProgressWorkflowJobStepsStatus.Completed => "completed", - WebhookWorkflowJobInProgressWorkflowJobStepsStatus.Queued => "queued", - WebhookWorkflowJobInProgressWorkflowJobStepsStatus.Pending => "pending", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookWorkflowJobInProgressWorkflowJobStepsStatus? ToEnum(string value) - { - return value switch - { - "in_progress" => WebhookWorkflowJobInProgressWorkflowJobStepsStatus.InProgress, - "completed" => WebhookWorkflowJobInProgressWorkflowJobStepsStatus.Completed, - "queued" => WebhookWorkflowJobInProgressWorkflowJobStepsStatus.Queued, - "pending" => WebhookWorkflowJobInProgressWorkflowJobStepsStatus.Pending, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1.g.cs new file mode 100644 index 00000000..ed50d13c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1.g.cs @@ -0,0 +1,180 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, and `started_at` are the same as those in a [`check_run`](#check_run) object. + /// + public sealed partial class WebhookWorkflowJobInProgressWorkflowJobVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("check_run_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CheckRunUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? CompletedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion? Conclusion { get; set; } + + /// + /// The time that the job created. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head_sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HeadSha { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// Custom labels for the job. Specified by the [`"runs-on"` attribute](https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Labels { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_attempt")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int RunAttempt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double RunId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RunUrl { get; set; } + + /// + /// The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_group_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? RunnerGroupId { get; set; } + + /// + /// The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_group_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? RunnerGroupName { get; set; } + + /// + /// The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int? RunnerId { get; set; } + + /// + /// The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? RunnerName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string StartedAt { get; set; } + + /// + /// The current status of the job. Can be `queued`, `in_progress`, or `completed`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Status Status { get; set; } + + /// + /// The name of the current branch. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head_branch")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? HeadBranch { get; set; } + + /// + /// The name of the workflow. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("workflow_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? WorkflowName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("steps")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Steps { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.g.cs new file mode 100644 index 00000000..6650f110 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion + { + /// + /// + /// + Success, + /// + /// + /// + Failure, + /// + /// + /// + Cancelled, + /// + /// + /// + Neutral, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion value) + { + return value switch + { + WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.Success => "success", + WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.Failure => "failure", + WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.Cancelled => "cancelled", + WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.Neutral => "neutral", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion? ToEnum(string value) + { + return value switch + { + "success" => WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.Success, + "failure" => WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.Failure, + "cancelled" => WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.Cancelled, + "neutral" => WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.Neutral, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1Status.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1Status.g.cs new file mode 100644 index 00000000..5975f7c7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1Status.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// The current status of the job. Can be `queued`, `in_progress`, or `completed`. + /// + public enum WebhookWorkflowJobInProgressWorkflowJobVariant1Status + { + /// + /// + /// + Queued, + /// + /// + /// + InProgress, + /// + /// + /// + Completed, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobInProgressWorkflowJobVariant1StatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobInProgressWorkflowJobVariant1Status value) + { + return value switch + { + WebhookWorkflowJobInProgressWorkflowJobVariant1Status.Queued => "queued", + WebhookWorkflowJobInProgressWorkflowJobVariant1Status.InProgress => "in_progress", + WebhookWorkflowJobInProgressWorkflowJobVariant1Status.Completed => "completed", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobInProgressWorkflowJobVariant1Status? ToEnum(string value) + { + return value switch + { + "queued" => WebhookWorkflowJobInProgressWorkflowJobVariant1Status.Queued, + "in_progress" => WebhookWorkflowJobInProgressWorkflowJobVariant1Status.InProgress, + "completed" => WebhookWorkflowJobInProgressWorkflowJobVariant1Status.Completed, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1Step.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1Step.g.cs new file mode 100644 index 00000000..e507bf64 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1Step.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowJobInProgressWorkflowJobVariant1Step + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? CompletedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion? Conclusion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? StartedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.g.cs new file mode 100644 index 00000000..f5e4144f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion + { + /// + /// + /// + Failure, + /// + /// + /// + Skipped, + /// + /// + /// + Success, + /// + /// + /// + Cancelled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion value) + { + return value switch + { + WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.Failure => "failure", + WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.Skipped => "skipped", + WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.Success => "success", + WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.Cancelled => "cancelled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion? ToEnum(string value) + { + return value switch + { + "failure" => WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.Failure, + "skipped" => WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.Skipped, + "success" => WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.Success, + "cancelled" => WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.Cancelled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.g.cs new file mode 100644 index 00000000..c74b56e5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus + { + /// + /// + /// + InProgress, + /// + /// + /// + Completed, + /// + /// + /// + Queued, + /// + /// + /// + Pending, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus value) + { + return value switch + { + WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.InProgress => "in_progress", + WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.Completed => "completed", + WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.Queued => "queued", + WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.Pending => "pending", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus? ToEnum(string value) + { + return value switch + { + "in_progress" => WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.InProgress, + "completed" => WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.Completed, + "queued" => WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.Queued, + "pending" => WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.Pending, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2.g.cs new file mode 100644 index 00000000..4bc9c2e1 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2.g.cs @@ -0,0 +1,158 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowJobInProgressWorkflowJobVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("check_run_url")] + public string? CheckRunUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] + public string? CompletedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + public string? Conclusion { get; set; } + + /// + /// The time that the job created. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public string? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head_sha")] + public string? HeadSha { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("labels")] + public global::System.Collections.Generic.IList? Labels { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_attempt")] + public int RunAttempt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_id")] + public int RunId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_url")] + public string? RunUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_group_id")] + public double? RunnerGroupId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_group_name")] + public string? RunnerGroupName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_id")] + public double? RunnerId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("runner_name")] + public string? RunnerName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + public string? StartedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2Status Status { get; set; } + + /// + /// The name of the current branch. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head_branch")] + public string? HeadBranch { get; set; } + + /// + /// The name of the workflow. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("workflow_name")] + public string? WorkflowName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("steps")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Steps { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2Status.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2Status.g.cs new file mode 100644 index 00000000..cea31dfb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2Status.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookWorkflowJobInProgressWorkflowJobVariant2Status + { + /// + /// + /// + InProgress, + /// + /// + /// + Completed, + /// + /// + /// + Queued, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobInProgressWorkflowJobVariant2StatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobInProgressWorkflowJobVariant2Status value) + { + return value switch + { + WebhookWorkflowJobInProgressWorkflowJobVariant2Status.InProgress => "in_progress", + WebhookWorkflowJobInProgressWorkflowJobVariant2Status.Completed => "completed", + WebhookWorkflowJobInProgressWorkflowJobVariant2Status.Queued => "queued", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobInProgressWorkflowJobVariant2Status? ToEnum(string value) + { + return value switch + { + "in_progress" => WebhookWorkflowJobInProgressWorkflowJobVariant2Status.InProgress, + "completed" => WebhookWorkflowJobInProgressWorkflowJobVariant2Status.Completed, + "queued" => WebhookWorkflowJobInProgressWorkflowJobVariant2Status.Queued, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2Step.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2Step.g.cs new file mode 100644 index 00000000..6a17f651 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2Step.g.cs @@ -0,0 +1,60 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowJobInProgressWorkflowJobVariant2Step + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? CompletedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Conclusion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? StartedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.g.cs new file mode 100644 index 00000000..c2ac003f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus + { + /// + /// + /// + InProgress, + /// + /// + /// + Completed, + /// + /// + /// + Pending, + /// + /// + /// + Queued, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus value) + { + return value switch + { + WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.InProgress => "in_progress", + WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.Completed => "completed", + WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.Pending => "pending", + WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.Queued => "queued", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus? ToEnum(string value) + { + return value switch + { + "in_progress" => WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.InProgress, + "completed" => WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.Completed, + "pending" => WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.Pending, + "queued" => WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.Queued, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJob.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJob.g.cs index 22d5ac97..01897ccf 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJob.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJob.g.cs @@ -161,7 +161,7 @@ public sealed partial class WebhookWorkflowJobQueuedWorkflowJob /// [global::System.Text.Json.Serialization.JsonPropertyName("steps")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Steps { get; set; } + public required global::System.Collections.Generic.IList Steps { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStep.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStep.g.cs new file mode 100644 index 00000000..9684a8dd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStep.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowJobQueuedWorkflowJobStep + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? CompletedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepConclusionJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepConclusion? Conclusion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? StartedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepStatus Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepConclusion.g.cs new file mode 100644 index 00000000..66c05672 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepConclusion.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookWorkflowJobQueuedWorkflowJobStepConclusion + { + /// + /// + /// + Failure, + /// + /// + /// + Skipped, + /// + /// + /// + Success, + /// + /// + /// + Cancelled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobQueuedWorkflowJobStepConclusionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobQueuedWorkflowJobStepConclusion value) + { + return value switch + { + WebhookWorkflowJobQueuedWorkflowJobStepConclusion.Failure => "failure", + WebhookWorkflowJobQueuedWorkflowJobStepConclusion.Skipped => "skipped", + WebhookWorkflowJobQueuedWorkflowJobStepConclusion.Success => "success", + WebhookWorkflowJobQueuedWorkflowJobStepConclusion.Cancelled => "cancelled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobQueuedWorkflowJobStepConclusion? ToEnum(string value) + { + return value switch + { + "failure" => WebhookWorkflowJobQueuedWorkflowJobStepConclusion.Failure, + "skipped" => WebhookWorkflowJobQueuedWorkflowJobStepConclusion.Skipped, + "success" => WebhookWorkflowJobQueuedWorkflowJobStepConclusion.Success, + "cancelled" => WebhookWorkflowJobQueuedWorkflowJobStepConclusion.Cancelled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepStatus.g.cs new file mode 100644 index 00000000..5d88e20d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepStatus.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookWorkflowJobQueuedWorkflowJobStepStatus + { + /// + /// + /// + Completed, + /// + /// + /// + InProgress, + /// + /// + /// + Queued, + /// + /// + /// + Pending, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobQueuedWorkflowJobStepStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobQueuedWorkflowJobStepStatus value) + { + return value switch + { + WebhookWorkflowJobQueuedWorkflowJobStepStatus.Completed => "completed", + WebhookWorkflowJobQueuedWorkflowJobStepStatus.InProgress => "in_progress", + WebhookWorkflowJobQueuedWorkflowJobStepStatus.Queued => "queued", + WebhookWorkflowJobQueuedWorkflowJobStepStatus.Pending => "pending", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobQueuedWorkflowJobStepStatus? ToEnum(string value) + { + return value switch + { + "completed" => WebhookWorkflowJobQueuedWorkflowJobStepStatus.Completed, + "in_progress" => WebhookWorkflowJobQueuedWorkflowJobStepStatus.InProgress, + "queued" => WebhookWorkflowJobQueuedWorkflowJobStepStatus.Queued, + "pending" => WebhookWorkflowJobQueuedWorkflowJobStepStatus.Pending, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobSteps.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobSteps.g.cs deleted file mode 100644 index 7123bc3d..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobSteps.g.cs +++ /dev/null @@ -1,61 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowJobQueuedWorkflowJobSteps - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? CompletedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsConclusionJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion? Conclusion { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? StartedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsStatusJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsStatus Status { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.g.cs deleted file mode 100644 index 58450e91..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookWorkflowJobQueuedWorkflowJobStepsConclusion - { - /// - /// - /// - Failure, - /// - /// - /// - Skipped, - /// - /// - /// - Success, - /// - /// - /// - Cancelled, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookWorkflowJobQueuedWorkflowJobStepsConclusionExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookWorkflowJobQueuedWorkflowJobStepsConclusion value) - { - return value switch - { - WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.Failure => "failure", - WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.Skipped => "skipped", - WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.Success => "success", - WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.Cancelled => "cancelled", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookWorkflowJobQueuedWorkflowJobStepsConclusion? ToEnum(string value) - { - return value switch - { - "failure" => WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.Failure, - "skipped" => WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.Skipped, - "success" => WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.Success, - "cancelled" => WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.Cancelled, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepsStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepsStatus.g.cs deleted file mode 100644 index e806b36c..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobQueuedWorkflowJobStepsStatus.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookWorkflowJobQueuedWorkflowJobStepsStatus - { - /// - /// - /// - Completed, - /// - /// - /// - InProgress, - /// - /// - /// - Queued, - /// - /// - /// - Pending, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookWorkflowJobQueuedWorkflowJobStepsStatusExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookWorkflowJobQueuedWorkflowJobStepsStatus value) - { - return value switch - { - WebhookWorkflowJobQueuedWorkflowJobStepsStatus.Completed => "completed", - WebhookWorkflowJobQueuedWorkflowJobStepsStatus.InProgress => "in_progress", - WebhookWorkflowJobQueuedWorkflowJobStepsStatus.Queued => "queued", - WebhookWorkflowJobQueuedWorkflowJobStepsStatus.Pending => "pending", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookWorkflowJobQueuedWorkflowJobStepsStatus? ToEnum(string value) - { - return value switch - { - "completed" => WebhookWorkflowJobQueuedWorkflowJobStepsStatus.Completed, - "in_progress" => WebhookWorkflowJobQueuedWorkflowJobStepsStatus.InProgress, - "queued" => WebhookWorkflowJobQueuedWorkflowJobStepsStatus.Queued, - "pending" => WebhookWorkflowJobQueuedWorkflowJobStepsStatus.Pending, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJob.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJob.g.cs index 53966a37..5fef7e10 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJob.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJob.g.cs @@ -161,7 +161,7 @@ public sealed partial class WebhookWorkflowJobWaitingWorkflowJob /// [global::System.Text.Json.Serialization.JsonPropertyName("steps")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Steps { get; set; } + public required global::System.Collections.Generic.IList Steps { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStep.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStep.g.cs new file mode 100644 index 00000000..78d0df56 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStep.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowJobWaitingWorkflowJobStep + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? CompletedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepConclusionJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepConclusion? Conclusion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? StartedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepStatus Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepConclusion.g.cs new file mode 100644 index 00000000..b032140b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepConclusion.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookWorkflowJobWaitingWorkflowJobStepConclusion + { + /// + /// + /// + Failure, + /// + /// + /// + Skipped, + /// + /// + /// + Success, + /// + /// + /// + Cancelled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobWaitingWorkflowJobStepConclusionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobWaitingWorkflowJobStepConclusion value) + { + return value switch + { + WebhookWorkflowJobWaitingWorkflowJobStepConclusion.Failure => "failure", + WebhookWorkflowJobWaitingWorkflowJobStepConclusion.Skipped => "skipped", + WebhookWorkflowJobWaitingWorkflowJobStepConclusion.Success => "success", + WebhookWorkflowJobWaitingWorkflowJobStepConclusion.Cancelled => "cancelled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobWaitingWorkflowJobStepConclusion? ToEnum(string value) + { + return value switch + { + "failure" => WebhookWorkflowJobWaitingWorkflowJobStepConclusion.Failure, + "skipped" => WebhookWorkflowJobWaitingWorkflowJobStepConclusion.Skipped, + "success" => WebhookWorkflowJobWaitingWorkflowJobStepConclusion.Success, + "cancelled" => WebhookWorkflowJobWaitingWorkflowJobStepConclusion.Cancelled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepStatus.g.cs new file mode 100644 index 00000000..599254fe --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepStatus.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhookWorkflowJobWaitingWorkflowJobStepStatus + { + /// + /// + /// + Completed, + /// + /// + /// + InProgress, + /// + /// + /// + Queued, + /// + /// + /// + Pending, + /// + /// + /// + Waiting, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhookWorkflowJobWaitingWorkflowJobStepStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhookWorkflowJobWaitingWorkflowJobStepStatus value) + { + return value switch + { + WebhookWorkflowJobWaitingWorkflowJobStepStatus.Completed => "completed", + WebhookWorkflowJobWaitingWorkflowJobStepStatus.InProgress => "in_progress", + WebhookWorkflowJobWaitingWorkflowJobStepStatus.Queued => "queued", + WebhookWorkflowJobWaitingWorkflowJobStepStatus.Pending => "pending", + WebhookWorkflowJobWaitingWorkflowJobStepStatus.Waiting => "waiting", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhookWorkflowJobWaitingWorkflowJobStepStatus? ToEnum(string value) + { + return value switch + { + "completed" => WebhookWorkflowJobWaitingWorkflowJobStepStatus.Completed, + "in_progress" => WebhookWorkflowJobWaitingWorkflowJobStepStatus.InProgress, + "queued" => WebhookWorkflowJobWaitingWorkflowJobStepStatus.Queued, + "pending" => WebhookWorkflowJobWaitingWorkflowJobStepStatus.Pending, + "waiting" => WebhookWorkflowJobWaitingWorkflowJobStepStatus.Waiting, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobSteps.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobSteps.g.cs deleted file mode 100644 index 3d5feffc..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobSteps.g.cs +++ /dev/null @@ -1,61 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowJobWaitingWorkflowJobSteps - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? CompletedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsConclusionJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion? Conclusion { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? StartedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsStatusJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsStatus Status { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.g.cs deleted file mode 100644 index 297ca414..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookWorkflowJobWaitingWorkflowJobStepsConclusion - { - /// - /// - /// - Failure, - /// - /// - /// - Skipped, - /// - /// - /// - Success, - /// - /// - /// - Cancelled, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookWorkflowJobWaitingWorkflowJobStepsConclusionExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookWorkflowJobWaitingWorkflowJobStepsConclusion value) - { - return value switch - { - WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.Failure => "failure", - WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.Skipped => "skipped", - WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.Success => "success", - WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.Cancelled => "cancelled", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookWorkflowJobWaitingWorkflowJobStepsConclusion? ToEnum(string value) - { - return value switch - { - "failure" => WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.Failure, - "skipped" => WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.Skipped, - "success" => WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.Success, - "cancelled" => WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.Cancelled, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepsStatus.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepsStatus.g.cs deleted file mode 100644 index a6d8bf80..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowJobWaitingWorkflowJobStepsStatus.g.cs +++ /dev/null @@ -1,69 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhookWorkflowJobWaitingWorkflowJobStepsStatus - { - /// - /// - /// - Completed, - /// - /// - /// - InProgress, - /// - /// - /// - Queued, - /// - /// - /// - Pending, - /// - /// - /// - Waiting, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhookWorkflowJobWaitingWorkflowJobStepsStatusExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhookWorkflowJobWaitingWorkflowJobStepsStatus value) - { - return value switch - { - WebhookWorkflowJobWaitingWorkflowJobStepsStatus.Completed => "completed", - WebhookWorkflowJobWaitingWorkflowJobStepsStatus.InProgress => "in_progress", - WebhookWorkflowJobWaitingWorkflowJobStepsStatus.Queued => "queued", - WebhookWorkflowJobWaitingWorkflowJobStepsStatus.Pending => "pending", - WebhookWorkflowJobWaitingWorkflowJobStepsStatus.Waiting => "waiting", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhookWorkflowJobWaitingWorkflowJobStepsStatus? ToEnum(string value) - { - return value switch - { - "completed" => WebhookWorkflowJobWaitingWorkflowJobStepsStatus.Completed, - "in_progress" => WebhookWorkflowJobWaitingWorkflowJobStepsStatus.InProgress, - "queued" => WebhookWorkflowJobWaitingWorkflowJobStepsStatus.Queued, - "pending" => WebhookWorkflowJobWaitingWorkflowJobStepsStatus.Pending, - "waiting" => WebhookWorkflowJobWaitingWorkflowJobStepsStatus.Waiting, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRun.g.cs index 05089027..64617938 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRun.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRun.g.cs @@ -161,13 +161,13 @@ public sealed partial class WebhookWorkflowRunCompletedWorkflowRun /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PullRequests { get; set; } + public required global::System.Collections.Generic.IList PullRequests { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("referenced_workflows")] - public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } + public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequest.g.cs new file mode 100644 index 00000000..0445e3d6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequest.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunCompletedWorkflowRunPullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestBase Base { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestHead Head { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestBase.g.cs new file mode 100644 index 00000000..64e0ca7d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestBase.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunCompletedWorkflowRunPullRequestBase + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestBaseRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestBaseRepo.g.cs new file mode 100644 index 00000000..f537c606 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestBaseRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunCompletedWorkflowRunPullRequestBaseRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestHead.g.cs new file mode 100644 index 00000000..92bf1e0f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestHead.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunCompletedWorkflowRunPullRequestHead + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestHeadRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestHeadRepo.g.cs new file mode 100644 index 00000000..08d5d5c2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestHeadRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunCompletedWorkflowRunPullRequestHeadRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequests.g.cs deleted file mode 100644 index 7afe9696..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequests.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunCompletedWorkflowRunPullRequests - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("base")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestsBase Base { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestsHead Head { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required double Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required double Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsBase.g.cs deleted file mode 100644 index 7e1979d7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsBase.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunCompletedWorkflowRunPullRequestsBase - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestsBaseRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsBaseRepo.g.cs deleted file mode 100644 index 113b3801..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsBaseRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunCompletedWorkflowRunPullRequestsBaseRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsHead.g.cs deleted file mode 100644 index 94a83742..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsHead.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunCompletedWorkflowRunPullRequestsHead - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestsHeadRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsHeadRepo.g.cs deleted file mode 100644 index eb78a67a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunPullRequestsHeadRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunCompletedWorkflowRunPullRequestsHeadRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunReferencedWorkflow.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunReferencedWorkflow.g.cs new file mode 100644 index 00000000..45eac686 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunReferencedWorkflow.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunCompletedWorkflowRunReferencedWorkflow + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + public string? Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunReferencedWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunReferencedWorkflows.g.cs deleted file mode 100644 index 1c364913..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunCompletedWorkflowRunReferencedWorkflows.g.cs +++ /dev/null @@ -1,37 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunCompletedWorkflowRunReferencedWorkflows - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - public string? Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRun.g.cs index 326a2096..c8cd8679 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRun.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRun.g.cs @@ -161,13 +161,13 @@ public sealed partial class WebhookWorkflowRunInProgressWorkflowRun /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PullRequests { get; set; } + public required global::System.Collections.Generic.IList PullRequests { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("referenced_workflows")] - public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } + public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequest.g.cs new file mode 100644 index 00000000..23888e57 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequest.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunInProgressWorkflowRunPullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestBase Base { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestHead Head { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestBase.g.cs new file mode 100644 index 00000000..3a48c370 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestBase.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunInProgressWorkflowRunPullRequestBase + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestBaseRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestBaseRepo.g.cs new file mode 100644 index 00000000..0834b3e4 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestBaseRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunInProgressWorkflowRunPullRequestBaseRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestHead.g.cs new file mode 100644 index 00000000..42006fb9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestHead.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunInProgressWorkflowRunPullRequestHead + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestHeadRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestHeadRepo.g.cs new file mode 100644 index 00000000..c0213857 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestHeadRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunInProgressWorkflowRunPullRequestHeadRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequests.g.cs deleted file mode 100644 index 9ff22868..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequests.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunInProgressWorkflowRunPullRequests - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("base")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestsBase Base { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestsHead Head { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required double Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required double Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsBase.g.cs deleted file mode 100644 index 417746f8..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsBase.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunInProgressWorkflowRunPullRequestsBase - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestsBaseRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsBaseRepo.g.cs deleted file mode 100644 index e3e1bba7..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsBaseRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunInProgressWorkflowRunPullRequestsBaseRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsHead.g.cs deleted file mode 100644 index c2acebef..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsHead.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunInProgressWorkflowRunPullRequestsHead - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestsHeadRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsHeadRepo.g.cs deleted file mode 100644 index 7f0895f0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunPullRequestsHeadRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunInProgressWorkflowRunPullRequestsHeadRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunReferencedWorkflow.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunReferencedWorkflow.g.cs new file mode 100644 index 00000000..978c0e2b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunReferencedWorkflow.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunInProgressWorkflowRunReferencedWorkflow + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + public string? Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunReferencedWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunReferencedWorkflows.g.cs deleted file mode 100644 index f30ed8ae..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunInProgressWorkflowRunReferencedWorkflows.g.cs +++ /dev/null @@ -1,37 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunInProgressWorkflowRunReferencedWorkflows - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - public string? Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRun.g.cs index 24baa213..dbd05232 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRun.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRun.g.cs @@ -161,13 +161,13 @@ public sealed partial class WebhookWorkflowRunRequestedWorkflowRun /// [global::System.Text.Json.Serialization.JsonPropertyName("pull_requests")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList PullRequests { get; set; } + public required global::System.Collections.Generic.IList PullRequests { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("referenced_workflows")] - public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } + public global::System.Collections.Generic.IList? ReferencedWorkflows { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequest.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequest.g.cs new file mode 100644 index 00000000..754bc496 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequest.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunRequestedWorkflowRunPullRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestBase Base { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("head")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestHead Head { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Number { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestBase.g.cs new file mode 100644 index 00000000..c66f9271 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestBase.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunRequestedWorkflowRunPullRequestBase + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestBaseRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestBaseRepo.g.cs new file mode 100644 index 00000000..3df3770b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestBaseRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunRequestedWorkflowRunPullRequestBaseRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestHead.g.cs new file mode 100644 index 00000000..d77f9c42 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestHead.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunRequestedWorkflowRunPullRequestHead + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestHeadRepo Repo { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestHeadRepo.g.cs new file mode 100644 index 00000000..db7921ef --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestHeadRepo.g.cs @@ -0,0 +1,38 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunRequestedWorkflowRunPullRequestHeadRepo + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequests.g.cs deleted file mode 100644 index 562fbaca..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequests.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunRequestedWorkflowRunPullRequests - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("base")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestsBase Base { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("head")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestsHead Head { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required double Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("number")] - [global::System.Text.Json.Serialization.JsonRequired] - public required double Number { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsBase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsBase.g.cs deleted file mode 100644 index b06a1c23..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsBase.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunRequestedWorkflowRunPullRequestsBase - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestsBaseRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsBaseRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsBaseRepo.g.cs deleted file mode 100644 index b13c3972..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsBaseRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunRequestedWorkflowRunPullRequestsBaseRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsHead.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsHead.g.cs deleted file mode 100644 index 4b5fd577..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsHead.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunRequestedWorkflowRunPullRequestsHead - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repo")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestsHeadRepo Repo { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsHeadRepo.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsHeadRepo.g.cs deleted file mode 100644 index beace363..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunPullRequestsHeadRepo.g.cs +++ /dev/null @@ -1,38 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunRequestedWorkflowRunPullRequestsHeadRepo - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunReferencedWorkflow.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunReferencedWorkflow.g.cs new file mode 100644 index 00000000..42a30636 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunReferencedWorkflow.g.cs @@ -0,0 +1,37 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhookWorkflowRunRequestedWorkflowRunReferencedWorkflow + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Path { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ref")] + public string? Ref { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sha")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Sha { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunReferencedWorkflows.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunReferencedWorkflows.g.cs deleted file mode 100644 index b0c56d8a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhookWorkflowRunRequestedWorkflowRunReferencedWorkflows.g.cs +++ /dev/null @@ -1,37 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhookWorkflowRunRequestedWorkflowRunReferencedWorkflows - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Path { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ref")] - public string? Ref { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("sha")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Sha { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksAnswer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksAnswer.g.cs index 8f3915cd..755a666d 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksAnswer.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksAnswer.g.cs @@ -70,7 +70,7 @@ public sealed partial class WebhooksAnswer /// [global::System.Text.Json.Serialization.JsonPropertyName("parent_id")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? ParentId { get; set; } + public required global::GitHub.WebhooksAnswerParentId? ParentId { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksAnswerParentId.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksAnswerParentId.g.cs new file mode 100644 index 00000000..aa210a20 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksAnswerParentId.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksAnswerParentId + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue.g.cs index afa26a69..620099b2 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhooksIssue /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -103,7 +103,7 @@ public sealed partial class WebhooksIssue /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2.g.cs index d230618e..451757f0 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhooksIssue2 /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -103,7 +103,7 @@ public sealed partial class WebhooksIssue2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] - public global::System.Collections.Generic.IList? Labels { get; set; } + public global::System.Collections.Generic.IList? Labels { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Assignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Assignee2.g.cs new file mode 100644 index 00000000..e17d1e90 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Assignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksIssue2Assignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2AssigneeType2JsonConverter))] + public global::GitHub.WebhooksIssue2AssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2AssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2AssigneeType2.g.cs new file mode 100644 index 00000000..ce4f5f3b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2AssigneeType2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksIssue2AssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksIssue2AssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksIssue2AssigneeType2 value) + { + return value switch + { + WebhooksIssue2AssigneeType2.Bot => "Bot", + WebhooksIssue2AssigneeType2.User => "User", + WebhooksIssue2AssigneeType2.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksIssue2AssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhooksIssue2AssigneeType2.Bot, + "User" => WebhooksIssue2AssigneeType2.User, + "Organization" => WebhooksIssue2AssigneeType2.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Assignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Assignees.g.cs deleted file mode 100644 index 7d8a3798..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Assignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksIssue2Assignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2AssigneesTypeJsonConverter))] - public global::GitHub.WebhooksIssue2AssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2AssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2AssigneesType.g.cs deleted file mode 100644 index 8a4299b5..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2AssigneesType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhooksIssue2AssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhooksIssue2AssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhooksIssue2AssigneesType value) - { - return value switch - { - WebhooksIssue2AssigneesType.Bot => "Bot", - WebhooksIssue2AssigneesType.User => "User", - WebhooksIssue2AssigneesType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhooksIssue2AssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhooksIssue2AssigneesType.Bot, - "User" => WebhooksIssue2AssigneesType.User, - "Organization" => WebhooksIssue2AssigneesType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Label.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Label.g.cs new file mode 100644 index 00000000..ba792fbd --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Label.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksIssue2Label + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Labels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Labels.g.cs deleted file mode 100644 index e66f8ccb..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2Labels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksIssue2Labels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2PerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2PerformedViaGithubApp.g.cs index 5f18e188..cceca543 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2PerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2PerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhooksIssue2PerformedViaGithubApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2PerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2PerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..7deb532c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2PerformedViaGithubAppEvent.g.cs @@ -0,0 +1,309 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksIssue2PerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksIssue2PerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksIssue2PerformedViaGithubAppEvent value) + { + return value switch + { + WebhooksIssue2PerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhooksIssue2PerformedViaGithubAppEvent.CheckRun => "check_run", + WebhooksIssue2PerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhooksIssue2PerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhooksIssue2PerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhooksIssue2PerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhooksIssue2PerformedViaGithubAppEvent.Create => "create", + WebhooksIssue2PerformedViaGithubAppEvent.Delete => "delete", + WebhooksIssue2PerformedViaGithubAppEvent.Deployment => "deployment", + WebhooksIssue2PerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhooksIssue2PerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhooksIssue2PerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhooksIssue2PerformedViaGithubAppEvent.Discussion => "discussion", + WebhooksIssue2PerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhooksIssue2PerformedViaGithubAppEvent.Fork => "fork", + WebhooksIssue2PerformedViaGithubAppEvent.Gollum => "gollum", + WebhooksIssue2PerformedViaGithubAppEvent.Issues => "issues", + WebhooksIssue2PerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhooksIssue2PerformedViaGithubAppEvent.Label => "label", + WebhooksIssue2PerformedViaGithubAppEvent.Member => "member", + WebhooksIssue2PerformedViaGithubAppEvent.Membership => "membership", + WebhooksIssue2PerformedViaGithubAppEvent.Milestone => "milestone", + WebhooksIssue2PerformedViaGithubAppEvent.Organization => "organization", + WebhooksIssue2PerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhooksIssue2PerformedViaGithubAppEvent.PageBuild => "page_build", + WebhooksIssue2PerformedViaGithubAppEvent.Project => "project", + WebhooksIssue2PerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhooksIssue2PerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhooksIssue2PerformedViaGithubAppEvent.Public => "public", + WebhooksIssue2PerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhooksIssue2PerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhooksIssue2PerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhooksIssue2PerformedViaGithubAppEvent.Push => "push", + WebhooksIssue2PerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhooksIssue2PerformedViaGithubAppEvent.Release => "release", + WebhooksIssue2PerformedViaGithubAppEvent.Repository => "repository", + WebhooksIssue2PerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhooksIssue2PerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhooksIssue2PerformedViaGithubAppEvent.Star => "star", + WebhooksIssue2PerformedViaGithubAppEvent.Status => "status", + WebhooksIssue2PerformedViaGithubAppEvent.Team => "team", + WebhooksIssue2PerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhooksIssue2PerformedViaGithubAppEvent.Watch => "watch", + WebhooksIssue2PerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhooksIssue2PerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksIssue2PerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhooksIssue2PerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhooksIssue2PerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhooksIssue2PerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhooksIssue2PerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhooksIssue2PerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhooksIssue2PerformedViaGithubAppEvent.ContentReference, + "create" => WebhooksIssue2PerformedViaGithubAppEvent.Create, + "delete" => WebhooksIssue2PerformedViaGithubAppEvent.Delete, + "deployment" => WebhooksIssue2PerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhooksIssue2PerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhooksIssue2PerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhooksIssue2PerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhooksIssue2PerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhooksIssue2PerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhooksIssue2PerformedViaGithubAppEvent.Fork, + "gollum" => WebhooksIssue2PerformedViaGithubAppEvent.Gollum, + "issues" => WebhooksIssue2PerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhooksIssue2PerformedViaGithubAppEvent.IssueComment, + "label" => WebhooksIssue2PerformedViaGithubAppEvent.Label, + "member" => WebhooksIssue2PerformedViaGithubAppEvent.Member, + "membership" => WebhooksIssue2PerformedViaGithubAppEvent.Membership, + "milestone" => WebhooksIssue2PerformedViaGithubAppEvent.Milestone, + "organization" => WebhooksIssue2PerformedViaGithubAppEvent.Organization, + "org_block" => WebhooksIssue2PerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhooksIssue2PerformedViaGithubAppEvent.PageBuild, + "project" => WebhooksIssue2PerformedViaGithubAppEvent.Project, + "project_card" => WebhooksIssue2PerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhooksIssue2PerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhooksIssue2PerformedViaGithubAppEvent.Public, + "pull_request" => WebhooksIssue2PerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhooksIssue2PerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhooksIssue2PerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhooksIssue2PerformedViaGithubAppEvent.Push, + "registry_package" => WebhooksIssue2PerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhooksIssue2PerformedViaGithubAppEvent.Release, + "repository" => WebhooksIssue2PerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhooksIssue2PerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhooksIssue2PerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhooksIssue2PerformedViaGithubAppEvent.Star, + "status" => WebhooksIssue2PerformedViaGithubAppEvent.Status, + "team" => WebhooksIssue2PerformedViaGithubAppEvent.Team, + "team_add" => WebhooksIssue2PerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhooksIssue2PerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhooksIssue2PerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhooksIssue2PerformedViaGithubAppEvent.WorkflowRun, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2PerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2PerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 1e26fda6..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssue2PerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,309 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhooksIssue2PerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhooksIssue2PerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhooksIssue2PerformedViaGithubAppEvents value) - { - return value switch - { - WebhooksIssue2PerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhooksIssue2PerformedViaGithubAppEvents.CheckRun => "check_run", - WebhooksIssue2PerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhooksIssue2PerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhooksIssue2PerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhooksIssue2PerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhooksIssue2PerformedViaGithubAppEvents.Create => "create", - WebhooksIssue2PerformedViaGithubAppEvents.Delete => "delete", - WebhooksIssue2PerformedViaGithubAppEvents.Deployment => "deployment", - WebhooksIssue2PerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhooksIssue2PerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhooksIssue2PerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhooksIssue2PerformedViaGithubAppEvents.Discussion => "discussion", - WebhooksIssue2PerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhooksIssue2PerformedViaGithubAppEvents.Fork => "fork", - WebhooksIssue2PerformedViaGithubAppEvents.Gollum => "gollum", - WebhooksIssue2PerformedViaGithubAppEvents.Issues => "issues", - WebhooksIssue2PerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhooksIssue2PerformedViaGithubAppEvents.Label => "label", - WebhooksIssue2PerformedViaGithubAppEvents.Member => "member", - WebhooksIssue2PerformedViaGithubAppEvents.Membership => "membership", - WebhooksIssue2PerformedViaGithubAppEvents.Milestone => "milestone", - WebhooksIssue2PerformedViaGithubAppEvents.Organization => "organization", - WebhooksIssue2PerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhooksIssue2PerformedViaGithubAppEvents.PageBuild => "page_build", - WebhooksIssue2PerformedViaGithubAppEvents.Project => "project", - WebhooksIssue2PerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhooksIssue2PerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhooksIssue2PerformedViaGithubAppEvents.Public => "public", - WebhooksIssue2PerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhooksIssue2PerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhooksIssue2PerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhooksIssue2PerformedViaGithubAppEvents.Push => "push", - WebhooksIssue2PerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhooksIssue2PerformedViaGithubAppEvents.Release => "release", - WebhooksIssue2PerformedViaGithubAppEvents.Repository => "repository", - WebhooksIssue2PerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhooksIssue2PerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhooksIssue2PerformedViaGithubAppEvents.Star => "star", - WebhooksIssue2PerformedViaGithubAppEvents.Status => "status", - WebhooksIssue2PerformedViaGithubAppEvents.Team => "team", - WebhooksIssue2PerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhooksIssue2PerformedViaGithubAppEvents.Watch => "watch", - WebhooksIssue2PerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhooksIssue2PerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhooksIssue2PerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhooksIssue2PerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhooksIssue2PerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhooksIssue2PerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhooksIssue2PerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhooksIssue2PerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhooksIssue2PerformedViaGithubAppEvents.ContentReference, - "create" => WebhooksIssue2PerformedViaGithubAppEvents.Create, - "delete" => WebhooksIssue2PerformedViaGithubAppEvents.Delete, - "deployment" => WebhooksIssue2PerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhooksIssue2PerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhooksIssue2PerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhooksIssue2PerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhooksIssue2PerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhooksIssue2PerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhooksIssue2PerformedViaGithubAppEvents.Fork, - "gollum" => WebhooksIssue2PerformedViaGithubAppEvents.Gollum, - "issues" => WebhooksIssue2PerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhooksIssue2PerformedViaGithubAppEvents.IssueComment, - "label" => WebhooksIssue2PerformedViaGithubAppEvents.Label, - "member" => WebhooksIssue2PerformedViaGithubAppEvents.Member, - "membership" => WebhooksIssue2PerformedViaGithubAppEvents.Membership, - "milestone" => WebhooksIssue2PerformedViaGithubAppEvents.Milestone, - "organization" => WebhooksIssue2PerformedViaGithubAppEvents.Organization, - "org_block" => WebhooksIssue2PerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhooksIssue2PerformedViaGithubAppEvents.PageBuild, - "project" => WebhooksIssue2PerformedViaGithubAppEvents.Project, - "project_card" => WebhooksIssue2PerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhooksIssue2PerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhooksIssue2PerformedViaGithubAppEvents.Public, - "pull_request" => WebhooksIssue2PerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhooksIssue2PerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhooksIssue2PerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhooksIssue2PerformedViaGithubAppEvents.Push, - "registry_package" => WebhooksIssue2PerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhooksIssue2PerformedViaGithubAppEvents.Release, - "repository" => WebhooksIssue2PerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhooksIssue2PerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhooksIssue2PerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhooksIssue2PerformedViaGithubAppEvents.Star, - "status" => WebhooksIssue2PerformedViaGithubAppEvents.Status, - "team" => WebhooksIssue2PerformedViaGithubAppEvents.Team, - "team_add" => WebhooksIssue2PerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhooksIssue2PerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhooksIssue2PerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhooksIssue2PerformedViaGithubAppEvents.WorkflowRun, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssignee2.g.cs new file mode 100644 index 00000000..edbe3ffe --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksIssueAssignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueAssigneeType2JsonConverter))] + public global::GitHub.WebhooksIssueAssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssigneeType2.g.cs new file mode 100644 index 00000000..53d5d819 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksIssueAssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksIssueAssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksIssueAssigneeType2 value) + { + return value switch + { + WebhooksIssueAssigneeType2.Bot => "Bot", + WebhooksIssueAssigneeType2.User => "User", + WebhooksIssueAssigneeType2.Organization => "Organization", + WebhooksIssueAssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksIssueAssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhooksIssueAssigneeType2.Bot, + "User" => WebhooksIssueAssigneeType2.User, + "Organization" => WebhooksIssueAssigneeType2.Organization, + "Mannequin" => WebhooksIssueAssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssignees.g.cs deleted file mode 100644 index 2bfe3b79..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksIssueAssignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueAssigneesTypeJsonConverter))] - public global::GitHub.WebhooksIssueAssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssigneesType.g.cs deleted file mode 100644 index 8811609a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueAssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhooksIssueAssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhooksIssueAssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhooksIssueAssigneesType value) - { - return value switch - { - WebhooksIssueAssigneesType.Bot => "Bot", - WebhooksIssueAssigneesType.User => "User", - WebhooksIssueAssigneesType.Organization => "Organization", - WebhooksIssueAssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhooksIssueAssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhooksIssueAssigneesType.Bot, - "User" => WebhooksIssueAssigneesType.User, - "Organization" => WebhooksIssueAssigneesType.Organization, - "Mannequin" => WebhooksIssueAssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueLabel.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueLabel.g.cs new file mode 100644 index 00000000..6b60d13f --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueLabel.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksIssueLabel + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueLabels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueLabels.g.cs deleted file mode 100644 index 7a4a04f2..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssueLabels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksIssueLabels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssuePerformedViaGithubApp.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssuePerformedViaGithubApp.g.cs index 55f55ae5..849ceb02 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssuePerformedViaGithubApp.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssuePerformedViaGithubApp.g.cs @@ -26,7 +26,7 @@ public sealed partial class WebhooksIssuePerformedViaGithubApp /// The list of events for the GitHub app /// [global::System.Text.Json.Serialization.JsonPropertyName("events")] - public global::System.Collections.Generic.IList? Events { get; set; } + public global::System.Collections.Generic.IList? Events { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..4240fb5e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,321 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksIssuePerformedViaGithubAppEvent + { + /// + /// + /// + BranchProtectionRule, + /// + /// + /// + CheckRun, + /// + /// + /// + CheckSuite, + /// + /// + /// + CodeScanningAlert, + /// + /// + /// + CommitComment, + /// + /// + /// + ContentReference, + /// + /// + /// + Create, + /// + /// + /// + Delete, + /// + /// + /// + Deployment, + /// + /// + /// + DeploymentReview, + /// + /// + /// + DeploymentStatus, + /// + /// + /// + DeployKey, + /// + /// + /// + Discussion, + /// + /// + /// + DiscussionComment, + /// + /// + /// + Fork, + /// + /// + /// + Gollum, + /// + /// + /// + Issues, + /// + /// + /// + IssueComment, + /// + /// + /// + Label, + /// + /// + /// + Member, + /// + /// + /// + Membership, + /// + /// + /// + Milestone, + /// + /// + /// + Organization, + /// + /// + /// + OrgBlock, + /// + /// + /// + PageBuild, + /// + /// + /// + Project, + /// + /// + /// + ProjectCard, + /// + /// + /// + ProjectColumn, + /// + /// + /// + Public, + /// + /// + /// + PullRequest, + /// + /// + /// + PullRequestReview, + /// + /// + /// + PullRequestReviewComment, + /// + /// + /// + Push, + /// + /// + /// + RegistryPackage, + /// + /// + /// + Release, + /// + /// + /// + Repository, + /// + /// + /// + RepositoryDispatch, + /// + /// + /// + SecretScanningAlert, + /// + /// + /// + Star, + /// + /// + /// + Status, + /// + /// + /// + Team, + /// + /// + /// + TeamAdd, + /// + /// + /// + Watch, + /// + /// + /// + WorkflowDispatch, + /// + /// + /// + WorkflowRun, + /// + /// + /// + Reminder, + /// + /// + /// + PullRequestReviewThread, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksIssuePerformedViaGithubAppEventExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksIssuePerformedViaGithubAppEvent value) + { + return value switch + { + WebhooksIssuePerformedViaGithubAppEvent.BranchProtectionRule => "branch_protection_rule", + WebhooksIssuePerformedViaGithubAppEvent.CheckRun => "check_run", + WebhooksIssuePerformedViaGithubAppEvent.CheckSuite => "check_suite", + WebhooksIssuePerformedViaGithubAppEvent.CodeScanningAlert => "code_scanning_alert", + WebhooksIssuePerformedViaGithubAppEvent.CommitComment => "commit_comment", + WebhooksIssuePerformedViaGithubAppEvent.ContentReference => "content_reference", + WebhooksIssuePerformedViaGithubAppEvent.Create => "create", + WebhooksIssuePerformedViaGithubAppEvent.Delete => "delete", + WebhooksIssuePerformedViaGithubAppEvent.Deployment => "deployment", + WebhooksIssuePerformedViaGithubAppEvent.DeploymentReview => "deployment_review", + WebhooksIssuePerformedViaGithubAppEvent.DeploymentStatus => "deployment_status", + WebhooksIssuePerformedViaGithubAppEvent.DeployKey => "deploy_key", + WebhooksIssuePerformedViaGithubAppEvent.Discussion => "discussion", + WebhooksIssuePerformedViaGithubAppEvent.DiscussionComment => "discussion_comment", + WebhooksIssuePerformedViaGithubAppEvent.Fork => "fork", + WebhooksIssuePerformedViaGithubAppEvent.Gollum => "gollum", + WebhooksIssuePerformedViaGithubAppEvent.Issues => "issues", + WebhooksIssuePerformedViaGithubAppEvent.IssueComment => "issue_comment", + WebhooksIssuePerformedViaGithubAppEvent.Label => "label", + WebhooksIssuePerformedViaGithubAppEvent.Member => "member", + WebhooksIssuePerformedViaGithubAppEvent.Membership => "membership", + WebhooksIssuePerformedViaGithubAppEvent.Milestone => "milestone", + WebhooksIssuePerformedViaGithubAppEvent.Organization => "organization", + WebhooksIssuePerformedViaGithubAppEvent.OrgBlock => "org_block", + WebhooksIssuePerformedViaGithubAppEvent.PageBuild => "page_build", + WebhooksIssuePerformedViaGithubAppEvent.Project => "project", + WebhooksIssuePerformedViaGithubAppEvent.ProjectCard => "project_card", + WebhooksIssuePerformedViaGithubAppEvent.ProjectColumn => "project_column", + WebhooksIssuePerformedViaGithubAppEvent.Public => "public", + WebhooksIssuePerformedViaGithubAppEvent.PullRequest => "pull_request", + WebhooksIssuePerformedViaGithubAppEvent.PullRequestReview => "pull_request_review", + WebhooksIssuePerformedViaGithubAppEvent.PullRequestReviewComment => "pull_request_review_comment", + WebhooksIssuePerformedViaGithubAppEvent.Push => "push", + WebhooksIssuePerformedViaGithubAppEvent.RegistryPackage => "registry_package", + WebhooksIssuePerformedViaGithubAppEvent.Release => "release", + WebhooksIssuePerformedViaGithubAppEvent.Repository => "repository", + WebhooksIssuePerformedViaGithubAppEvent.RepositoryDispatch => "repository_dispatch", + WebhooksIssuePerformedViaGithubAppEvent.SecretScanningAlert => "secret_scanning_alert", + WebhooksIssuePerformedViaGithubAppEvent.Star => "star", + WebhooksIssuePerformedViaGithubAppEvent.Status => "status", + WebhooksIssuePerformedViaGithubAppEvent.Team => "team", + WebhooksIssuePerformedViaGithubAppEvent.TeamAdd => "team_add", + WebhooksIssuePerformedViaGithubAppEvent.Watch => "watch", + WebhooksIssuePerformedViaGithubAppEvent.WorkflowDispatch => "workflow_dispatch", + WebhooksIssuePerformedViaGithubAppEvent.WorkflowRun => "workflow_run", + WebhooksIssuePerformedViaGithubAppEvent.Reminder => "reminder", + WebhooksIssuePerformedViaGithubAppEvent.PullRequestReviewThread => "pull_request_review_thread", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksIssuePerformedViaGithubAppEvent? ToEnum(string value) + { + return value switch + { + "branch_protection_rule" => WebhooksIssuePerformedViaGithubAppEvent.BranchProtectionRule, + "check_run" => WebhooksIssuePerformedViaGithubAppEvent.CheckRun, + "check_suite" => WebhooksIssuePerformedViaGithubAppEvent.CheckSuite, + "code_scanning_alert" => WebhooksIssuePerformedViaGithubAppEvent.CodeScanningAlert, + "commit_comment" => WebhooksIssuePerformedViaGithubAppEvent.CommitComment, + "content_reference" => WebhooksIssuePerformedViaGithubAppEvent.ContentReference, + "create" => WebhooksIssuePerformedViaGithubAppEvent.Create, + "delete" => WebhooksIssuePerformedViaGithubAppEvent.Delete, + "deployment" => WebhooksIssuePerformedViaGithubAppEvent.Deployment, + "deployment_review" => WebhooksIssuePerformedViaGithubAppEvent.DeploymentReview, + "deployment_status" => WebhooksIssuePerformedViaGithubAppEvent.DeploymentStatus, + "deploy_key" => WebhooksIssuePerformedViaGithubAppEvent.DeployKey, + "discussion" => WebhooksIssuePerformedViaGithubAppEvent.Discussion, + "discussion_comment" => WebhooksIssuePerformedViaGithubAppEvent.DiscussionComment, + "fork" => WebhooksIssuePerformedViaGithubAppEvent.Fork, + "gollum" => WebhooksIssuePerformedViaGithubAppEvent.Gollum, + "issues" => WebhooksIssuePerformedViaGithubAppEvent.Issues, + "issue_comment" => WebhooksIssuePerformedViaGithubAppEvent.IssueComment, + "label" => WebhooksIssuePerformedViaGithubAppEvent.Label, + "member" => WebhooksIssuePerformedViaGithubAppEvent.Member, + "membership" => WebhooksIssuePerformedViaGithubAppEvent.Membership, + "milestone" => WebhooksIssuePerformedViaGithubAppEvent.Milestone, + "organization" => WebhooksIssuePerformedViaGithubAppEvent.Organization, + "org_block" => WebhooksIssuePerformedViaGithubAppEvent.OrgBlock, + "page_build" => WebhooksIssuePerformedViaGithubAppEvent.PageBuild, + "project" => WebhooksIssuePerformedViaGithubAppEvent.Project, + "project_card" => WebhooksIssuePerformedViaGithubAppEvent.ProjectCard, + "project_column" => WebhooksIssuePerformedViaGithubAppEvent.ProjectColumn, + "public" => WebhooksIssuePerformedViaGithubAppEvent.Public, + "pull_request" => WebhooksIssuePerformedViaGithubAppEvent.PullRequest, + "pull_request_review" => WebhooksIssuePerformedViaGithubAppEvent.PullRequestReview, + "pull_request_review_comment" => WebhooksIssuePerformedViaGithubAppEvent.PullRequestReviewComment, + "push" => WebhooksIssuePerformedViaGithubAppEvent.Push, + "registry_package" => WebhooksIssuePerformedViaGithubAppEvent.RegistryPackage, + "release" => WebhooksIssuePerformedViaGithubAppEvent.Release, + "repository" => WebhooksIssuePerformedViaGithubAppEvent.Repository, + "repository_dispatch" => WebhooksIssuePerformedViaGithubAppEvent.RepositoryDispatch, + "secret_scanning_alert" => WebhooksIssuePerformedViaGithubAppEvent.SecretScanningAlert, + "star" => WebhooksIssuePerformedViaGithubAppEvent.Star, + "status" => WebhooksIssuePerformedViaGithubAppEvent.Status, + "team" => WebhooksIssuePerformedViaGithubAppEvent.Team, + "team_add" => WebhooksIssuePerformedViaGithubAppEvent.TeamAdd, + "watch" => WebhooksIssuePerformedViaGithubAppEvent.Watch, + "workflow_dispatch" => WebhooksIssuePerformedViaGithubAppEvent.WorkflowDispatch, + "workflow_run" => WebhooksIssuePerformedViaGithubAppEvent.WorkflowRun, + "reminder" => WebhooksIssuePerformedViaGithubAppEvent.Reminder, + "pull_request_review_thread" => WebhooksIssuePerformedViaGithubAppEvent.PullRequestReviewThread, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index cb6cf5ae..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,321 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhooksIssuePerformedViaGithubAppEvents - { - /// - /// - /// - BranchProtectionRule, - /// - /// - /// - CheckRun, - /// - /// - /// - CheckSuite, - /// - /// - /// - CodeScanningAlert, - /// - /// - /// - CommitComment, - /// - /// - /// - ContentReference, - /// - /// - /// - Create, - /// - /// - /// - Delete, - /// - /// - /// - Deployment, - /// - /// - /// - DeploymentReview, - /// - /// - /// - DeploymentStatus, - /// - /// - /// - DeployKey, - /// - /// - /// - Discussion, - /// - /// - /// - DiscussionComment, - /// - /// - /// - Fork, - /// - /// - /// - Gollum, - /// - /// - /// - Issues, - /// - /// - /// - IssueComment, - /// - /// - /// - Label, - /// - /// - /// - Member, - /// - /// - /// - Membership, - /// - /// - /// - Milestone, - /// - /// - /// - Organization, - /// - /// - /// - OrgBlock, - /// - /// - /// - PageBuild, - /// - /// - /// - Project, - /// - /// - /// - ProjectCard, - /// - /// - /// - ProjectColumn, - /// - /// - /// - Public, - /// - /// - /// - PullRequest, - /// - /// - /// - PullRequestReview, - /// - /// - /// - PullRequestReviewComment, - /// - /// - /// - Push, - /// - /// - /// - RegistryPackage, - /// - /// - /// - Release, - /// - /// - /// - Repository, - /// - /// - /// - RepositoryDispatch, - /// - /// - /// - SecretScanningAlert, - /// - /// - /// - Star, - /// - /// - /// - Status, - /// - /// - /// - Team, - /// - /// - /// - TeamAdd, - /// - /// - /// - Watch, - /// - /// - /// - WorkflowDispatch, - /// - /// - /// - WorkflowRun, - /// - /// - /// - Reminder, - /// - /// - /// - PullRequestReviewThread, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhooksIssuePerformedViaGithubAppEventsExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhooksIssuePerformedViaGithubAppEvents value) - { - return value switch - { - WebhooksIssuePerformedViaGithubAppEvents.BranchProtectionRule => "branch_protection_rule", - WebhooksIssuePerformedViaGithubAppEvents.CheckRun => "check_run", - WebhooksIssuePerformedViaGithubAppEvents.CheckSuite => "check_suite", - WebhooksIssuePerformedViaGithubAppEvents.CodeScanningAlert => "code_scanning_alert", - WebhooksIssuePerformedViaGithubAppEvents.CommitComment => "commit_comment", - WebhooksIssuePerformedViaGithubAppEvents.ContentReference => "content_reference", - WebhooksIssuePerformedViaGithubAppEvents.Create => "create", - WebhooksIssuePerformedViaGithubAppEvents.Delete => "delete", - WebhooksIssuePerformedViaGithubAppEvents.Deployment => "deployment", - WebhooksIssuePerformedViaGithubAppEvents.DeploymentReview => "deployment_review", - WebhooksIssuePerformedViaGithubAppEvents.DeploymentStatus => "deployment_status", - WebhooksIssuePerformedViaGithubAppEvents.DeployKey => "deploy_key", - WebhooksIssuePerformedViaGithubAppEvents.Discussion => "discussion", - WebhooksIssuePerformedViaGithubAppEvents.DiscussionComment => "discussion_comment", - WebhooksIssuePerformedViaGithubAppEvents.Fork => "fork", - WebhooksIssuePerformedViaGithubAppEvents.Gollum => "gollum", - WebhooksIssuePerformedViaGithubAppEvents.Issues => "issues", - WebhooksIssuePerformedViaGithubAppEvents.IssueComment => "issue_comment", - WebhooksIssuePerformedViaGithubAppEvents.Label => "label", - WebhooksIssuePerformedViaGithubAppEvents.Member => "member", - WebhooksIssuePerformedViaGithubAppEvents.Membership => "membership", - WebhooksIssuePerformedViaGithubAppEvents.Milestone => "milestone", - WebhooksIssuePerformedViaGithubAppEvents.Organization => "organization", - WebhooksIssuePerformedViaGithubAppEvents.OrgBlock => "org_block", - WebhooksIssuePerformedViaGithubAppEvents.PageBuild => "page_build", - WebhooksIssuePerformedViaGithubAppEvents.Project => "project", - WebhooksIssuePerformedViaGithubAppEvents.ProjectCard => "project_card", - WebhooksIssuePerformedViaGithubAppEvents.ProjectColumn => "project_column", - WebhooksIssuePerformedViaGithubAppEvents.Public => "public", - WebhooksIssuePerformedViaGithubAppEvents.PullRequest => "pull_request", - WebhooksIssuePerformedViaGithubAppEvents.PullRequestReview => "pull_request_review", - WebhooksIssuePerformedViaGithubAppEvents.PullRequestReviewComment => "pull_request_review_comment", - WebhooksIssuePerformedViaGithubAppEvents.Push => "push", - WebhooksIssuePerformedViaGithubAppEvents.RegistryPackage => "registry_package", - WebhooksIssuePerformedViaGithubAppEvents.Release => "release", - WebhooksIssuePerformedViaGithubAppEvents.Repository => "repository", - WebhooksIssuePerformedViaGithubAppEvents.RepositoryDispatch => "repository_dispatch", - WebhooksIssuePerformedViaGithubAppEvents.SecretScanningAlert => "secret_scanning_alert", - WebhooksIssuePerformedViaGithubAppEvents.Star => "star", - WebhooksIssuePerformedViaGithubAppEvents.Status => "status", - WebhooksIssuePerformedViaGithubAppEvents.Team => "team", - WebhooksIssuePerformedViaGithubAppEvents.TeamAdd => "team_add", - WebhooksIssuePerformedViaGithubAppEvents.Watch => "watch", - WebhooksIssuePerformedViaGithubAppEvents.WorkflowDispatch => "workflow_dispatch", - WebhooksIssuePerformedViaGithubAppEvents.WorkflowRun => "workflow_run", - WebhooksIssuePerformedViaGithubAppEvents.Reminder => "reminder", - WebhooksIssuePerformedViaGithubAppEvents.PullRequestReviewThread => "pull_request_review_thread", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhooksIssuePerformedViaGithubAppEvents? ToEnum(string value) - { - return value switch - { - "branch_protection_rule" => WebhooksIssuePerformedViaGithubAppEvents.BranchProtectionRule, - "check_run" => WebhooksIssuePerformedViaGithubAppEvents.CheckRun, - "check_suite" => WebhooksIssuePerformedViaGithubAppEvents.CheckSuite, - "code_scanning_alert" => WebhooksIssuePerformedViaGithubAppEvents.CodeScanningAlert, - "commit_comment" => WebhooksIssuePerformedViaGithubAppEvents.CommitComment, - "content_reference" => WebhooksIssuePerformedViaGithubAppEvents.ContentReference, - "create" => WebhooksIssuePerformedViaGithubAppEvents.Create, - "delete" => WebhooksIssuePerformedViaGithubAppEvents.Delete, - "deployment" => WebhooksIssuePerformedViaGithubAppEvents.Deployment, - "deployment_review" => WebhooksIssuePerformedViaGithubAppEvents.DeploymentReview, - "deployment_status" => WebhooksIssuePerformedViaGithubAppEvents.DeploymentStatus, - "deploy_key" => WebhooksIssuePerformedViaGithubAppEvents.DeployKey, - "discussion" => WebhooksIssuePerformedViaGithubAppEvents.Discussion, - "discussion_comment" => WebhooksIssuePerformedViaGithubAppEvents.DiscussionComment, - "fork" => WebhooksIssuePerformedViaGithubAppEvents.Fork, - "gollum" => WebhooksIssuePerformedViaGithubAppEvents.Gollum, - "issues" => WebhooksIssuePerformedViaGithubAppEvents.Issues, - "issue_comment" => WebhooksIssuePerformedViaGithubAppEvents.IssueComment, - "label" => WebhooksIssuePerformedViaGithubAppEvents.Label, - "member" => WebhooksIssuePerformedViaGithubAppEvents.Member, - "membership" => WebhooksIssuePerformedViaGithubAppEvents.Membership, - "milestone" => WebhooksIssuePerformedViaGithubAppEvents.Milestone, - "organization" => WebhooksIssuePerformedViaGithubAppEvents.Organization, - "org_block" => WebhooksIssuePerformedViaGithubAppEvents.OrgBlock, - "page_build" => WebhooksIssuePerformedViaGithubAppEvents.PageBuild, - "project" => WebhooksIssuePerformedViaGithubAppEvents.Project, - "project_card" => WebhooksIssuePerformedViaGithubAppEvents.ProjectCard, - "project_column" => WebhooksIssuePerformedViaGithubAppEvents.ProjectColumn, - "public" => WebhooksIssuePerformedViaGithubAppEvents.Public, - "pull_request" => WebhooksIssuePerformedViaGithubAppEvents.PullRequest, - "pull_request_review" => WebhooksIssuePerformedViaGithubAppEvents.PullRequestReview, - "pull_request_review_comment" => WebhooksIssuePerformedViaGithubAppEvents.PullRequestReviewComment, - "push" => WebhooksIssuePerformedViaGithubAppEvents.Push, - "registry_package" => WebhooksIssuePerformedViaGithubAppEvents.RegistryPackage, - "release" => WebhooksIssuePerformedViaGithubAppEvents.Release, - "repository" => WebhooksIssuePerformedViaGithubAppEvents.Repository, - "repository_dispatch" => WebhooksIssuePerformedViaGithubAppEvents.RepositoryDispatch, - "secret_scanning_alert" => WebhooksIssuePerformedViaGithubAppEvents.SecretScanningAlert, - "star" => WebhooksIssuePerformedViaGithubAppEvents.Star, - "status" => WebhooksIssuePerformedViaGithubAppEvents.Status, - "team" => WebhooksIssuePerformedViaGithubAppEvents.Team, - "team_add" => WebhooksIssuePerformedViaGithubAppEvents.TeamAdd, - "watch" => WebhooksIssuePerformedViaGithubAppEvents.Watch, - "workflow_dispatch" => WebhooksIssuePerformedViaGithubAppEvents.WorkflowDispatch, - "workflow_run" => WebhooksIssuePerformedViaGithubAppEvents.WorkflowRun, - "reminder" => WebhooksIssuePerformedViaGithubAppEvents.Reminder, - "pull_request_review_thread" => WebhooksIssuePerformedViaGithubAppEvents.PullRequestReviewThread, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksMarketplacePurchasePlan.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksMarketplacePurchasePlan.g.cs index efb84422..5d8dcbb4 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksMarketplacePurchasePlan.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksMarketplacePurchasePlan.g.cs @@ -13,7 +13,7 @@ public sealed partial class WebhooksMarketplacePurchasePlan /// [global::System.Text.Json.Serialization.JsonPropertyName("bullets")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Bullets { get; set; } + public required global::System.Collections.Generic.IList Bullets { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPreviousMarketplacePurchase.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPreviousMarketplacePurchase.g.cs index 2491a3e1..8a6446db 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPreviousMarketplacePurchase.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPreviousMarketplacePurchase.g.cs @@ -27,7 +27,7 @@ public sealed partial class WebhooksPreviousMarketplacePurchase /// [global::System.Text.Json.Serialization.JsonPropertyName("free_trial_ends_on")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? FreeTrialEndsOn { get; set; } + public required global::GitHub.WebhooksPreviousMarketplacePurchaseFreeTrialEndsOn? FreeTrialEndsOn { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPreviousMarketplacePurchaseFreeTrialEndsOn.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPreviousMarketplacePurchaseFreeTrialEndsOn.g.cs new file mode 100644 index 00000000..75946138 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPreviousMarketplacePurchaseFreeTrialEndsOn.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksPreviousMarketplacePurchaseFreeTrialEndsOn + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5.g.cs index 63eee86f..66eeee2c 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5.g.cs @@ -43,7 +43,7 @@ public sealed partial class WebhooksPullRequest5 /// [global::System.Text.Json.Serialization.JsonPropertyName("assignees")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assignees { get; set; } + public required global::System.Collections.Generic.IList Assignees { get; set; } /// /// How the author is associated with the repository. @@ -173,7 +173,7 @@ public sealed partial class WebhooksPullRequest5 /// [global::System.Text.Json.Serialization.JsonPropertyName("labels")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Labels { get; set; } + public required global::System.Collections.Generic.IList Labels { get; set; } /// /// @@ -265,14 +265,14 @@ public sealed partial class WebhooksPullRequest5 /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_reviewers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } + public required global::System.Collections.Generic.IList> RequestedReviewers { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_teams")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList RequestedTeams { get; set; } + public required global::System.Collections.Generic.IList RequestedTeams { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Assignee2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Assignee2.g.cs new file mode 100644 index 00000000..e2500155 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Assignee2.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksPullRequest5Assignee2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AssigneeType2JsonConverter))] + public global::GitHub.WebhooksPullRequest5AssigneeType2? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5AssigneeType2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5AssigneeType2.g.cs new file mode 100644 index 00000000..1799eebb --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5AssigneeType2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksPullRequest5AssigneeType2 + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + /// + /// + /// + Mannequin, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksPullRequest5AssigneeType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksPullRequest5AssigneeType2 value) + { + return value switch + { + WebhooksPullRequest5AssigneeType2.Bot => "Bot", + WebhooksPullRequest5AssigneeType2.User => "User", + WebhooksPullRequest5AssigneeType2.Organization => "Organization", + WebhooksPullRequest5AssigneeType2.Mannequin => "Mannequin", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksPullRequest5AssigneeType2? ToEnum(string value) + { + return value switch + { + "Bot" => WebhooksPullRequest5AssigneeType2.Bot, + "User" => WebhooksPullRequest5AssigneeType2.User, + "Organization" => WebhooksPullRequest5AssigneeType2.Organization, + "Mannequin" => WebhooksPullRequest5AssigneeType2.Mannequin, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Assignees.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Assignees.g.cs deleted file mode 100644 index 2db46445..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Assignees.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksPullRequest5Assignees - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AssigneesTypeJsonConverter))] - public global::GitHub.WebhooksPullRequest5AssigneesType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5AssigneesType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5AssigneesType.g.cs deleted file mode 100644 index a119a032..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5AssigneesType.g.cs +++ /dev/null @@ -1,63 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhooksPullRequest5AssigneesType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - /// - /// - /// - Mannequin, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhooksPullRequest5AssigneesTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhooksPullRequest5AssigneesType value) - { - return value switch - { - WebhooksPullRequest5AssigneesType.Bot => "Bot", - WebhooksPullRequest5AssigneesType.User => "User", - WebhooksPullRequest5AssigneesType.Organization => "Organization", - WebhooksPullRequest5AssigneesType.Mannequin => "Mannequin", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhooksPullRequest5AssigneesType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhooksPullRequest5AssigneesType.Bot, - "User" => WebhooksPullRequest5AssigneesType.User, - "Organization" => WebhooksPullRequest5AssigneesType.Organization, - "Mannequin" => WebhooksPullRequest5AssigneesType.Mannequin, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Label.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Label.g.cs new file mode 100644 index 00000000..eaba6cb8 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Label.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksPullRequest5Label + { + /// + /// 6-character hex code, without the leading #, identifying the color + /// + [global::System.Text.Json.Serialization.JsonPropertyName("color")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Color { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Default { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the label. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// URL for the label + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Labels.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Labels.g.cs deleted file mode 100644 index d67a8cc4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5Labels.g.cs +++ /dev/null @@ -1,66 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksPullRequest5Labels - { - /// - /// 6-character hex code, without the leading #, identifying the color - /// - [global::System.Text.Json.Serialization.JsonPropertyName("color")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Color { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("default")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Default { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the label. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// URL for the label - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant1.g.cs new file mode 100644 index 00000000..b2ab4a6d --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant1.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksPullRequest5RequestedReviewerVariant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedReviewerVariant1TypeJsonConverter))] + public global::GitHub.WebhooksPullRequest5RequestedReviewerVariant1Type? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..bdf7bdd0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant1Type.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksPullRequest5RequestedReviewerVariant1Type + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksPullRequest5RequestedReviewerVariant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksPullRequest5RequestedReviewerVariant1Type value) + { + return value switch + { + WebhooksPullRequest5RequestedReviewerVariant1Type.Bot => "Bot", + WebhooksPullRequest5RequestedReviewerVariant1Type.User => "User", + WebhooksPullRequest5RequestedReviewerVariant1Type.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksPullRequest5RequestedReviewerVariant1Type? ToEnum(string value) + { + return value switch + { + "Bot" => WebhooksPullRequest5RequestedReviewerVariant1Type.Bot, + "User" => WebhooksPullRequest5RequestedReviewerVariant1Type.User, + "Organization" => WebhooksPullRequest5RequestedReviewerVariant1Type.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2.g.cs new file mode 100644 index 00000000..3825e7c7 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhooksPullRequest5RequestedReviewerVariant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2Parent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2PrivacyJsonConverter))] + public global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2Privacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2Parent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2Parent.g.cs new file mode 100644 index 00000000..516ecdb2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2Parent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksPullRequest5RequestedReviewerVariant2Parent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..5f40a272 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy value) + { + return value switch + { + WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.Open => "open", + WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.Closed => "closed", + WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.Open, + "closed" => WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.Closed, + "secret" => WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..f3e240f5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksPullRequest5RequestedReviewerVariant2Privacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksPullRequest5RequestedReviewerVariant2PrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksPullRequest5RequestedReviewerVariant2Privacy value) + { + return value switch + { + WebhooksPullRequest5RequestedReviewerVariant2Privacy.Open => "open", + WebhooksPullRequest5RequestedReviewerVariant2Privacy.Closed => "closed", + WebhooksPullRequest5RequestedReviewerVariant2Privacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksPullRequest5RequestedReviewerVariant2Privacy? ToEnum(string value) + { + return value switch + { + "open" => WebhooksPullRequest5RequestedReviewerVariant2Privacy.Open, + "closed" => WebhooksPullRequest5RequestedReviewerVariant2Privacy.Closed, + "secret" => WebhooksPullRequest5RequestedReviewerVariant2Privacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeam.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeam.g.cs new file mode 100644 index 00000000..88ec2211 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeam.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Groups of organization members that gives permissions on specified repositories. + /// + public sealed partial class WebhooksPullRequest5RequestedTeam + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + public string? MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent")] + public global::GitHub.WebhooksPullRequest5RequestedTeamParent? Parent { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + public string? Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedTeamPrivacyJsonConverter))] + public global::GitHub.WebhooksPullRequest5RequestedTeamPrivacy? Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + public string? RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamParent.g.cs new file mode 100644 index 00000000..e628fb9c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamParent.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksPullRequest5RequestedTeamParent + { + /// + /// Description of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string HtmlUrl { get; set; } + + /// + /// Unique identifier of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string MembersUrl { get; set; } + + /// + /// Name of the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Permission that the team will have for its repositories + /// + [global::System.Text.Json.Serialization.JsonPropertyName("permission")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Permission { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedTeamParentPrivacyJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhooksPullRequest5RequestedTeamParentPrivacy Privacy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RepositoriesUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// URL for the team + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..de8579c0 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamParentPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksPullRequest5RequestedTeamParentPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksPullRequest5RequestedTeamParentPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksPullRequest5RequestedTeamParentPrivacy value) + { + return value switch + { + WebhooksPullRequest5RequestedTeamParentPrivacy.Open => "open", + WebhooksPullRequest5RequestedTeamParentPrivacy.Closed => "closed", + WebhooksPullRequest5RequestedTeamParentPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksPullRequest5RequestedTeamParentPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhooksPullRequest5RequestedTeamParentPrivacy.Open, + "closed" => WebhooksPullRequest5RequestedTeamParentPrivacy.Closed, + "secret" => WebhooksPullRequest5RequestedTeamParentPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..8a9165ae --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamPrivacy.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksPullRequest5RequestedTeamPrivacy + { + /// + /// + /// + Open, + /// + /// + /// + Closed, + /// + /// + /// + Secret, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksPullRequest5RequestedTeamPrivacyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksPullRequest5RequestedTeamPrivacy value) + { + return value switch + { + WebhooksPullRequest5RequestedTeamPrivacy.Open => "open", + WebhooksPullRequest5RequestedTeamPrivacy.Closed => "closed", + WebhooksPullRequest5RequestedTeamPrivacy.Secret => "secret", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksPullRequest5RequestedTeamPrivacy? ToEnum(string value) + { + return value switch + { + "open" => WebhooksPullRequest5RequestedTeamPrivacy.Open, + "closed" => WebhooksPullRequest5RequestedTeamPrivacy.Closed, + "secret" => WebhooksPullRequest5RequestedTeamPrivacy.Secret, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeams.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeams.g.cs deleted file mode 100644 index 17fdfd20..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeams.g.cs +++ /dev/null @@ -1,98 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Groups of organization members that gives permissions on specified repositories. - /// - public sealed partial class WebhooksPullRequest5RequestedTeams - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - public string? MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("parent")] - public global::GitHub.WebhooksPullRequest5RequestedTeamsParent? Parent { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - public string? Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedTeamsPrivacyJsonConverter))] - public global::GitHub.WebhooksPullRequest5RequestedTeamsPrivacy? Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - public string? RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - public string? Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamsParent.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamsParent.g.cs deleted file mode 100644 index 804ebdbf..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamsParent.g.cs +++ /dev/null @@ -1,95 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksPullRequest5RequestedTeamsParent - { - /// - /// Description of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Description { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string HtmlUrl { get; set; } - - /// - /// Unique identifier of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("members_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string MembersUrl { get; set; } - - /// - /// Name of the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Permission that the team will have for its repositories - /// - [global::System.Text.Json.Serialization.JsonPropertyName("permission")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Permission { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("privacy")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedTeamsParentPrivacyJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhooksPullRequest5RequestedTeamsParentPrivacy Privacy { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repositories_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string RepositoriesUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("slug")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Slug { get; set; } - - /// - /// URL for the team - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index a7b98aa4..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhooksPullRequest5RequestedTeamsParentPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhooksPullRequest5RequestedTeamsParentPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhooksPullRequest5RequestedTeamsParentPrivacy value) - { - return value switch - { - WebhooksPullRequest5RequestedTeamsParentPrivacy.Open => "open", - WebhooksPullRequest5RequestedTeamsParentPrivacy.Closed => "closed", - WebhooksPullRequest5RequestedTeamsParentPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhooksPullRequest5RequestedTeamsParentPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhooksPullRequest5RequestedTeamsParentPrivacy.Open, - "closed" => WebhooksPullRequest5RequestedTeamsParentPrivacy.Closed, - "secret" => WebhooksPullRequest5RequestedTeamsParentPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamsPrivacy.g.cs deleted file mode 100644 index 6d8e1fe0..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksPullRequest5RequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhooksPullRequest5RequestedTeamsPrivacy - { - /// - /// - /// - Open, - /// - /// - /// - Closed, - /// - /// - /// - Secret, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhooksPullRequest5RequestedTeamsPrivacyExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhooksPullRequest5RequestedTeamsPrivacy value) - { - return value switch - { - WebhooksPullRequest5RequestedTeamsPrivacy.Open => "open", - WebhooksPullRequest5RequestedTeamsPrivacy.Closed => "closed", - WebhooksPullRequest5RequestedTeamsPrivacy.Secret => "secret", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhooksPullRequest5RequestedTeamsPrivacy? ToEnum(string value) - { - return value switch - { - "open" => WebhooksPullRequest5RequestedTeamsPrivacy.Open, - "closed" => WebhooksPullRequest5RequestedTeamsPrivacy.Closed, - "secret" => WebhooksPullRequest5RequestedTeamsPrivacy.Secret, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease.g.cs index f317b034..e7f693ce 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease.g.cs @@ -13,7 +13,7 @@ public sealed partial class WebhooksRelease /// [global::System.Text.Json.Serialization.JsonPropertyName("assets")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assets { get; set; } + public required global::System.Collections.Generic.IList Assets { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1.g.cs index 6d2a2029..cdbaf75b 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1.g.cs @@ -13,7 +13,7 @@ public sealed partial class WebhooksRelease1 /// [global::System.Text.Json.Serialization.JsonPropertyName("assets")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Assets { get; set; } + public required global::System.Collections.Generic.IList Assets { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1Asset.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1Asset.g.cs new file mode 100644 index 00000000..ef64633e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1Asset.g.cs @@ -0,0 +1,108 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Data related to a release. + /// + public sealed partial class WebhooksRelease1Asset + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("browser_download_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string BrowserDownloadUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ContentType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("download_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int DownloadCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("label")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Label { get; set; } + + /// + /// The file name of the asset. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Size { get; set; } + + /// + /// State of the release asset. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AssetStateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhooksRelease1AssetState State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uploader")] + public global::GitHub.WebhooksRelease1AssetUploader? Uploader { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetState.g.cs new file mode 100644 index 00000000..20ab747c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetState.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// State of the release asset. + /// + public enum WebhooksRelease1AssetState + { + /// + /// + /// + Uploaded, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksRelease1AssetStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksRelease1AssetState value) + { + return value switch + { + WebhooksRelease1AssetState.Uploaded => "uploaded", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksRelease1AssetState? ToEnum(string value) + { + return value switch + { + "uploaded" => WebhooksRelease1AssetState.Uploaded, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetUploader.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetUploader.g.cs new file mode 100644 index 00000000..007c699b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetUploader.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksRelease1AssetUploader + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AssetUploaderTypeJsonConverter))] + public global::GitHub.WebhooksRelease1AssetUploaderType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetUploaderType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetUploaderType.g.cs new file mode 100644 index 00000000..8b4dc2a5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetUploaderType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksRelease1AssetUploaderType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksRelease1AssetUploaderTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksRelease1AssetUploaderType value) + { + return value switch + { + WebhooksRelease1AssetUploaderType.Bot => "Bot", + WebhooksRelease1AssetUploaderType.User => "User", + WebhooksRelease1AssetUploaderType.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksRelease1AssetUploaderType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhooksRelease1AssetUploaderType.Bot, + "User" => WebhooksRelease1AssetUploaderType.User, + "Organization" => WebhooksRelease1AssetUploaderType.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1Assets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1Assets.g.cs deleted file mode 100644 index 7c7745f5..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1Assets.g.cs +++ /dev/null @@ -1,108 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Data related to a release. - /// - public sealed partial class WebhooksRelease1Assets - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("browser_download_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string BrowserDownloadUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ContentType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("download_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int DownloadCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("label")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Label { get; set; } - - /// - /// The file name of the asset. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("size")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Size { get; set; } - - /// - /// State of the release asset. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AssetsStateJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhooksRelease1AssetsState State { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("uploader")] - public global::GitHub.WebhooksRelease1AssetsUploader? Uploader { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetsState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetsState.g.cs deleted file mode 100644 index b786eeea..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetsState.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// State of the release asset. - /// - public enum WebhooksRelease1AssetsState - { - /// - /// - /// - Uploaded, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhooksRelease1AssetsStateExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhooksRelease1AssetsState value) - { - return value switch - { - WebhooksRelease1AssetsState.Uploaded => "uploaded", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhooksRelease1AssetsState? ToEnum(string value) - { - return value switch - { - "uploaded" => WebhooksRelease1AssetsState.Uploaded, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetsUploader.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetsUploader.g.cs deleted file mode 100644 index cc26c09a..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetsUploader.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksRelease1AssetsUploader - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AssetsUploaderTypeJsonConverter))] - public global::GitHub.WebhooksRelease1AssetsUploaderType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetsUploaderType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetsUploaderType.g.cs deleted file mode 100644 index 163f2f41..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRelease1AssetsUploaderType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhooksRelease1AssetsUploaderType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhooksRelease1AssetsUploaderTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhooksRelease1AssetsUploaderType value) - { - return value switch - { - WebhooksRelease1AssetsUploaderType.Bot => "Bot", - WebhooksRelease1AssetsUploaderType.User => "User", - WebhooksRelease1AssetsUploaderType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhooksRelease1AssetsUploaderType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhooksRelease1AssetsUploaderType.Bot, - "User" => WebhooksRelease1AssetsUploaderType.User, - "Organization" => WebhooksRelease1AssetsUploaderType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAsset.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAsset.g.cs new file mode 100644 index 00000000..7d29cf33 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAsset.g.cs @@ -0,0 +1,108 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// Data related to a release. + /// + public sealed partial class WebhooksReleaseAsset + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("browser_download_url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string BrowserDownloadUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ContentType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("download_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int DownloadCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("label")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string? Label { get; set; } + + /// + /// The file name of the asset. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("size")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Size { get; set; } + + /// + /// State of the release asset. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAssetStateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhooksReleaseAssetState State { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uploader")] + public global::GitHub.WebhooksReleaseAssetUploader? Uploader { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetState.g.cs new file mode 100644 index 00000000..d463228a --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetState.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// State of the release asset. + /// + public enum WebhooksReleaseAssetState + { + /// + /// + /// + Uploaded, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksReleaseAssetStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksReleaseAssetState value) + { + return value switch + { + WebhooksReleaseAssetState.Uploaded => "uploaded", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksReleaseAssetState? ToEnum(string value) + { + return value switch + { + "uploaded" => WebhooksReleaseAssetState.Uploaded, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetUploader.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetUploader.g.cs new file mode 100644 index 00000000..57d4f36b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetUploader.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksReleaseAssetUploader + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAssetUploaderTypeJsonConverter))] + public global::GitHub.WebhooksReleaseAssetUploaderType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetUploaderType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetUploaderType.g.cs new file mode 100644 index 00000000..68161c85 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetUploaderType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksReleaseAssetUploaderType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksReleaseAssetUploaderTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksReleaseAssetUploaderType value) + { + return value switch + { + WebhooksReleaseAssetUploaderType.Bot => "Bot", + WebhooksReleaseAssetUploaderType.User => "User", + WebhooksReleaseAssetUploaderType.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksReleaseAssetUploaderType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhooksReleaseAssetUploaderType.Bot, + "User" => WebhooksReleaseAssetUploaderType.User, + "Organization" => WebhooksReleaseAssetUploaderType.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssets.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssets.g.cs deleted file mode 100644 index 1fe6b8ea..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssets.g.cs +++ /dev/null @@ -1,108 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// Data related to a release. - /// - public sealed partial class WebhooksReleaseAssets - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("browser_download_url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string BrowserDownloadUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content_type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string ContentType { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime CreatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("download_count")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int DownloadCount { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("label")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string? Label { get; set; } - - /// - /// The file name of the asset. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("size")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Size { get; set; } - - /// - /// State of the release asset. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("state")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAssetsStateJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhooksReleaseAssetsState State { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime UpdatedAt { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("uploader")] - public global::GitHub.WebhooksReleaseAssetsUploader? Uploader { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetsState.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetsState.g.cs deleted file mode 100644 index faa3a5d1..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetsState.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// State of the release asset. - /// - public enum WebhooksReleaseAssetsState - { - /// - /// - /// - Uploaded, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhooksReleaseAssetsStateExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhooksReleaseAssetsState value) - { - return value switch - { - WebhooksReleaseAssetsState.Uploaded => "uploaded", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhooksReleaseAssetsState? ToEnum(string value) - { - return value switch - { - "uploaded" => WebhooksReleaseAssetsState.Uploaded, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetsUploader.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetsUploader.g.cs deleted file mode 100644 index 179ec726..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetsUploader.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksReleaseAssetsUploader - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAssetsUploaderTypeJsonConverter))] - public global::GitHub.WebhooksReleaseAssetsUploaderType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetsUploaderType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetsUploaderType.g.cs deleted file mode 100644 index f376e9df..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReleaseAssetsUploaderType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhooksReleaseAssetsUploaderType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhooksReleaseAssetsUploaderTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhooksReleaseAssetsUploaderType value) - { - return value switch - { - WebhooksReleaseAssetsUploaderType.Bot => "Bot", - WebhooksReleaseAssetsUploaderType.User => "User", - WebhooksReleaseAssetsUploaderType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhooksReleaseAssetsUploaderType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhooksReleaseAssetsUploaderType.Bot, - "User" => WebhooksReleaseAssetsUploaderType.User, - "Organization" => WebhooksReleaseAssetsUploaderType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositorie.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositorie.g.cs new file mode 100644 index 00000000..4a481c39 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositorie.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksRepositorie + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string FullName { get; set; } + + /// + /// Unique identifier of the repository + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Whether the repository is private or public. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("private")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Private { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositories.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositories.g.cs deleted file mode 100644 index 90e3d5c9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositories.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksRepositories - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FullName { get; set; } - - /// - /// Unique identifier of the repository - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Whether the repository is private or public. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("private")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Private { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositoriesAdded.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositoriesAdded.g.cs deleted file mode 100644 index bb968a13..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositoriesAdded.g.cs +++ /dev/null @@ -1,52 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksRepositoriesAdded - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FullName { get; set; } - - /// - /// Unique identifier of the repository - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// The name of the repository. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string NodeId { get; set; } - - /// - /// Whether the repository is private or public. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("private")] - [global::System.Text.Json.Serialization.JsonRequired] - public required bool Private { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositoriesAddedItem.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositoriesAddedItem.g.cs new file mode 100644 index 00000000..d0fbf136 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksRepositoriesAddedItem.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksRepositoriesAddedItem + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string FullName { get; set; } + + /// + /// Unique identifier of the repository + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// The name of the repository. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string NodeId { get; set; } + + /// + /// Whether the repository is private or public. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("private")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Private { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewer.g.cs new file mode 100644 index 00000000..7796b82c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewer.g.cs @@ -0,0 +1,30 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksReviewer + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reviewer")] + public global::GitHub.WebhooksReviewerReviewer? Reviewer { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewerTypeJsonConverter))] + public global::GitHub.WebhooksReviewerType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewerReviewer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewerReviewer.g.cs new file mode 100644 index 00000000..6b2f26c5 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewerReviewer.g.cs @@ -0,0 +1,146 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksReviewerReviewer + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] + public string? AvatarUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + public bool Deleted { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] + public string? EventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] + public string? FollowersUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] + public string? FollowingUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] + public string? GistsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] + public string? GravatarId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] + public string? HtmlUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] + public string? NodeId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] + public string? OrganizationsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] + public string? ReceivedEventsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] + public string? ReposUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] + public bool SiteAdmin { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] + public string? StarredUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] + public string? SubscriptionsUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewerReviewerTypeJsonConverter))] + public global::GitHub.WebhooksReviewerReviewerType? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + public string? Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewerReviewerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewerReviewerType.g.cs new file mode 100644 index 00000000..d23f0031 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewerReviewerType.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksReviewerReviewerType + { + /// + /// + /// + Bot, + /// + /// + /// + User, + /// + /// + /// + Organization, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksReviewerReviewerTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksReviewerReviewerType value) + { + return value switch + { + WebhooksReviewerReviewerType.Bot => "Bot", + WebhooksReviewerReviewerType.User => "User", + WebhooksReviewerReviewerType.Organization => "Organization", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksReviewerReviewerType? ToEnum(string value) + { + return value switch + { + "Bot" => WebhooksReviewerReviewerType.Bot, + "User" => WebhooksReviewerReviewerType.User, + "Organization" => WebhooksReviewerReviewerType.Organization, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewerType.g.cs new file mode 100644 index 00000000..0c9aa24b --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewerType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public enum WebhooksReviewerType + { + /// + /// + /// + User, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class WebhooksReviewerTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this WebhooksReviewerType value) + { + return value switch + { + WebhooksReviewerType.User => "User", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static WebhooksReviewerType? ToEnum(string value) + { + return value switch + { + "User" => WebhooksReviewerType.User, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewers.g.cs deleted file mode 100644 index 8b017448..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewers.g.cs +++ /dev/null @@ -1,30 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksReviewers - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("reviewer")] - public global::GitHub.WebhooksReviewersReviewer? Reviewer { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewersTypeJsonConverter))] - public global::GitHub.WebhooksReviewersType? Type { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewersReviewer.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewersReviewer.g.cs deleted file mode 100644 index 50a613af..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewersReviewer.g.cs +++ /dev/null @@ -1,146 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksReviewersReviewer - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar_url")] - public string? AvatarUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] - public bool Deleted { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("events_url")] - public string? EventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("followers_url")] - public string? FollowersUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("following_url")] - public string? FollowingUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gists_url")] - public string? GistsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("gravatar_id")] - public string? GravatarId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("html_url")] - public string? HtmlUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int Id { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("login")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Login { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - public string? Name { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("node_id")] - public string? NodeId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("organizations_url")] - public string? OrganizationsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("received_events_url")] - public string? ReceivedEventsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("repos_url")] - public string? ReposUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("site_admin")] - public bool SiteAdmin { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("starred_url")] - public string? StarredUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("subscriptions_url")] - public string? SubscriptionsUrl { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewersReviewerTypeJsonConverter))] - public global::GitHub.WebhooksReviewersReviewerType? Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewersReviewerType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewersReviewerType.g.cs deleted file mode 100644 index 7901b5ab..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewersReviewerType.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhooksReviewersReviewerType - { - /// - /// - /// - Bot, - /// - /// - /// - User, - /// - /// - /// - Organization, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhooksReviewersReviewerTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhooksReviewersReviewerType value) - { - return value switch - { - WebhooksReviewersReviewerType.Bot => "Bot", - WebhooksReviewersReviewerType.User => "User", - WebhooksReviewersReviewerType.Organization => "Organization", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhooksReviewersReviewerType? ToEnum(string value) - { - return value switch - { - "Bot" => WebhooksReviewersReviewerType.Bot, - "User" => WebhooksReviewersReviewerType.User, - "Organization" => WebhooksReviewersReviewerType.Organization, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewersType.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewersType.g.cs deleted file mode 100644 index 28b22313..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksReviewersType.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public enum WebhooksReviewersType - { - /// - /// - /// - User, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class WebhooksReviewersTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this WebhooksReviewersType value) - { - return value switch - { - WebhooksReviewersType.User => "User", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static WebhooksReviewersType? ToEnum(string value) - { - return value switch - { - "User" => WebhooksReviewersType.User, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisory.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisory.g.cs index a70735fb..797d10a1 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisory.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisory.g.cs @@ -20,7 +20,7 @@ public sealed partial class WebhooksSecurityAdvisory /// [global::System.Text.Json.Serialization.JsonPropertyName("cwes")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Cwes { get; set; } + public required global::System.Collections.Generic.IList Cwes { get; set; } /// /// @@ -41,7 +41,7 @@ public sealed partial class WebhooksSecurityAdvisory /// [global::System.Text.Json.Serialization.JsonPropertyName("identifiers")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Identifiers { get; set; } + public required global::System.Collections.Generic.IList Identifiers { get; set; } /// /// @@ -55,7 +55,7 @@ public sealed partial class WebhooksSecurityAdvisory /// [global::System.Text.Json.Serialization.JsonPropertyName("references")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList References { get; set; } + public required global::System.Collections.Generic.IList References { get; set; } /// /// @@ -83,7 +83,7 @@ public sealed partial class WebhooksSecurityAdvisory /// [global::System.Text.Json.Serialization.JsonPropertyName("vulnerabilities")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Vulnerabilities { get; set; } + public required global::System.Collections.Generic.IList Vulnerabilities { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryCwe.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryCwe.g.cs new file mode 100644 index 00000000..f338b2ab --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryCwe.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksSecurityAdvisoryCwe + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cwe_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CweId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryCwes.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryCwes.g.cs deleted file mode 100644 index d04d1181..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryCwes.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksSecurityAdvisoryCwes - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("cwe_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string CweId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryIdentifier.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryIdentifier.g.cs new file mode 100644 index 00000000..776faed2 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryIdentifier.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksSecurityAdvisoryIdentifier + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryIdentifiers.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryIdentifiers.g.cs deleted file mode 100644 index 911856c9..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryIdentifiers.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksSecurityAdvisoryIdentifiers - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Type { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Value { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryReference.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryReference.g.cs new file mode 100644 index 00000000..72348c09 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryReference.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksSecurityAdvisoryReference + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryReferences.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryReferences.g.cs deleted file mode 100644 index 2c014725..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryReferences.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksSecurityAdvisoryReferences - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("url")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Url { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitie.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitie.g.cs new file mode 100644 index 00000000..29d0445e --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitie.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksSecurityAdvisoryVulnerabilitie + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("first_patched_version")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhooksSecurityAdvisoryVulnerabilitieFirstPatchedVersion? FirstPatchedVersion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("package")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::GitHub.WebhooksSecurityAdvisoryVulnerabilitiePackage Package { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("severity")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Severity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_version_range")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string VulnerableVersionRange { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitieFirstPatchedVersion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitieFirstPatchedVersion.g.cs new file mode 100644 index 00000000..426bc46c --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitieFirstPatchedVersion.g.cs @@ -0,0 +1,24 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksSecurityAdvisoryVulnerabilitieFirstPatchedVersion + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("identifier")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Identifier { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitiePackage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitiePackage.g.cs new file mode 100644 index 00000000..6275d917 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitiePackage.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksSecurityAdvisoryVulnerabilitiePackage + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ecosystem")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Ecosystem { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilities.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilities.g.cs deleted file mode 100644 index b76a0920..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilities.g.cs +++ /dev/null @@ -1,45 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksSecurityAdvisoryVulnerabilities - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("first_patched_version")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhooksSecurityAdvisoryVulnerabilitiesFirstPatchedVersion? FirstPatchedVersion { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("package")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::GitHub.WebhooksSecurityAdvisoryVulnerabilitiesPackage Package { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("severity")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Severity { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("vulnerable_version_range")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string VulnerableVersionRange { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitiesFirstPatchedVersion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitiesFirstPatchedVersion.g.cs deleted file mode 100644 index 8a9aacfd..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitiesFirstPatchedVersion.g.cs +++ /dev/null @@ -1,24 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksSecurityAdvisoryVulnerabilitiesFirstPatchedVersion - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("identifier")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Identifier { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitiesPackage.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitiesPackage.g.cs deleted file mode 100644 index 724f8598..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksSecurityAdvisoryVulnerabilitiesPackage.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WebhooksSecurityAdvisoryVulnerabilitiesPackage - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ecosystem")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Ecosystem { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("name")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Name { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksWorkflowJobRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksWorkflowJobRun.g.cs index e420469c..af120b54 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WebhooksWorkflowJobRun.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksWorkflowJobRun.g.cs @@ -13,7 +13,7 @@ public sealed partial class WebhooksWorkflowJobRun /// [global::System.Text.Json.Serialization.JsonPropertyName("conclusion")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Conclusion { get; set; } + public required global::GitHub.WebhooksWorkflowJobRunConclusion? Conclusion { get; set; } /// /// @@ -48,7 +48,7 @@ public sealed partial class WebhooksWorkflowJobRun /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Name { get; set; } + public required global::GitHub.WebhooksWorkflowJobRunName? Name { get; set; } /// /// diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksWorkflowJobRunConclusion.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksWorkflowJobRunConclusion.g.cs new file mode 100644 index 00000000..89d0e311 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksWorkflowJobRunConclusion.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksWorkflowJobRunConclusion + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WebhooksWorkflowJobRunName.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WebhooksWorkflowJobRunName.g.cs new file mode 100644 index 00000000..312bc9a6 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WebhooksWorkflowJobRunName.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WebhooksWorkflowJobRunName + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableMACOS.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableMACOS.g.cs index 9d366ad0..7b187526 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableMACOS.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableMACOS.g.cs @@ -26,7 +26,7 @@ public sealed partial class WorkflowRunUsageBillableMACOS /// /// [global::System.Text.Json.Serialization.JsonPropertyName("job_runs")] - public global::System.Collections.Generic.IList? JobRuns { get; set; } + public global::System.Collections.Generic.IList? JobRuns { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableMACOSJobRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableMACOSJobRun.g.cs new file mode 100644 index 00000000..e9ec8f53 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableMACOSJobRun.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WorkflowRunUsageBillableMACOSJobRun + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("job_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int JobId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("duration_ms")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int DurationMs { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableMACOSJobRuns.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableMACOSJobRuns.g.cs deleted file mode 100644 index 80d0820f..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableMACOSJobRuns.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WorkflowRunUsageBillableMACOSJobRuns - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("job_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int JobId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("duration_ms")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int DurationMs { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableUBUNTU.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableUBUNTU.g.cs index 359d561a..c49d1d05 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableUBUNTU.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableUBUNTU.g.cs @@ -26,7 +26,7 @@ public sealed partial class WorkflowRunUsageBillableUBUNTU /// /// [global::System.Text.Json.Serialization.JsonPropertyName("job_runs")] - public global::System.Collections.Generic.IList? JobRuns { get; set; } + public global::System.Collections.Generic.IList? JobRuns { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableUBUNTUJobRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableUBUNTUJobRun.g.cs new file mode 100644 index 00000000..a7b7ccd9 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableUBUNTUJobRun.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WorkflowRunUsageBillableUBUNTUJobRun + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("job_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int JobId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("duration_ms")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int DurationMs { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableUBUNTUJobRuns.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableUBUNTUJobRuns.g.cs deleted file mode 100644 index 023cfe25..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableUBUNTUJobRuns.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WorkflowRunUsageBillableUBUNTUJobRuns - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("job_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int JobId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("duration_ms")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int DurationMs { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableWINDOWS.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableWINDOWS.g.cs index 10dc2359..ea9db8f2 100644 --- a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableWINDOWS.g.cs +++ b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableWINDOWS.g.cs @@ -26,7 +26,7 @@ public sealed partial class WorkflowRunUsageBillableWINDOWS /// /// [global::System.Text.Json.Serialization.JsonPropertyName("job_runs")] - public global::System.Collections.Generic.IList? JobRuns { get; set; } + public global::System.Collections.Generic.IList? JobRuns { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableWINDOWSJobRun.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableWINDOWSJobRun.g.cs new file mode 100644 index 00000000..ee9cd551 --- /dev/null +++ b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableWINDOWSJobRun.g.cs @@ -0,0 +1,31 @@ + +#nullable enable + +namespace GitHub +{ + /// + /// + /// + public sealed partial class WorkflowRunUsageBillableWINDOWSJobRun + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("job_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int JobId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("duration_ms")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int DurationMs { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableWINDOWSJobRuns.g.cs b/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableWINDOWSJobRuns.g.cs deleted file mode 100644 index 45bcdcbc..00000000 --- a/src/libs/GitHub/Generated/GitHub.Models.WorkflowRunUsageBillableWINDOWSJobRuns.g.cs +++ /dev/null @@ -1,31 +0,0 @@ - -#nullable enable - -namespace GitHub -{ - /// - /// - /// - public sealed partial class WorkflowRunUsageBillableWINDOWSJobRuns - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("job_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int JobId { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("duration_ms")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int DurationMs { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsConvertMemberToOutsideCollaborator.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsConvertMemberToOutsideCollaborator.g.cs index 1105fe27..eb2634ff 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsConvertMemberToOutsideCollaborator.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsConvertMemberToOutsideCollaborator.g.cs @@ -34,7 +34,7 @@ partial void ProcessOrgsConvertMemberToOutsideCollaboratorResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsConvertMemberToOutsideCollaboratorAsync( + public async global::System.Threading.Tasks.Task OrgsConvertMemberToOutsideCollaboratorAsync( string org, string username, global::GitHub.OrgsConvertMemberToOutsideCollaboratorRequest request, @@ -102,7 +102,7 @@ partial void ProcessOrgsConvertMemberToOutsideCollaboratorResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.Object) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.OrgsConvertMemberToOutsideCollaboratorResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } @@ -118,7 +118,7 @@ partial void ProcessOrgsConvertMemberToOutsideCollaboratorResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsConvertMemberToOutsideCollaboratorAsync( + public async global::System.Threading.Tasks.Task OrgsConvertMemberToOutsideCollaboratorAsync( string org, string username, bool async = false, diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateOrUpdateCustomProperties.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateOrUpdateCustomProperties.g.cs index a461ad9f..1465e687 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateOrUpdateCustomProperties.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateOrUpdateCustomProperties.g.cs @@ -49,7 +49,7 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertiesResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/properties/schema", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.OrgsCreateOrUpdateCustomPropertiesRequest), diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.cs index d5afab23..c44803cb 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.cs @@ -52,7 +52,7 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertiesValuesForReposResponseCont request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/properties/values", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.OrgsCreateOrUpdateCustomPropertiesValuesForReposRequest), diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateOrUpdateCustomProperty.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateOrUpdateCustomProperty.g.cs index ac1a2318..7e52bc87 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateOrUpdateCustomProperty.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateOrUpdateCustomProperty.g.cs @@ -142,9 +142,9 @@ partial void ProcessOrgsCreateOrUpdateCustomPropertyResponseContent( string customPropertyName, global::GitHub.OrgsCreateOrUpdateCustomPropertyRequestValueType valueType, bool required = default, - global::System.OneOf?>? defaultValue = default, + global::System.OneOf?>? defaultValue = default, string? description = default, - global::System.Collections.Generic.IList? allowedValues = default, + global::System.Collections.Generic.IList? allowedValues = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.OrgsCreateOrUpdateCustomPropertyRequest diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateWebhook.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateWebhook.g.cs index d8dfe750..1085357e 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateWebhook.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsCreateWebhook.g.cs @@ -131,7 +131,7 @@ partial void ProcessOrgsCreateWebhookResponseContent( string org, string name, global::GitHub.OrgsCreateWebhookRequestConfig config, - global::System.Collections.Generic.IList? events = default, + global::System.Collections.Generic.IList? events = default, bool active = true, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsDelete.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsDelete.g.cs index 6ee0d9b5..b39e422c 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsDelete.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsDelete.g.cs @@ -31,7 +31,7 @@ partial void ProcessOrgsDeleteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsDeleteAsync( + public async global::System.Threading.Tasks.Task OrgsDeleteAsync( string org, global::System.Threading.CancellationToken cancellationToken = default) { @@ -86,7 +86,7 @@ partial void ProcessOrgsDeleteResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.Object) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.OrgsDeleteResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.cs index 174a1b0a..e566ad22 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.cs @@ -10,14 +10,14 @@ partial void PrepareOrgsEnableOrDisableSecurityProductOnAllOrgReposArguments( ref string org, ref global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, ref global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposEnablement enablement, - object request); + global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest request); partial void PrepareOrgsEnableOrDisableSecurityProductOnAllOrgReposRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposEnablement enablement, - object request); + global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest request); partial void ProcessOrgsEnableOrDisableSecurityProductOnAllOrgReposResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -41,7 +41,7 @@ partial void ProcessOrgsEnableOrDisableSecurityProductOnAllOrgReposResponse( string org, global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposEnablement enablement, - object request, + global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest request, global::System.Threading.CancellationToken cancellationToken = default) { request = request ?? throw new global::System.ArgumentNullException(nameof(request)); @@ -59,7 +59,7 @@ partial void ProcessOrgsEnableOrDisableSecurityProductOnAllOrgReposResponse( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/{securityProduct}/{enablement}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.Object), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -100,6 +100,10 @@ partial void ProcessOrgsEnableOrDisableSecurityProductOnAllOrgReposResponse( /// /// /// + /// + /// CodeQL query suite to be used. If you specify the `query_suite` parameter, the default setup will be configured with this query suite only on all repositories that didn't have default setup already configured. It will not change the query suite on repositories that already have default setup configured.
+ /// If you don't specify any `query_suite` in your request, the preferred query suite of the organization will be applied. + /// /// The token to cancel the operation with /// [global::System.Obsolete("This method marked as deprecated.")] @@ -107,10 +111,12 @@ partial void ProcessOrgsEnableOrDisableSecurityProductOnAllOrgReposResponse( string org, global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposEnablement enablement, + global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite? querySuite = default, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new object + var request = new global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest { + QuerySuite = querySuite, }; await OrgsEnableOrDisableSecurityProductOnAllOrgReposAsync( diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListAttestations.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListAttestations.g.cs index 9e34e673..c0898914 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListAttestations.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListAttestations.g.cs @@ -8,16 +8,16 @@ public partial class OrgsClient partial void PrepareOrgsListAttestationsArguments( global::System.Net.Http.HttpClient httpClient, ref int perPage, - ref string before, - ref string after, + ref string? before, + ref string? after, ref string org, ref string subjectDigest); partial void PrepareOrgsListAttestationsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int perPage, - string before, - string after, + string? before, + string? after, string org, string subjectDigest); partial void ProcessOrgsListAttestationsResponse( @@ -46,8 +46,8 @@ partial void ProcessOrgsListAttestationsResponseContent( /// public async global::System.Threading.Tasks.Task OrgsListAttestationsAsync( int perPage, - string before, - string after, + string? before, + string? after, string org, string subjectDigest, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListCustomPropertiesValuesForRepos.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListCustomPropertiesValuesForRepos.g.cs index aef2abe7..6a4e7e99 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListCustomPropertiesValuesForRepos.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListCustomPropertiesValuesForRepos.g.cs @@ -10,14 +10,14 @@ partial void PrepareOrgsListCustomPropertiesValuesForReposArguments( ref string org, ref int perPage, ref int page, - ref string repositoryQuery); + ref string? repositoryQuery); partial void PrepareOrgsListCustomPropertiesValuesForReposRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, int perPage, int page, - string repositoryQuery); + string? repositoryQuery); partial void ProcessOrgsListCustomPropertiesValuesForReposResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessOrgsListCustomPropertiesValuesForReposResponseContent( string org, int perPage, int page, - string repositoryQuery, + string? repositoryQuery, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListMembers.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListMembers.g.cs index 9ca7c679..5ac190c8 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListMembers.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListMembers.g.cs @@ -8,16 +8,16 @@ public partial class OrgsClient partial void PrepareOrgsListMembersArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref global::GitHub.OrgsListMembersFilter filter, - ref global::GitHub.OrgsListMembersRole role, + ref global::GitHub.OrgsListMembersFilter? filter, + ref global::GitHub.OrgsListMembersRole? role, ref int perPage, ref int page); partial void PrepareOrgsListMembersRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - global::GitHub.OrgsListMembersFilter filter, - global::GitHub.OrgsListMembersRole role, + global::GitHub.OrgsListMembersFilter? filter, + global::GitHub.OrgsListMembersRole? role, int perPage, int page); partial void ProcessOrgsListMembersResponse( @@ -50,8 +50,8 @@ partial void ProcessOrgsListMembersResponseContent( /// public async global::System.Threading.Tasks.Task> OrgsListMembersAsync( string org, - global::GitHub.OrgsListMembersFilter filter, - global::GitHub.OrgsListMembersRole role, + global::GitHub.OrgsListMembersFilter? filter, + global::GitHub.OrgsListMembersRole? role, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListMembershipsForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListMembershipsForAuthenticatedUser.g.cs index 79bdb02d..7f93f77e 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListMembershipsForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListMembershipsForAuthenticatedUser.g.cs @@ -7,13 +7,13 @@ public partial class OrgsClient { partial void PrepareOrgsListMembershipsForAuthenticatedUserArguments( global::System.Net.Http.HttpClient httpClient, - ref global::GitHub.OrgsListMembershipsForAuthenticatedUserState state, + ref global::GitHub.OrgsListMembershipsForAuthenticatedUserState? state, ref int perPage, ref int page); partial void PrepareOrgsListMembershipsForAuthenticatedUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::GitHub.OrgsListMembershipsForAuthenticatedUserState state, + global::GitHub.OrgsListMembershipsForAuthenticatedUserState? state, int perPage, int page); partial void ProcessOrgsListMembershipsForAuthenticatedUserResponse( @@ -39,7 +39,7 @@ partial void ProcessOrgsListMembershipsForAuthenticatedUserResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> OrgsListMembershipsForAuthenticatedUserAsync( - global::GitHub.OrgsListMembershipsForAuthenticatedUserState state, + global::GitHub.OrgsListMembershipsForAuthenticatedUserState? state, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListOutsideCollaborators.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListOutsideCollaborators.g.cs index 2964cd92..4302efa1 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListOutsideCollaborators.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListOutsideCollaborators.g.cs @@ -8,14 +8,14 @@ public partial class OrgsClient partial void PrepareOrgsListOutsideCollaboratorsArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref global::GitHub.OrgsListOutsideCollaboratorsFilter filter, + ref global::GitHub.OrgsListOutsideCollaboratorsFilter? filter, ref int perPage, ref int page); partial void PrepareOrgsListOutsideCollaboratorsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - global::GitHub.OrgsListOutsideCollaboratorsFilter filter, + global::GitHub.OrgsListOutsideCollaboratorsFilter? filter, int perPage, int page); partial void ProcessOrgsListOutsideCollaboratorsResponse( @@ -45,7 +45,7 @@ partial void ProcessOrgsListOutsideCollaboratorsResponseContent( /// public async global::System.Threading.Tasks.Task> OrgsListOutsideCollaboratorsAsync( string org, - global::GitHub.OrgsListOutsideCollaboratorsFilter filter, + global::GitHub.OrgsListOutsideCollaboratorsFilter? filter, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListPatGrantRequests.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListPatGrantRequests.g.cs index a6a2c157..686bdb61 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListPatGrantRequests.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListPatGrantRequests.g.cs @@ -11,11 +11,11 @@ partial void PrepareOrgsListPatGrantRequestsArguments( ref string org, ref int perPage, ref int page, - ref global::GitHub.OrgsListPatGrantRequestsSort sort, - ref global::GitHub.OrgsListPatGrantRequestsDirection direction, - global::System.Collections.Generic.IList owner, - ref string repository, - ref string permission, + ref global::GitHub.OrgsListPatGrantRequestsSort? sort, + ref global::GitHub.OrgsListPatGrantRequestsDirection? direction, + global::System.Collections.Generic.IList? owner, + ref string? repository, + ref string? permission, global::System.DateTime lastUsedBefore, global::System.DateTime lastUsedAfter); partial void PrepareOrgsListPatGrantRequestsRequest( @@ -24,11 +24,11 @@ partial void PrepareOrgsListPatGrantRequestsRequest( string org, int perPage, int page, - global::GitHub.OrgsListPatGrantRequestsSort sort, - global::GitHub.OrgsListPatGrantRequestsDirection direction, - global::System.Collections.Generic.IList owner, - string repository, - string permission, + global::GitHub.OrgsListPatGrantRequestsSort? sort, + global::GitHub.OrgsListPatGrantRequestsDirection? direction, + global::System.Collections.Generic.IList? owner, + string? repository, + string? permission, global::System.DateTime lastUsedBefore, global::System.DateTime lastUsedAfter); partial void ProcessOrgsListPatGrantRequestsResponse( @@ -75,11 +75,11 @@ partial void ProcessOrgsListPatGrantRequestsResponseContent( string org, int perPage, int page, - global::GitHub.OrgsListPatGrantRequestsSort sort, - global::GitHub.OrgsListPatGrantRequestsDirection direction, - global::System.Collections.Generic.IList owner, - string repository, - string permission, + global::GitHub.OrgsListPatGrantRequestsSort? sort, + global::GitHub.OrgsListPatGrantRequestsDirection? direction, + global::System.Collections.Generic.IList? owner, + string? repository, + string? permission, global::System.DateTime lastUsedBefore, global::System.DateTime lastUsedAfter, global::System.Threading.CancellationToken cancellationToken = default) @@ -101,7 +101,7 @@ partial void ProcessOrgsListPatGrantRequestsResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/personal-access-token-requests?per_page={perPage}&page={page}&sort={sort}&direction={direction}&{string.Join("&", owner.Select(static x => $"owner={x}"))}&repository={repository}&permission={permission}&last_used_before={lastUsedBefore:yyyy-MM-ddTHH:mm:ssZ}&last_used_after={lastUsedAfter:yyyy-MM-ddTHH:mm:ssZ}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/personal-access-token-requests?per_page={perPage}&page={page}&sort={sort}&direction={direction}&{string.Join("&", owner?.Select(static x => $"owner={x}") ?? global::System.Array.Empty())}&repository={repository}&permission={permission}&last_used_before={lastUsedBefore:yyyy-MM-ddTHH:mm:ssZ}&last_used_after={lastUsedAfter:yyyy-MM-ddTHH:mm:ssZ}", global::System.UriKind.RelativeOrAbsolute)); PrepareRequest( client: _httpClient, diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListPatGrants.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListPatGrants.g.cs index 7473c2d3..e8255427 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListPatGrants.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListPatGrants.g.cs @@ -11,11 +11,11 @@ partial void PrepareOrgsListPatGrantsArguments( ref string org, ref int perPage, ref int page, - ref global::GitHub.OrgsListPatGrantsSort sort, - ref global::GitHub.OrgsListPatGrantsDirection direction, - global::System.Collections.Generic.IList owner, - ref string repository, - ref string permission, + ref global::GitHub.OrgsListPatGrantsSort? sort, + ref global::GitHub.OrgsListPatGrantsDirection? direction, + global::System.Collections.Generic.IList? owner, + ref string? repository, + ref string? permission, global::System.DateTime lastUsedBefore, global::System.DateTime lastUsedAfter); partial void PrepareOrgsListPatGrantsRequest( @@ -24,11 +24,11 @@ partial void PrepareOrgsListPatGrantsRequest( string org, int perPage, int page, - global::GitHub.OrgsListPatGrantsSort sort, - global::GitHub.OrgsListPatGrantsDirection direction, - global::System.Collections.Generic.IList owner, - string repository, - string permission, + global::GitHub.OrgsListPatGrantsSort? sort, + global::GitHub.OrgsListPatGrantsDirection? direction, + global::System.Collections.Generic.IList? owner, + string? repository, + string? permission, global::System.DateTime lastUsedBefore, global::System.DateTime lastUsedAfter); partial void ProcessOrgsListPatGrantsResponse( @@ -75,11 +75,11 @@ partial void ProcessOrgsListPatGrantsResponseContent( string org, int perPage, int page, - global::GitHub.OrgsListPatGrantsSort sort, - global::GitHub.OrgsListPatGrantsDirection direction, - global::System.Collections.Generic.IList owner, - string repository, - string permission, + global::GitHub.OrgsListPatGrantsSort? sort, + global::GitHub.OrgsListPatGrantsDirection? direction, + global::System.Collections.Generic.IList? owner, + string? repository, + string? permission, global::System.DateTime lastUsedBefore, global::System.DateTime lastUsedAfter, global::System.Threading.CancellationToken cancellationToken = default) @@ -101,7 +101,7 @@ partial void ProcessOrgsListPatGrantsResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/personal-access-tokens?per_page={perPage}&page={page}&sort={sort}&direction={direction}&{string.Join("&", owner.Select(static x => $"owner={x}"))}&repository={repository}&permission={permission}&last_used_before={lastUsedBefore:yyyy-MM-ddTHH:mm:ssZ}&last_used_after={lastUsedAfter:yyyy-MM-ddTHH:mm:ssZ}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/personal-access-tokens?per_page={perPage}&page={page}&sort={sort}&direction={direction}&{string.Join("&", owner?.Select(static x => $"owner={x}") ?? global::System.Array.Empty())}&repository={repository}&permission={permission}&last_used_before={lastUsedBefore:yyyy-MM-ddTHH:mm:ssZ}&last_used_after={lastUsedAfter:yyyy-MM-ddTHH:mm:ssZ}", global::System.UriKind.RelativeOrAbsolute)); PrepareRequest( client: _httpClient, diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListPendingInvitations.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListPendingInvitations.g.cs index edd900ef..0832ee57 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListPendingInvitations.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListPendingInvitations.g.cs @@ -10,16 +10,16 @@ partial void PrepareOrgsListPendingInvitationsArguments( ref string org, ref int perPage, ref int page, - ref global::GitHub.OrgsListPendingInvitationsRole role, - ref global::GitHub.OrgsListPendingInvitationsInvitationSource invitationSource); + ref global::GitHub.OrgsListPendingInvitationsRole? role, + ref global::GitHub.OrgsListPendingInvitationsInvitationSource? invitationSource); partial void PrepareOrgsListPendingInvitationsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, int perPage, int page, - global::GitHub.OrgsListPendingInvitationsRole role, - global::GitHub.OrgsListPendingInvitationsInvitationSource invitationSource); + global::GitHub.OrgsListPendingInvitationsRole? role, + global::GitHub.OrgsListPendingInvitationsInvitationSource? invitationSource); partial void ProcessOrgsListPendingInvitationsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,8 +55,8 @@ partial void ProcessOrgsListPendingInvitationsResponseContent( string org, int perPage, int page, - global::GitHub.OrgsListPendingInvitationsRole role, - global::GitHub.OrgsListPendingInvitationsInvitationSource invitationSource, + global::GitHub.OrgsListPendingInvitationsRole? role, + global::GitHub.OrgsListPendingInvitationsInvitationSource? invitationSource, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListWebhookDeliveries.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListWebhookDeliveries.g.cs index ea430c76..a12dcf0d 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListWebhookDeliveries.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsListWebhookDeliveries.g.cs @@ -10,7 +10,7 @@ partial void PrepareOrgsListWebhookDeliveriesArguments( ref string org, ref int hookId, ref int perPage, - ref string cursor, + ref string? cursor, ref bool redelivery); partial void PrepareOrgsListWebhookDeliveriesRequest( global::System.Net.Http.HttpClient httpClient, @@ -18,7 +18,7 @@ partial void PrepareOrgsListWebhookDeliveriesRequest( string org, int hookId, int perPage, - string cursor, + string? cursor, bool redelivery); partial void ProcessOrgsListWebhookDeliveriesResponse( global::System.Net.Http.HttpClient httpClient, @@ -49,7 +49,7 @@ partial void ProcessOrgsListWebhookDeliveriesResponseContent( string org, int hookId, int perPage, - string cursor, + string? cursor, bool redelivery, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsRedeliverWebhookDelivery.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsRedeliverWebhookDelivery.g.cs index 2865dbe8..37a310b8 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsRedeliverWebhookDelivery.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsRedeliverWebhookDelivery.g.cs @@ -37,7 +37,7 @@ partial void ProcessOrgsRedeliverWebhookDeliveryResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task OrgsRedeliverWebhookDeliveryAsync( + public async global::System.Threading.Tasks.Task OrgsRedeliverWebhookDeliveryAsync( string org, int hookId, int deliveryId, @@ -98,7 +98,7 @@ partial void ProcessOrgsRedeliverWebhookDeliveryResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.Object) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.OrgsRedeliverWebhookDeliveryResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdate.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdate.g.cs index 8e789ce8..cd6d972a 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdate.g.cs @@ -52,7 +52,7 @@ partial void ProcessOrgsUpdateResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.OrgsUpdateRequest), diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.cs index 6127ffae..4feb21fe 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.cs @@ -46,7 +46,7 @@ partial void ProcessOrgsUpdateMembershipForAuthenticatedUserResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/memberships/orgs/{org}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.OrgsUpdateMembershipForAuthenticatedUserRequest), diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdateWebhook.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdateWebhook.g.cs index 122313dd..bf144a9c 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdateWebhook.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdateWebhook.g.cs @@ -58,7 +58,7 @@ partial void ProcessOrgsUpdateWebhookResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/hooks/{hookId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.OrgsUpdateWebhookRequest), @@ -146,7 +146,7 @@ partial void ProcessOrgsUpdateWebhookResponseContent( string org, int hookId, global::GitHub.OrgsUpdateWebhookRequestConfig? config = default, - global::System.Collections.Generic.IList? events = default, + global::System.Collections.Generic.IList? events = default, bool active = true, string? name = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdateWebhookConfigForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdateWebhookConfigForOrg.g.cs index c5c3e5d7..cf7f4b4b 100644 --- a/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdateWebhookConfigForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.OrgsClient.OrgsUpdateWebhookConfigForOrg.g.cs @@ -54,7 +54,7 @@ partial void ProcessOrgsUpdateWebhookConfigForOrgResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/hooks/{hookId}/config", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.OrgsUpdateWebhookConfigForOrgRequest), @@ -139,7 +139,7 @@ partial void ProcessOrgsUpdateWebhookConfigForOrgResponseContent( string? url = default, string? contentType = default, string? secret = default, - global::System.OneOf? insecureSsl = default, + global::GitHub.WebhookConfigInsecureSsl? insecureSsl = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.OrgsUpdateWebhookConfigForOrgRequest diff --git a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.cs index 185b6fc6..8eb16543 100644 --- a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.cs @@ -11,7 +11,7 @@ partial void PreparePackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedU ref string packageName, ref int page, ref int perPage, - ref global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState state); + ref global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState? state); partial void PreparePackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, @@ -19,7 +19,7 @@ partial void PreparePackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedU string packageName, int page, int perPage, - global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState state); + global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState? state); partial void ProcessPackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -52,7 +52,7 @@ partial void ProcessPackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedU string packageName, int page, int perPage, - global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState state, + global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState? state, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.cs b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.cs index d3567913..53fe44d5 100644 --- a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.cs @@ -12,7 +12,7 @@ partial void PreparePackagesGetAllPackageVersionsForPackageOwnedByOrgArguments( ref string org, ref int page, ref int perPage, - ref global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByOrgState state); + ref global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByOrgState? state); partial void PreparePackagesGetAllPackageVersionsForPackageOwnedByOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, @@ -21,7 +21,7 @@ partial void PreparePackagesGetAllPackageVersionsForPackageOwnedByOrgRequest( string org, int page, int perPage, - global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByOrgState state); + global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByOrgState? state); partial void ProcessPackagesGetAllPackageVersionsForPackageOwnedByOrgResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -56,7 +56,7 @@ partial void ProcessPackagesGetAllPackageVersionsForPackageOwnedByOrgResponseCon string org, int page, int perPage, - global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByOrgState state, + global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByOrgState? state, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesListPackagesForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesListPackagesForAuthenticatedUser.g.cs index cf5811f4..1dd04f6a 100644 --- a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesListPackagesForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesListPackagesForAuthenticatedUser.g.cs @@ -8,14 +8,14 @@ public partial class PackagesClient partial void PreparePackagesListPackagesForAuthenticatedUserArguments( global::System.Net.Http.HttpClient httpClient, ref global::GitHub.PackagesListPackagesForAuthenticatedUserPackageType packageType, - ref global::GitHub.PackagesListPackagesForAuthenticatedUserVisibility visibility, + ref global::GitHub.PackagesListPackagesForAuthenticatedUserVisibility? visibility, ref int page, ref int perPage); partial void PreparePackagesListPackagesForAuthenticatedUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::GitHub.PackagesListPackagesForAuthenticatedUserPackageType packageType, - global::GitHub.PackagesListPackagesForAuthenticatedUserVisibility visibility, + global::GitHub.PackagesListPackagesForAuthenticatedUserVisibility? visibility, int page, int perPage); partial void ProcessPackagesListPackagesForAuthenticatedUserResponse( @@ -44,7 +44,7 @@ partial void ProcessPackagesListPackagesForAuthenticatedUserResponseContent( /// public async global::System.Threading.Tasks.Task> PackagesListPackagesForAuthenticatedUserAsync( global::GitHub.PackagesListPackagesForAuthenticatedUserPackageType packageType, - global::GitHub.PackagesListPackagesForAuthenticatedUserVisibility visibility, + global::GitHub.PackagesListPackagesForAuthenticatedUserVisibility? visibility, int page, int perPage, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesListPackagesForOrganization.g.cs b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesListPackagesForOrganization.g.cs index feffce6e..89b310cc 100644 --- a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesListPackagesForOrganization.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesListPackagesForOrganization.g.cs @@ -9,7 +9,7 @@ partial void PreparePackagesListPackagesForOrganizationArguments( global::System.Net.Http.HttpClient httpClient, ref global::GitHub.PackagesListPackagesForOrganizationPackageType packageType, ref string org, - ref global::GitHub.PackagesListPackagesForOrganizationVisibility visibility, + ref global::GitHub.PackagesListPackagesForOrganizationVisibility? visibility, ref int page, ref int perPage); partial void PreparePackagesListPackagesForOrganizationRequest( @@ -17,7 +17,7 @@ partial void PreparePackagesListPackagesForOrganizationRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::GitHub.PackagesListPackagesForOrganizationPackageType packageType, string org, - global::GitHub.PackagesListPackagesForOrganizationVisibility visibility, + global::GitHub.PackagesListPackagesForOrganizationVisibility? visibility, int page, int perPage); partial void ProcessPackagesListPackagesForOrganizationResponse( @@ -48,7 +48,7 @@ partial void ProcessPackagesListPackagesForOrganizationResponseContent( public async global::System.Threading.Tasks.Task> PackagesListPackagesForOrganizationAsync( global::GitHub.PackagesListPackagesForOrganizationPackageType packageType, string org, - global::GitHub.PackagesListPackagesForOrganizationVisibility visibility, + global::GitHub.PackagesListPackagesForOrganizationVisibility? visibility, int page, int perPage, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesListPackagesForUser.g.cs b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesListPackagesForUser.g.cs index 6ee5b70f..ffa44e71 100644 --- a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesListPackagesForUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesListPackagesForUser.g.cs @@ -8,7 +8,7 @@ public partial class PackagesClient partial void PreparePackagesListPackagesForUserArguments( global::System.Net.Http.HttpClient httpClient, ref global::GitHub.PackagesListPackagesForUserPackageType packageType, - ref global::GitHub.PackagesListPackagesForUserVisibility visibility, + ref global::GitHub.PackagesListPackagesForUserVisibility? visibility, ref string username, ref int page, ref int perPage); @@ -16,7 +16,7 @@ partial void PreparePackagesListPackagesForUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::GitHub.PackagesListPackagesForUserPackageType packageType, - global::GitHub.PackagesListPackagesForUserVisibility visibility, + global::GitHub.PackagesListPackagesForUserVisibility? visibility, string username, int page, int perPage); @@ -47,7 +47,7 @@ partial void ProcessPackagesListPackagesForUserResponseContent( /// public async global::System.Threading.Tasks.Task> PackagesListPackagesForUserAsync( global::GitHub.PackagesListPackagesForUserPackageType packageType, - global::GitHub.PackagesListPackagesForUserVisibility visibility, + global::GitHub.PackagesListPackagesForUserVisibility? visibility, string username, int page, int perPage, diff --git a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesRestorePackageForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesRestorePackageForAuthenticatedUser.g.cs index f56abc83..d8706405 100644 --- a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesRestorePackageForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesRestorePackageForAuthenticatedUser.g.cs @@ -9,13 +9,13 @@ partial void PreparePackagesRestorePackageForAuthenticatedUserArguments( global::System.Net.Http.HttpClient httpClient, ref global::GitHub.PackagesRestorePackageForAuthenticatedUserPackageType packageType, ref string packageName, - ref string token); + ref string? token); partial void PreparePackagesRestorePackageForAuthenticatedUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::GitHub.PackagesRestorePackageForAuthenticatedUserPackageType packageType, string packageName, - string token); + string? token); partial void ProcessPackagesRestorePackageForAuthenticatedUserResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -41,7 +41,7 @@ partial void ProcessPackagesRestorePackageForAuthenticatedUserResponseContent( public async global::System.Threading.Tasks.Task PackagesRestorePackageForAuthenticatedUserAsync( global::GitHub.PackagesRestorePackageForAuthenticatedUserPackageType packageType, string packageName, - string token, + string? token, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesRestorePackageForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesRestorePackageForOrg.g.cs index 263f9ac2..7af2d0be 100644 --- a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesRestorePackageForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesRestorePackageForOrg.g.cs @@ -10,14 +10,14 @@ partial void PreparePackagesRestorePackageForOrgArguments( ref global::GitHub.PackagesRestorePackageForOrgPackageType packageType, ref string packageName, ref string org, - ref string token); + ref string? token); partial void PreparePackagesRestorePackageForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::GitHub.PackagesRestorePackageForOrgPackageType packageType, string packageName, string org, - string token); + string? token); partial void ProcessPackagesRestorePackageForOrgResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessPackagesRestorePackageForOrgResponseContent( global::GitHub.PackagesRestorePackageForOrgPackageType packageType, string packageName, string org, - string token, + string? token, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesRestorePackageForUser.g.cs b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesRestorePackageForUser.g.cs index d15bcdfa..6216e538 100644 --- a/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesRestorePackageForUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PackagesClient.PackagesRestorePackageForUser.g.cs @@ -10,14 +10,14 @@ partial void PreparePackagesRestorePackageForUserArguments( ref global::GitHub.PackagesRestorePackageForUserPackageType packageType, ref string packageName, ref string username, - ref string token); + ref string? token); partial void PreparePackagesRestorePackageForUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::GitHub.PackagesRestorePackageForUserPackageType packageType, string packageName, string username, - string token); + string? token); partial void ProcessPackagesRestorePackageForUserResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessPackagesRestorePackageForUserResponseContent( global::GitHub.PackagesRestorePackageForUserPackageType packageType, string packageName, string username, - string token, + string? token, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsCreateCard.g.cs b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsCreateCard.g.cs index 56e6b373..fb83a34a 100644 --- a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsCreateCard.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsCreateCard.g.cs @@ -8,12 +8,12 @@ public partial class ProjectsClient partial void PrepareProjectsCreateCardArguments( global::System.Net.Http.HttpClient httpClient, ref int columnId, - global::System.OneOf request); + global::System.OneOf request); partial void PrepareProjectsCreateCardRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int columnId, - global::System.OneOf request); + global::System.OneOf request); partial void ProcessProjectsCreateCardResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -32,11 +32,9 @@ partial void ProcessProjectsCreateCardResponseContent( /// public async global::System.Threading.Tasks.Task ProjectsCreateCardAsync( int columnId, - global::System.OneOf request, + global::System.OneOf request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareProjectsCreateCardArguments( @@ -48,7 +46,7 @@ partial void ProcessProjectsCreateCardResponseContent( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/projects/columns/{columnId}/cards", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfProjectsCreateCardRequestProjectsCreateCardRequest), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfProjectsCreateCardRequestVariant1ProjectsCreateCardRequestVariant2), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -103,20 +101,14 @@ partial void ProcessProjectsCreateCardResponseContent( /// Create a project card /// /// - /// - /// The project card's note
- /// Example: Update all gems - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ProjectsCreateCardAsync( int columnId, - string? note, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf + var request = new global::System.OneOf { - Note = note, }; return await ProjectsCreateCardAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListCards.g.cs b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListCards.g.cs index aac7598d..81c4d41f 100644 --- a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListCards.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListCards.g.cs @@ -8,14 +8,14 @@ public partial class ProjectsClient partial void PrepareProjectsListCardsArguments( global::System.Net.Http.HttpClient httpClient, ref int columnId, - ref global::GitHub.ProjectsListCardsArchivedState archivedState, + ref global::GitHub.ProjectsListCardsArchivedState? archivedState, ref int perPage, ref int page); partial void PrepareProjectsListCardsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int columnId, - global::GitHub.ProjectsListCardsArchivedState archivedState, + global::GitHub.ProjectsListCardsArchivedState? archivedState, int perPage, int page); partial void ProcessProjectsListCardsResponse( @@ -45,7 +45,7 @@ partial void ProcessProjectsListCardsResponseContent( /// public async global::System.Threading.Tasks.Task> ProjectsListCardsAsync( int columnId, - global::GitHub.ProjectsListCardsArchivedState archivedState, + global::GitHub.ProjectsListCardsArchivedState? archivedState, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListCollaborators.g.cs b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListCollaborators.g.cs index e7389e50..5d4e8c6c 100644 --- a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListCollaborators.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListCollaborators.g.cs @@ -8,14 +8,14 @@ public partial class ProjectsClient partial void PrepareProjectsListCollaboratorsArguments( global::System.Net.Http.HttpClient httpClient, ref int projectId, - ref global::GitHub.ProjectsListCollaboratorsAffiliation affiliation, + ref global::GitHub.ProjectsListCollaboratorsAffiliation? affiliation, ref int perPage, ref int page); partial void PrepareProjectsListCollaboratorsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int projectId, - global::GitHub.ProjectsListCollaboratorsAffiliation affiliation, + global::GitHub.ProjectsListCollaboratorsAffiliation? affiliation, int perPage, int page); partial void ProcessProjectsListCollaboratorsResponse( @@ -45,7 +45,7 @@ partial void ProcessProjectsListCollaboratorsResponseContent( /// public async global::System.Threading.Tasks.Task> ProjectsListCollaboratorsAsync( int projectId, - global::GitHub.ProjectsListCollaboratorsAffiliation affiliation, + global::GitHub.ProjectsListCollaboratorsAffiliation? affiliation, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListForOrg.g.cs index 0f16944d..eb15e183 100644 --- a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListForOrg.g.cs @@ -8,14 +8,14 @@ public partial class ProjectsClient partial void PrepareProjectsListForOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref global::GitHub.ProjectsListForOrgState state, + ref global::GitHub.ProjectsListForOrgState? state, ref int perPage, ref int page); partial void PrepareProjectsListForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - global::GitHub.ProjectsListForOrgState state, + global::GitHub.ProjectsListForOrgState? state, int perPage, int page); partial void ProcessProjectsListForOrgResponse( @@ -45,7 +45,7 @@ partial void ProcessProjectsListForOrgResponseContent( /// public async global::System.Threading.Tasks.Task> ProjectsListForOrgAsync( string org, - global::GitHub.ProjectsListForOrgState state, + global::GitHub.ProjectsListForOrgState? state, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListForRepo.g.cs index 77d47161..43becefb 100644 --- a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListForRepo.g.cs @@ -9,7 +9,7 @@ partial void PrepareProjectsListForRepoArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::GitHub.ProjectsListForRepoState state, + ref global::GitHub.ProjectsListForRepoState? state, ref int perPage, ref int page); partial void PrepareProjectsListForRepoRequest( @@ -17,7 +17,7 @@ partial void PrepareProjectsListForRepoRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::GitHub.ProjectsListForRepoState state, + global::GitHub.ProjectsListForRepoState? state, int perPage, int page); partial void ProcessProjectsListForRepoResponse( @@ -49,7 +49,7 @@ partial void ProcessProjectsListForRepoResponseContent( public async global::System.Threading.Tasks.Task> ProjectsListForRepoAsync( string owner, string repo, - global::GitHub.ProjectsListForRepoState state, + global::GitHub.ProjectsListForRepoState? state, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListForUser.g.cs b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListForUser.g.cs index beffd33f..91a3ba98 100644 --- a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListForUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsListForUser.g.cs @@ -8,14 +8,14 @@ public partial class ProjectsClient partial void PrepareProjectsListForUserArguments( global::System.Net.Http.HttpClient httpClient, ref string username, - ref global::GitHub.ProjectsListForUserState state, + ref global::GitHub.ProjectsListForUserState? state, ref int perPage, ref int page); partial void PrepareProjectsListForUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string username, - global::GitHub.ProjectsListForUserState state, + global::GitHub.ProjectsListForUserState? state, int perPage, int page); partial void ProcessProjectsListForUserResponse( @@ -45,7 +45,7 @@ partial void ProcessProjectsListForUserResponseContent( /// public async global::System.Threading.Tasks.Task> ProjectsListForUserAsync( string username, - global::GitHub.ProjectsListForUserState state, + global::GitHub.ProjectsListForUserState? state, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsMoveCard.g.cs b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsMoveCard.g.cs index 2a1da017..85018d29 100644 --- a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsMoveCard.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsMoveCard.g.cs @@ -30,7 +30,7 @@ partial void ProcessProjectsMoveCardResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProjectsMoveCardAsync( + public async global::System.Threading.Tasks.Task ProjectsMoveCardAsync( int cardId, global::GitHub.ProjectsMoveCardRequest request, global::System.Threading.CancellationToken cancellationToken = default) @@ -95,7 +95,7 @@ partial void ProcessProjectsMoveCardResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.Object) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.ProjectsMoveCardResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } @@ -113,7 +113,7 @@ partial void ProcessProjectsMoveCardResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProjectsMoveCardAsync( + public async global::System.Threading.Tasks.Task ProjectsMoveCardAsync( int cardId, string position, int columnId = default, diff --git a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsMoveColumn.g.cs b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsMoveColumn.g.cs index 74b486b0..83978925 100644 --- a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsMoveColumn.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsMoveColumn.g.cs @@ -30,7 +30,7 @@ partial void ProcessProjectsMoveColumnResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProjectsMoveColumnAsync( + public async global::System.Threading.Tasks.Task ProjectsMoveColumnAsync( int columnId, global::GitHub.ProjectsMoveColumnRequest request, global::System.Threading.CancellationToken cancellationToken = default) @@ -95,7 +95,7 @@ partial void ProcessProjectsMoveColumnResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.Object) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.ProjectsMoveColumnResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } @@ -109,7 +109,7 @@ partial void ProcessProjectsMoveColumnResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProjectsMoveColumnAsync( + public async global::System.Threading.Tasks.Task ProjectsMoveColumnAsync( int columnId, string position, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsUpdate.g.cs b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsUpdate.g.cs index 9775ac39..76b98798 100644 --- a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsUpdate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsUpdate.g.cs @@ -46,7 +46,7 @@ partial void ProcessProjectsUpdateResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/projects/{projectId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ProjectsUpdateRequest), diff --git a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsUpdateCard.g.cs b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsUpdateCard.g.cs index 45ce9fba..91151452 100644 --- a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsUpdateCard.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsUpdateCard.g.cs @@ -45,7 +45,7 @@ partial void ProcessProjectsUpdateCardResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/projects/columns/cards/{cardId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ProjectsUpdateCardRequest), diff --git a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsUpdateColumn.g.cs b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsUpdateColumn.g.cs index 00e67523..27f67dd7 100644 --- a/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsUpdateColumn.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ProjectsClient.ProjectsUpdateColumn.g.cs @@ -45,7 +45,7 @@ partial void ProcessProjectsUpdateColumnResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/projects/columns/{columnId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ProjectsUpdateColumnRequest), diff --git a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsCreateReview.g.cs b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsCreateReview.g.cs index d718dfc7..6a06e950 100644 --- a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsCreateReview.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsCreateReview.g.cs @@ -160,7 +160,7 @@ partial void ProcessPullsCreateReviewResponseContent( string? commitId = default, string? body = default, global::GitHub.PullsCreateReviewRequestEvent? @event = default, - global::System.Collections.Generic.IList? comments = default, + global::System.Collections.Generic.IList? comments = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.PullsCreateReviewRequest diff --git a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsList.g.cs b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsList.g.cs index 910ac07f..44e4e086 100644 --- a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsList.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsList.g.cs @@ -9,11 +9,11 @@ partial void PreparePullsListArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::GitHub.PullsListState state, - ref string head, - ref string @base, - ref global::GitHub.PullsListSort sort, - ref global::GitHub.PullsListDirection direction, + ref global::GitHub.PullsListState? state, + ref string? head, + ref string? @base, + ref global::GitHub.PullsListSort? sort, + ref global::GitHub.PullsListDirection? direction, ref int perPage, ref int page); partial void PreparePullsListRequest( @@ -21,11 +21,11 @@ partial void PreparePullsListRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::GitHub.PullsListState state, - string head, - string @base, - global::GitHub.PullsListSort sort, - global::GitHub.PullsListDirection direction, + global::GitHub.PullsListState? state, + string? head, + string? @base, + global::GitHub.PullsListSort? sort, + global::GitHub.PullsListDirection? direction, int perPage, int page); partial void ProcessPullsListResponse( @@ -73,11 +73,11 @@ partial void ProcessPullsListResponseContent( public async global::System.Threading.Tasks.Task> PullsListAsync( string owner, string repo, - global::GitHub.PullsListState state, - string head, - string @base, - global::GitHub.PullsListSort sort, - global::GitHub.PullsListDirection direction, + global::GitHub.PullsListState? state, + string? head, + string? @base, + global::GitHub.PullsListSort? sort, + global::GitHub.PullsListDirection? direction, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsListReviewComments.g.cs b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsListReviewComments.g.cs index d17e01e3..3f248ced 100644 --- a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsListReviewComments.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsListReviewComments.g.cs @@ -10,8 +10,8 @@ partial void PreparePullsListReviewCommentsArguments( ref string owner, ref string repo, ref int pullNumber, - ref global::GitHub.PullsListReviewCommentsSort sort, - ref global::GitHub.PullsListReviewCommentsDirection direction, + ref global::GitHub.PullsListReviewCommentsSort? sort, + ref global::GitHub.PullsListReviewCommentsDirection? direction, global::System.DateTime since, ref int perPage, ref int page); @@ -21,8 +21,8 @@ partial void PreparePullsListReviewCommentsRequest( string owner, string repo, int pullNumber, - global::GitHub.PullsListReviewCommentsSort sort, - global::GitHub.PullsListReviewCommentsDirection direction, + global::GitHub.PullsListReviewCommentsSort? sort, + global::GitHub.PullsListReviewCommentsDirection? direction, global::System.DateTime since, int perPage, int page); @@ -65,8 +65,8 @@ partial void ProcessPullsListReviewCommentsResponseContent( string owner, string repo, int pullNumber, - global::GitHub.PullsListReviewCommentsSort sort, - global::GitHub.PullsListReviewCommentsDirection direction, + global::GitHub.PullsListReviewCommentsSort? sort, + global::GitHub.PullsListReviewCommentsDirection? direction, global::System.DateTime since, int perPage, int page, diff --git a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsListReviewCommentsForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsListReviewCommentsForRepo.g.cs index c9847a61..ad07fc81 100644 --- a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsListReviewCommentsForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsListReviewCommentsForRepo.g.cs @@ -9,8 +9,8 @@ partial void PreparePullsListReviewCommentsForRepoArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::GitHub.PullsListReviewCommentsForRepoSort sort, - ref global::GitHub.PullsListReviewCommentsForRepoDirection direction, + ref global::GitHub.PullsListReviewCommentsForRepoSort? sort, + ref global::GitHub.PullsListReviewCommentsForRepoDirection? direction, global::System.DateTime since, ref int perPage, ref int page); @@ -19,8 +19,8 @@ partial void PreparePullsListReviewCommentsForRepoRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::GitHub.PullsListReviewCommentsForRepoSort sort, - global::GitHub.PullsListReviewCommentsForRepoDirection direction, + global::GitHub.PullsListReviewCommentsForRepoSort? sort, + global::GitHub.PullsListReviewCommentsForRepoDirection? direction, global::System.DateTime since, int perPage, int page); @@ -59,8 +59,8 @@ partial void ProcessPullsListReviewCommentsForRepoResponseContent( public async global::System.Threading.Tasks.Task> PullsListReviewCommentsForRepoAsync( string owner, string repo, - global::GitHub.PullsListReviewCommentsForRepoSort sort, - global::GitHub.PullsListReviewCommentsForRepoDirection direction, + global::GitHub.PullsListReviewCommentsForRepoSort? sort, + global::GitHub.PullsListReviewCommentsForRepoDirection? direction, global::System.DateTime since, int perPage, int page, diff --git a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsRemoveRequestedReviewers.g.cs b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsRemoveRequestedReviewers.g.cs index a7b8e59d..b2a7aa3a 100644 --- a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsRemoveRequestedReviewers.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsRemoveRequestedReviewers.g.cs @@ -132,7 +132,7 @@ partial void ProcessPullsRemoveRequestedReviewersResponseContent( string repo, int pullNumber, global::System.Collections.Generic.IList reviewers, - global::System.Collections.Generic.IList? teamReviewers = default, + global::System.Collections.Generic.IList? teamReviewers = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.PullsRemoveRequestedReviewersRequest diff --git a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsRequestReviewers.g.cs b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsRequestReviewers.g.cs index 9390b19a..ef3f8e80 100644 --- a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsRequestReviewers.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsRequestReviewers.g.cs @@ -45,8 +45,6 @@ partial void ProcessPullsRequestReviewersResponseContent( global::GitHub.PullsRequestReviewersRequest request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PreparePullsRequestReviewersArguments( @@ -121,16 +119,26 @@ partial void ProcessPullsRequestReviewersResponseContent( /// /// /// + /// + /// An array of user `login`s that will be requested. + /// + /// + /// An array of team `slug`s that will be requested. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task PullsRequestReviewersAsync( string owner, string repo, int pullNumber, + global::System.Collections.Generic.IList? reviewers = default, + global::System.Collections.Generic.IList? teamReviewers = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.PullsRequestReviewersRequest { + Reviewers = reviewers, + TeamReviewers = teamReviewers, }; return await PullsRequestReviewersAsync( diff --git a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsUpdate.g.cs b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsUpdate.g.cs index 8f434eae..8b5378f9 100644 --- a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsUpdate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsUpdate.g.cs @@ -62,7 +62,7 @@ partial void ProcessPullsUpdateResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/pulls/{pullNumber}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.PullsUpdateRequest), diff --git a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsUpdateReviewComment.g.cs b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsUpdateReviewComment.g.cs index 4abdd2f6..163c3782 100644 --- a/src/libs/GitHub/Generated/GitHub.PullsClient.PullsUpdateReviewComment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.PullsClient.PullsUpdateReviewComment.g.cs @@ -61,7 +61,7 @@ partial void ProcessPullsUpdateReviewCommentResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/pulls/comments/{commentId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.PullsUpdateReviewCommentRequest), diff --git a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForCommitComment.g.cs b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForCommitComment.g.cs index 509ac952..a904345f 100644 --- a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForCommitComment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForCommitComment.g.cs @@ -10,7 +10,7 @@ partial void PrepareReactionsListForCommitCommentArguments( ref string owner, ref string repo, ref int commentId, - ref global::GitHub.ReactionsListForCommitCommentContent content, + ref global::GitHub.ReactionsListForCommitCommentContent? content, ref int perPage, ref int page); partial void PrepareReactionsListForCommitCommentRequest( @@ -19,7 +19,7 @@ partial void PrepareReactionsListForCommitCommentRequest( string owner, string repo, int commentId, - global::GitHub.ReactionsListForCommitCommentContent content, + global::GitHub.ReactionsListForCommitCommentContent? content, int perPage, int page); partial void ProcessReactionsListForCommitCommentResponse( @@ -51,7 +51,7 @@ partial void ProcessReactionsListForCommitCommentResponseContent( string owner, string repo, int commentId, - global::GitHub.ReactionsListForCommitCommentContent content, + global::GitHub.ReactionsListForCommitCommentContent? content, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForIssue.g.cs b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForIssue.g.cs index 7de907cb..0edb46c4 100644 --- a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForIssue.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForIssue.g.cs @@ -10,7 +10,7 @@ partial void PrepareReactionsListForIssueArguments( ref string owner, ref string repo, ref int issueNumber, - ref global::GitHub.ReactionsListForIssueContent content, + ref global::GitHub.ReactionsListForIssueContent? content, ref int perPage, ref int page); partial void PrepareReactionsListForIssueRequest( @@ -19,7 +19,7 @@ partial void PrepareReactionsListForIssueRequest( string owner, string repo, int issueNumber, - global::GitHub.ReactionsListForIssueContent content, + global::GitHub.ReactionsListForIssueContent? content, int perPage, int page); partial void ProcessReactionsListForIssueResponse( @@ -51,7 +51,7 @@ partial void ProcessReactionsListForIssueResponseContent( string owner, string repo, int issueNumber, - global::GitHub.ReactionsListForIssueContent content, + global::GitHub.ReactionsListForIssueContent? content, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForIssueComment.g.cs b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForIssueComment.g.cs index 13219408..c16c4ab3 100644 --- a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForIssueComment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForIssueComment.g.cs @@ -10,7 +10,7 @@ partial void PrepareReactionsListForIssueCommentArguments( ref string owner, ref string repo, ref int commentId, - ref global::GitHub.ReactionsListForIssueCommentContent content, + ref global::GitHub.ReactionsListForIssueCommentContent? content, ref int perPage, ref int page); partial void PrepareReactionsListForIssueCommentRequest( @@ -19,7 +19,7 @@ partial void PrepareReactionsListForIssueCommentRequest( string owner, string repo, int commentId, - global::GitHub.ReactionsListForIssueCommentContent content, + global::GitHub.ReactionsListForIssueCommentContent? content, int perPage, int page); partial void ProcessReactionsListForIssueCommentResponse( @@ -51,7 +51,7 @@ partial void ProcessReactionsListForIssueCommentResponseContent( string owner, string repo, int commentId, - global::GitHub.ReactionsListForIssueCommentContent content, + global::GitHub.ReactionsListForIssueCommentContent? content, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForPullRequestReviewComment.g.cs b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForPullRequestReviewComment.g.cs index 0636b1ba..fc420f1d 100644 --- a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForPullRequestReviewComment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForPullRequestReviewComment.g.cs @@ -10,7 +10,7 @@ partial void PrepareReactionsListForPullRequestReviewCommentArguments( ref string owner, ref string repo, ref int commentId, - ref global::GitHub.ReactionsListForPullRequestReviewCommentContent content, + ref global::GitHub.ReactionsListForPullRequestReviewCommentContent? content, ref int perPage, ref int page); partial void PrepareReactionsListForPullRequestReviewCommentRequest( @@ -19,7 +19,7 @@ partial void PrepareReactionsListForPullRequestReviewCommentRequest( string owner, string repo, int commentId, - global::GitHub.ReactionsListForPullRequestReviewCommentContent content, + global::GitHub.ReactionsListForPullRequestReviewCommentContent? content, int perPage, int page); partial void ProcessReactionsListForPullRequestReviewCommentResponse( @@ -51,7 +51,7 @@ partial void ProcessReactionsListForPullRequestReviewCommentResponseContent( string owner, string repo, int commentId, - global::GitHub.ReactionsListForPullRequestReviewCommentContent content, + global::GitHub.ReactionsListForPullRequestReviewCommentContent? content, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForRelease.g.cs b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForRelease.g.cs index 5ccb2616..f83ef58b 100644 --- a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForRelease.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForRelease.g.cs @@ -10,7 +10,7 @@ partial void PrepareReactionsListForReleaseArguments( ref string owner, ref string repo, ref int releaseId, - ref global::GitHub.ReactionsListForReleaseContent content, + ref global::GitHub.ReactionsListForReleaseContent? content, ref int perPage, ref int page); partial void PrepareReactionsListForReleaseRequest( @@ -19,7 +19,7 @@ partial void PrepareReactionsListForReleaseRequest( string owner, string repo, int releaseId, - global::GitHub.ReactionsListForReleaseContent content, + global::GitHub.ReactionsListForReleaseContent? content, int perPage, int page); partial void ProcessReactionsListForReleaseResponse( @@ -51,7 +51,7 @@ partial void ProcessReactionsListForReleaseResponseContent( string owner, string repo, int releaseId, - global::GitHub.ReactionsListForReleaseContent content, + global::GitHub.ReactionsListForReleaseContent? content, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.cs b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.cs index 8d4bf461..b55f85e5 100644 --- a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.cs @@ -11,7 +11,7 @@ partial void PrepareReactionsListForTeamDiscussionCommentInOrgArguments( ref string teamSlug, ref int discussionNumber, ref int commentNumber, - ref global::GitHub.ReactionsListForTeamDiscussionCommentInOrgContent content, + ref global::GitHub.ReactionsListForTeamDiscussionCommentInOrgContent? content, ref int perPage, ref int page); partial void PrepareReactionsListForTeamDiscussionCommentInOrgRequest( @@ -21,7 +21,7 @@ partial void PrepareReactionsListForTeamDiscussionCommentInOrgRequest( string teamSlug, int discussionNumber, int commentNumber, - global::GitHub.ReactionsListForTeamDiscussionCommentInOrgContent content, + global::GitHub.ReactionsListForTeamDiscussionCommentInOrgContent? content, int perPage, int page); partial void ProcessReactionsListForTeamDiscussionCommentInOrgResponse( @@ -58,7 +58,7 @@ partial void ProcessReactionsListForTeamDiscussionCommentInOrgResponseContent( string teamSlug, int discussionNumber, int commentNumber, - global::GitHub.ReactionsListForTeamDiscussionCommentInOrgContent content, + global::GitHub.ReactionsListForTeamDiscussionCommentInOrgContent? content, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.cs b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.cs index 8db8f656..cb2bcb1e 100644 --- a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.cs @@ -10,7 +10,7 @@ partial void PrepareReactionsListForTeamDiscussionCommentLegacyArguments( ref int teamId, ref int discussionNumber, ref int commentNumber, - ref global::GitHub.ReactionsListForTeamDiscussionCommentLegacyContent content, + ref global::GitHub.ReactionsListForTeamDiscussionCommentLegacyContent? content, ref int perPage, ref int page); partial void PrepareReactionsListForTeamDiscussionCommentLegacyRequest( @@ -19,7 +19,7 @@ partial void PrepareReactionsListForTeamDiscussionCommentLegacyRequest( int teamId, int discussionNumber, int commentNumber, - global::GitHub.ReactionsListForTeamDiscussionCommentLegacyContent content, + global::GitHub.ReactionsListForTeamDiscussionCommentLegacyContent? content, int perPage, int page); partial void ProcessReactionsListForTeamDiscussionCommentLegacyResponse( @@ -55,7 +55,7 @@ partial void ProcessReactionsListForTeamDiscussionCommentLegacyResponseContent( int teamId, int discussionNumber, int commentNumber, - global::GitHub.ReactionsListForTeamDiscussionCommentLegacyContent content, + global::GitHub.ReactionsListForTeamDiscussionCommentLegacyContent? content, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionInOrg.g.cs b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionInOrg.g.cs index 6577e5d7..39c868c1 100644 --- a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionInOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionInOrg.g.cs @@ -10,7 +10,7 @@ partial void PrepareReactionsListForTeamDiscussionInOrgArguments( ref string org, ref string teamSlug, ref int discussionNumber, - ref global::GitHub.ReactionsListForTeamDiscussionInOrgContent content, + ref global::GitHub.ReactionsListForTeamDiscussionInOrgContent? content, ref int perPage, ref int page); partial void PrepareReactionsListForTeamDiscussionInOrgRequest( @@ -19,7 +19,7 @@ partial void PrepareReactionsListForTeamDiscussionInOrgRequest( string org, string teamSlug, int discussionNumber, - global::GitHub.ReactionsListForTeamDiscussionInOrgContent content, + global::GitHub.ReactionsListForTeamDiscussionInOrgContent? content, int perPage, int page); partial void ProcessReactionsListForTeamDiscussionInOrgResponse( @@ -54,7 +54,7 @@ partial void ProcessReactionsListForTeamDiscussionInOrgResponseContent( string org, string teamSlug, int discussionNumber, - global::GitHub.ReactionsListForTeamDiscussionInOrgContent content, + global::GitHub.ReactionsListForTeamDiscussionInOrgContent? content, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionLegacy.g.cs b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionLegacy.g.cs index d29ce975..50dc3a35 100644 --- a/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionLegacy.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReactionsClient.ReactionsListForTeamDiscussionLegacy.g.cs @@ -9,7 +9,7 @@ partial void PrepareReactionsListForTeamDiscussionLegacyArguments( global::System.Net.Http.HttpClient httpClient, ref int teamId, ref int discussionNumber, - ref global::GitHub.ReactionsListForTeamDiscussionLegacyContent content, + ref global::GitHub.ReactionsListForTeamDiscussionLegacyContent? content, ref int perPage, ref int page); partial void PrepareReactionsListForTeamDiscussionLegacyRequest( @@ -17,7 +17,7 @@ partial void PrepareReactionsListForTeamDiscussionLegacyRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, int teamId, int discussionNumber, - global::GitHub.ReactionsListForTeamDiscussionLegacyContent content, + global::GitHub.ReactionsListForTeamDiscussionLegacyContent? content, int perPage, int page); partial void ProcessReactionsListForTeamDiscussionLegacyResponse( @@ -51,7 +51,7 @@ partial void ProcessReactionsListForTeamDiscussionLegacyResponseContent( public async global::System.Threading.Tasks.Task> ReactionsListForTeamDiscussionLegacyAsync( int teamId, int discussionNumber, - global::GitHub.ReactionsListForTeamDiscussionLegacyContent content, + global::GitHub.ReactionsListForTeamDiscussionLegacyContent? content, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAcceptInvitationForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAcceptInvitationForAuthenticatedUser.g.cs index c1c17800..8ef9ce92 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAcceptInvitationForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAcceptInvitationForAuthenticatedUser.g.cs @@ -38,7 +38,7 @@ partial void ProcessReposAcceptInvitationForAuthenticatedUserResponseContent( invitationId: ref invitationId); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/repository_invitations/{invitationId}", global::System.UriKind.RelativeOrAbsolute)); PrepareRequest( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddAppAccessRestrictions.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddAppAccessRestrictions.g.cs index 5898b159..e598fa3b 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddAppAccessRestrictions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddAppAccessRestrictions.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposAddAppAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void PrepareReposAddAppAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void ProcessReposAddAppAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -42,11 +42,9 @@ partial void ProcessReposAddAppAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::System.OneOf> request, + global::System.OneOf?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposAddAppAccessRestrictionsArguments( @@ -60,7 +58,7 @@ partial void ProcessReposAddAppAccessRestrictionsResponseContent( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposAddAppAccessRestrictionsRequestIListString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposAddAppAccessRestrictionsRequest2IListString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -121,21 +119,16 @@ partial void ProcessReposAddAppAccessRestrictionsResponseContent( /// /// /// - /// - /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposAddAppAccessRestrictionsAsync( string owner, string repo, string branch, - global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf> + var request = new global::System.OneOf?> { - Apps = apps, }; return await ReposAddAppAccessRestrictionsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddStatusCheckContexts.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddStatusCheckContexts.g.cs index 77a44114..55649d8c 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddStatusCheckContexts.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddStatusCheckContexts.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposAddStatusCheckContextsArguments( ref string owner, ref string repo, ref string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void PrepareReposAddStatusCheckContextsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void ProcessReposAddStatusCheckContextsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -41,11 +41,9 @@ partial void ProcessReposAddStatusCheckContextsResponseContent( string owner, string repo, string branch, - global::System.OneOf> request, + global::System.OneOf?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposAddStatusCheckContextsArguments( @@ -59,7 +57,7 @@ partial void ProcessReposAddStatusCheckContextsResponseContent( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposAddStatusCheckContextsRequestIListString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposAddStatusCheckContextsRequest2IListString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -119,21 +117,16 @@ partial void ProcessReposAddStatusCheckContextsResponseContent( /// /// /// - /// - /// The name of the status checks - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposAddStatusCheckContextsAsync( string owner, string repo, string branch, - global::System.Collections.Generic.IList contexts, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf> + var request = new global::System.OneOf?> { - Contexts = contexts, }; return await ReposAddStatusCheckContextsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddTeamAccessRestrictions.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddTeamAccessRestrictions.g.cs index 02c2e957..036fa8a0 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddTeamAccessRestrictions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddTeamAccessRestrictions.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposAddTeamAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void PrepareReposAddTeamAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void ProcessReposAddTeamAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -42,11 +42,9 @@ partial void ProcessReposAddTeamAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::System.OneOf> request, + global::System.OneOf?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposAddTeamAccessRestrictionsArguments( @@ -60,7 +58,7 @@ partial void ProcessReposAddTeamAccessRestrictionsResponseContent( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposAddTeamAccessRestrictionsRequestIListString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposAddTeamAccessRestrictionsRequest2IListString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -121,21 +119,16 @@ partial void ProcessReposAddTeamAccessRestrictionsResponseContent( /// /// /// - /// - /// The slug values for teams - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposAddTeamAccessRestrictionsAsync( string owner, string repo, string branch, - global::System.Collections.Generic.IList teams, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf> + var request = new global::System.OneOf?> { - Teams = teams, }; return await ReposAddTeamAccessRestrictionsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddUserAccessRestrictions.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddUserAccessRestrictions.g.cs index 1f21263d..daf63d97 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddUserAccessRestrictions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposAddUserAccessRestrictions.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposAddUserAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void PrepareReposAddUserAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void ProcessReposAddUserAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -45,11 +45,9 @@ partial void ProcessReposAddUserAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::System.OneOf> request, + global::System.OneOf?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposAddUserAccessRestrictionsArguments( @@ -63,7 +61,7 @@ partial void ProcessReposAddUserAccessRestrictionsResponseContent( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposAddUserAccessRestrictionsRequestIListString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposAddUserAccessRestrictionsRequest2IListString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -127,21 +125,16 @@ partial void ProcessReposAddUserAccessRestrictionsResponseContent( /// /// /// - /// - /// The username for users - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposAddUserAccessRestrictionsAsync( string owner, string repo, string branch, - global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf> + var request = new global::System.OneOf?> { - Users = users, }; return await ReposAddUserAccessRestrictionsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCancelPagesDeployment.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCancelPagesDeployment.g.cs index ef6b6ab0..85c67b7d 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCancelPagesDeployment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCancelPagesDeployment.g.cs @@ -9,13 +9,13 @@ partial void PrepareReposCancelPagesDeploymentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::System.OneOf pagesDeploymentId); + ref global::System.OneOf pagesDeploymentId); partial void PrepareReposCancelPagesDeploymentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::System.OneOf pagesDeploymentId); + global::System.OneOf pagesDeploymentId); partial void ProcessReposCancelPagesDeploymentResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -38,7 +38,7 @@ partial void ProcessReposCancelPagesDeploymentResponseContent( public async global::System.Threading.Tasks.Task ReposCancelPagesDeploymentAsync( string owner, string repo, - global::System.OneOf pagesDeploymentId, + global::System.OneOf pagesDeploymentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCodeownersErrors.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCodeownersErrors.g.cs index 3079cce6..55fcc057 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCodeownersErrors.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCodeownersErrors.g.cs @@ -9,13 +9,13 @@ partial void PrepareReposCodeownersErrorsArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string @ref); + ref string? @ref); partial void PrepareReposCodeownersErrorsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string @ref); + string? @ref); partial void ProcessReposCodeownersErrorsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -40,7 +40,7 @@ partial void ProcessReposCodeownersErrorsResponseContent( public async global::System.Threading.Tasks.Task ReposCodeownersErrorsAsync( string owner, string repo, - string @ref, + string? @ref, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateDeployment.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateDeployment.g.cs index 67243262..ab1cf672 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateDeployment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateDeployment.g.cs @@ -215,8 +215,8 @@ partial void ProcessReposCreateDeploymentResponseContent( string @ref, string? task = "deploy", bool autoMerge = true, - global::System.Collections.Generic.IList? requiredContexts = default, - global::System.OneOf? payload = default, + global::System.Collections.Generic.IList? requiredContexts = default, + global::System.OneOf? payload = default, string? environment = "production", string? description = default, bool transientEnvironment = false, diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateDispatchEvent.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateDispatchEvent.g.cs index 0c69fb37..426fcc18 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateDispatchEvent.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateDispatchEvent.g.cs @@ -130,7 +130,7 @@ partial void ProcessReposCreateDispatchEventResponseContent( string owner, string repo, string eventType, - object? clientPayload = default, + global::GitHub.ReposCreateDispatchEventRequestClientPayload? clientPayload = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.ReposCreateDispatchEventRequest diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateInOrg.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateInOrg.g.cs index 680fb065..8135113d 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateInOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateInOrg.g.cs @@ -231,7 +231,7 @@ partial void ProcessReposCreateInOrgResponseContent( global::GitHub.ReposCreateInOrgRequestSquashMergeCommitMessage? squashMergeCommitMessage = default, global::GitHub.ReposCreateInOrgRequestMergeCommitTitle? mergeCommitTitle = default, global::GitHub.ReposCreateInOrgRequestMergeCommitMessage? mergeCommitMessage = default, - object? customProperties = default, + global::GitHub.ReposCreateInOrgRequestCustomProperties? customProperties = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.ReposCreateInOrgRequest diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.cs index 62dc7060..98b50702 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.cs @@ -53,7 +53,7 @@ partial void ProcessReposCreateOrUpdateCustomPropertiesValuesResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/properties/values", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ReposCreateOrUpdateCustomPropertiesValuesRequest), diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateOrUpdateEnvironment.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateOrUpdateEnvironment.g.cs index 1edbf627..e5a19edf 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateOrUpdateEnvironment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateOrUpdateEnvironment.g.cs @@ -151,7 +151,7 @@ partial void ProcessReposCreateOrUpdateEnvironmentResponseContent( string environmentName, int waitTimer = default, bool preventSelfReview = default, - global::System.Collections.Generic.IList? reviewers = default, + global::System.Collections.Generic.IList? reviewers = default, global::GitHub.DeploymentBranchPolicySettings? deploymentBranchPolicy = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreatePagesSite.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreatePagesSite.g.cs index 43b9b07c..73a86f45 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreatePagesSite.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreatePagesSite.g.cs @@ -42,8 +42,6 @@ partial void ProcessReposCreatePagesSiteResponseContent( global::GitHub.ReposCreatePagesSiteRequest request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposCreatePagesSiteArguments( @@ -116,15 +114,25 @@ partial void ProcessReposCreatePagesSiteResponseContent( /// /// /// + /// + /// The process in which the Page will be built. Possible values are `"legacy"` and `"workflow"`. + /// + /// + /// The source branch and directory used to publish your Pages site. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ReposCreatePagesSiteAsync( string owner, string repo, + global::GitHub.ReposCreatePagesSiteRequestBuildType? buildType = default, + global::GitHub.ReposCreatePagesSiteRequestSource? source = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.ReposCreatePagesSiteRequest { + BuildType = buildType, + Source = source, }; return await ReposCreatePagesSiteAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateWebhook.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateWebhook.g.cs index b50ec15c..b6449fed 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateWebhook.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposCreateWebhook.g.cs @@ -135,7 +135,7 @@ partial void ProcessReposCreateWebhookResponseContent( string repo, string? name = default, global::GitHub.ReposCreateWebhookRequestConfig? config = default, - global::System.Collections.Generic.IList? events = default, + global::System.Collections.Generic.IList? events = default, bool active = true, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetClones.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetClones.g.cs index 8a100f60..59c262ae 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetClones.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetClones.g.cs @@ -9,13 +9,13 @@ partial void PrepareReposGetClonesArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::GitHub.ReposGetClonesPer per); + ref global::GitHub.ReposGetClonesPer? per); partial void PrepareReposGetClonesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::GitHub.ReposGetClonesPer per); + global::GitHub.ReposGetClonesPer? per); partial void ProcessReposGetClonesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -39,7 +39,7 @@ partial void ProcessReposGetClonesResponseContent( public async global::System.Threading.Tasks.Task ReposGetClonesAsync( string owner, string repo, - global::GitHub.ReposGetClonesPer per, + global::GitHub.ReposGetClonesPer? per, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetCodeFrequencyStats.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetCodeFrequencyStats.g.cs index f379868f..c39071c4 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetCodeFrequencyStats.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetCodeFrequencyStats.g.cs @@ -33,7 +33,7 @@ partial void ProcessReposGetCodeFrequencyStatsResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ReposGetCodeFrequencyStatsAsync( + public async global::System.Threading.Tasks.Task>> ReposGetCodeFrequencyStatsAsync( string owner, string repo, global::System.Threading.CancellationToken cancellationToken = default) @@ -91,7 +91,7 @@ partial void ProcessReposGetCodeFrequencyStatsResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.IListCodeFrequencyStat) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.IListIListInt32) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetContent.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetContent.g.cs index b0d8fd8e..fb33563c 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetContent.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetContent.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposGetContentArguments( ref string owner, ref string repo, ref string path, - ref string @ref); + ref string? @ref); partial void PrepareReposGetContentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string path, - string @ref); + string? @ref); partial void ProcessReposGetContentResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -58,7 +58,7 @@ partial void ProcessReposGetContentResponseContent( string owner, string repo, string path, - string @ref, + string? @ref, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetOrgRuleSuite.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetOrgRuleSuite.g.cs index 0f49ef49..5ef15b47 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetOrgRuleSuite.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetOrgRuleSuite.g.cs @@ -32,7 +32,7 @@ partial void ProcessReposGetOrgRuleSuiteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ReposGetOrgRuleSuiteAsync( + public async global::System.Threading.Tasks.Task ReposGetOrgRuleSuiteAsync( string org, int ruleSuiteId, global::System.Threading.CancellationToken cancellationToken = default) @@ -90,7 +90,7 @@ partial void ProcessReposGetOrgRuleSuiteResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.RuleSuite) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.RuleSuite2) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetOrgRuleSuites.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetOrgRuleSuites.g.cs index 70f44bef..63a64b07 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetOrgRuleSuites.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetOrgRuleSuites.g.cs @@ -8,22 +8,22 @@ public partial class ReposClient partial void PrepareReposGetOrgRuleSuitesArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref string @ref, + ref string? @ref, ref int repositoryName, - ref global::GitHub.ReposGetOrgRuleSuitesTimePeriod timePeriod, - ref string actorName, - ref global::GitHub.ReposGetOrgRuleSuitesRuleSuiteResult ruleSuiteResult, + ref global::GitHub.ReposGetOrgRuleSuitesTimePeriod? timePeriod, + ref string? actorName, + ref global::GitHub.ReposGetOrgRuleSuitesRuleSuiteResult? ruleSuiteResult, ref int perPage, ref int page); partial void PrepareReposGetOrgRuleSuitesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - string @ref, + string? @ref, int repositoryName, - global::GitHub.ReposGetOrgRuleSuitesTimePeriod timePeriod, - string actorName, - global::GitHub.ReposGetOrgRuleSuitesRuleSuiteResult ruleSuiteResult, + global::GitHub.ReposGetOrgRuleSuitesTimePeriod? timePeriod, + string? actorName, + global::GitHub.ReposGetOrgRuleSuitesRuleSuiteResult? ruleSuiteResult, int perPage, int page); partial void ProcessReposGetOrgRuleSuitesResponse( @@ -58,13 +58,13 @@ partial void ProcessReposGetOrgRuleSuitesResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ReposGetOrgRuleSuitesAsync( + public async global::System.Threading.Tasks.Task> ReposGetOrgRuleSuitesAsync( string org, - string @ref, + string? @ref, int repositoryName, - global::GitHub.ReposGetOrgRuleSuitesTimePeriod timePeriod, - string actorName, - global::GitHub.ReposGetOrgRuleSuitesRuleSuiteResult ruleSuiteResult, + global::GitHub.ReposGetOrgRuleSuitesTimePeriod? timePeriod, + string? actorName, + global::GitHub.ReposGetOrgRuleSuitesRuleSuiteResult? ruleSuiteResult, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) @@ -134,7 +134,7 @@ partial void ProcessReposGetOrgRuleSuitesResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.IListRuleSuites) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.IListRuleSuite) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetPagesDeployment.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetPagesDeployment.g.cs index d440f77e..39841482 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetPagesDeployment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetPagesDeployment.g.cs @@ -9,13 +9,13 @@ partial void PrepareReposGetPagesDeploymentArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::System.OneOf pagesDeploymentId); + ref global::System.OneOf pagesDeploymentId); partial void PrepareReposGetPagesDeploymentRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::System.OneOf pagesDeploymentId); + global::System.OneOf pagesDeploymentId); partial void ProcessReposGetPagesDeploymentResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -38,7 +38,7 @@ partial void ProcessReposGetPagesDeploymentResponseContent( public async global::System.Threading.Tasks.Task ReposGetPagesDeploymentAsync( string owner, string repo, - global::System.OneOf pagesDeploymentId, + global::System.OneOf pagesDeploymentId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetPunchCardStats.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetPunchCardStats.g.cs index 93df85da..2743a591 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetPunchCardStats.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetPunchCardStats.g.cs @@ -35,7 +35,7 @@ partial void ProcessReposGetPunchCardStatsResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ReposGetPunchCardStatsAsync( + public async global::System.Threading.Tasks.Task>> ReposGetPunchCardStatsAsync( string owner, string repo, global::System.Threading.CancellationToken cancellationToken = default) @@ -93,7 +93,7 @@ partial void ProcessReposGetPunchCardStatsResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.IListCodeFrequencyStat) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.IListIListInt32) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetReadme.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetReadme.g.cs index dd962caa..0a954754 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetReadme.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetReadme.g.cs @@ -9,13 +9,13 @@ partial void PrepareReposGetReadmeArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string @ref); + ref string? @ref); partial void PrepareReposGetReadmeRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string @ref); + string? @ref); partial void ProcessReposGetReadmeResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -40,7 +40,7 @@ partial void ProcessReposGetReadmeResponseContent( public async global::System.Threading.Tasks.Task ReposGetReadmeAsync( string owner, string repo, - string @ref, + string? @ref, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetReadmeInDirectory.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetReadmeInDirectory.g.cs index f31c31b5..2d95800e 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetReadmeInDirectory.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetReadmeInDirectory.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposGetReadmeInDirectoryArguments( ref string owner, ref string repo, ref string dir, - ref string @ref); + ref string? @ref); partial void PrepareReposGetReadmeInDirectoryRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string dir, - string @ref); + string? @ref); partial void ProcessReposGetReadmeInDirectoryResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -44,7 +44,7 @@ partial void ProcessReposGetReadmeInDirectoryResponseContent( string owner, string repo, string dir, - string @ref, + string? @ref, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetRepoRuleSuite.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetRepoRuleSuite.g.cs index 2068f4d6..bff5e8b7 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetRepoRuleSuite.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetRepoRuleSuite.g.cs @@ -35,7 +35,7 @@ partial void ProcessReposGetRepoRuleSuiteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ReposGetRepoRuleSuiteAsync( + public async global::System.Threading.Tasks.Task ReposGetRepoRuleSuiteAsync( string owner, string repo, int ruleSuiteId, @@ -96,7 +96,7 @@ partial void ProcessReposGetRepoRuleSuiteResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.RuleSuite) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.RuleSuite2) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetRepoRuleSuites.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetRepoRuleSuites.g.cs index adebeaa8..0a7aa5f2 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetRepoRuleSuites.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetRepoRuleSuites.g.cs @@ -9,10 +9,10 @@ partial void PrepareReposGetRepoRuleSuitesArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string @ref, - ref global::GitHub.ReposGetRepoRuleSuitesTimePeriod timePeriod, - ref string actorName, - ref global::GitHub.ReposGetRepoRuleSuitesRuleSuiteResult ruleSuiteResult, + ref string? @ref, + ref global::GitHub.ReposGetRepoRuleSuitesTimePeriod? timePeriod, + ref string? actorName, + ref global::GitHub.ReposGetRepoRuleSuitesRuleSuiteResult? ruleSuiteResult, ref int perPage, ref int page); partial void PrepareReposGetRepoRuleSuitesRequest( @@ -20,10 +20,10 @@ partial void PrepareReposGetRepoRuleSuitesRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string @ref, - global::GitHub.ReposGetRepoRuleSuitesTimePeriod timePeriod, - string actorName, - global::GitHub.ReposGetRepoRuleSuitesRuleSuiteResult ruleSuiteResult, + string? @ref, + global::GitHub.ReposGetRepoRuleSuitesTimePeriod? timePeriod, + string? actorName, + global::GitHub.ReposGetRepoRuleSuitesRuleSuiteResult? ruleSuiteResult, int perPage, int page); partial void ProcessReposGetRepoRuleSuitesResponse( @@ -58,13 +58,13 @@ partial void ProcessReposGetRepoRuleSuitesResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ReposGetRepoRuleSuitesAsync( + public async global::System.Threading.Tasks.Task> ReposGetRepoRuleSuitesAsync( string owner, string repo, - string @ref, - global::GitHub.ReposGetRepoRuleSuitesTimePeriod timePeriod, - string actorName, - global::GitHub.ReposGetRepoRuleSuitesRuleSuiteResult ruleSuiteResult, + string? @ref, + global::GitHub.ReposGetRepoRuleSuitesTimePeriod? timePeriod, + string? actorName, + global::GitHub.ReposGetRepoRuleSuitesRuleSuiteResult? ruleSuiteResult, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) @@ -134,7 +134,7 @@ partial void ProcessReposGetRepoRuleSuitesResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.IListRuleSuites) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.IListRuleSuite) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetViews.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetViews.g.cs index 64cd8150..2d9cd6af 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetViews.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposGetViews.g.cs @@ -9,13 +9,13 @@ partial void PrepareReposGetViewsArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::GitHub.ReposGetViewsPer per); + ref global::GitHub.ReposGetViewsPer? per); partial void PrepareReposGetViewsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::GitHub.ReposGetViewsPer per); + global::GitHub.ReposGetViewsPer? per); partial void ProcessReposGetViewsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -39,7 +39,7 @@ partial void ProcessReposGetViewsResponseContent( public async global::System.Threading.Tasks.Task ReposGetViewsAsync( string owner, string repo, - global::GitHub.ReposGetViewsPer per, + global::GitHub.ReposGetViewsPer? per, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListActivities.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListActivities.g.cs index 7254b46c..d964cd75 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListActivities.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListActivities.g.cs @@ -9,27 +9,27 @@ partial void PrepareReposListActivitiesArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::GitHub.ReposListActivitiesDirection direction, + ref global::GitHub.ReposListActivitiesDirection? direction, ref int perPage, - ref string before, - ref string after, - ref string @ref, - ref string actor, - ref global::GitHub.ReposListActivitiesTimePeriod timePeriod, - ref global::GitHub.ReposListActivitiesActivityType activityType); + ref string? before, + ref string? after, + ref string? @ref, + ref string? actor, + ref global::GitHub.ReposListActivitiesTimePeriod? timePeriod, + ref global::GitHub.ReposListActivitiesActivityType? activityType); partial void PrepareReposListActivitiesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::GitHub.ReposListActivitiesDirection direction, + global::GitHub.ReposListActivitiesDirection? direction, int perPage, - string before, - string after, - string @ref, - string actor, - global::GitHub.ReposListActivitiesTimePeriod timePeriod, - global::GitHub.ReposListActivitiesActivityType activityType); + string? before, + string? after, + string? @ref, + string? actor, + global::GitHub.ReposListActivitiesTimePeriod? timePeriod, + global::GitHub.ReposListActivitiesActivityType? activityType); partial void ProcessReposListActivitiesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -64,14 +64,14 @@ partial void ProcessReposListActivitiesResponseContent( public async global::System.Threading.Tasks.Task> ReposListActivitiesAsync( string owner, string repo, - global::GitHub.ReposListActivitiesDirection direction, + global::GitHub.ReposListActivitiesDirection? direction, int perPage, - string before, - string after, - string @ref, - string actor, - global::GitHub.ReposListActivitiesTimePeriod timePeriod, - global::GitHub.ReposListActivitiesActivityType activityType, + string? before, + string? after, + string? @ref, + string? actor, + global::GitHub.ReposListActivitiesTimePeriod? timePeriod, + global::GitHub.ReposListActivitiesActivityType? activityType, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListAttestations.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListAttestations.g.cs index 212649c7..e991a324 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListAttestations.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListAttestations.g.cs @@ -10,8 +10,8 @@ partial void PrepareReposListAttestationsArguments( ref string owner, ref string repo, ref int perPage, - ref string before, - ref string after, + ref string? before, + ref string? after, ref string subjectDigest); partial void PrepareReposListAttestationsRequest( global::System.Net.Http.HttpClient httpClient, @@ -19,8 +19,8 @@ partial void PrepareReposListAttestationsRequest( string owner, string repo, int perPage, - string before, - string after, + string? before, + string? after, string subjectDigest); partial void ProcessReposListAttestationsResponse( global::System.Net.Http.HttpClient httpClient, @@ -51,8 +51,8 @@ partial void ProcessReposListAttestationsResponseContent( string owner, string repo, int perPage, - string before, - string after, + string? before, + string? after, string subjectDigest, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListCollaborators.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListCollaborators.g.cs index 0f762d6f..21f29f26 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListCollaborators.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListCollaborators.g.cs @@ -9,8 +9,8 @@ partial void PrepareReposListCollaboratorsArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::GitHub.ReposListCollaboratorsAffiliation affiliation, - ref global::GitHub.ReposListCollaboratorsPermission permission, + ref global::GitHub.ReposListCollaboratorsAffiliation? affiliation, + ref global::GitHub.ReposListCollaboratorsPermission? permission, ref int perPage, ref int page); partial void PrepareReposListCollaboratorsRequest( @@ -18,8 +18,8 @@ partial void PrepareReposListCollaboratorsRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::GitHub.ReposListCollaboratorsAffiliation affiliation, - global::GitHub.ReposListCollaboratorsPermission permission, + global::GitHub.ReposListCollaboratorsAffiliation? affiliation, + global::GitHub.ReposListCollaboratorsPermission? permission, int perPage, int page); partial void ProcessReposListCollaboratorsResponse( @@ -56,8 +56,8 @@ partial void ProcessReposListCollaboratorsResponseContent( public async global::System.Threading.Tasks.Task> ReposListCollaboratorsAsync( string owner, string repo, - global::GitHub.ReposListCollaboratorsAffiliation affiliation, - global::GitHub.ReposListCollaboratorsPermission permission, + global::GitHub.ReposListCollaboratorsAffiliation? affiliation, + global::GitHub.ReposListCollaboratorsPermission? permission, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListCommits.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListCommits.g.cs index 3f524c2d..e0e58105 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListCommits.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListCommits.g.cs @@ -9,10 +9,10 @@ partial void PrepareReposListCommitsArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string sha, - ref string path, - ref string author, - ref string committer, + ref string? sha, + ref string? path, + ref string? author, + ref string? committer, global::System.DateTime since, global::System.DateTime until, ref int perPage, @@ -22,10 +22,10 @@ partial void PrepareReposListCommitsRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string sha, - string path, - string author, - string committer, + string? sha, + string? path, + string? author, + string? committer, global::System.DateTime since, global::System.DateTime until, int perPage, @@ -85,10 +85,10 @@ partial void ProcessReposListCommitsResponseContent( public async global::System.Threading.Tasks.Task> ReposListCommitsAsync( string owner, string repo, - string sha, - string path, - string author, - string committer, + string? sha, + string? path, + string? author, + string? committer, global::System.DateTime since, global::System.DateTime until, int perPage, diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListContributors.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListContributors.g.cs index f5a42869..e8e37fd4 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListContributors.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListContributors.g.cs @@ -9,7 +9,7 @@ partial void PrepareReposListContributorsArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string anon, + ref string? anon, ref int perPage, ref int page); partial void PrepareReposListContributorsRequest( @@ -17,7 +17,7 @@ partial void PrepareReposListContributorsRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string anon, + string? anon, int perPage, int page); partial void ProcessReposListContributorsResponse( @@ -48,7 +48,7 @@ partial void ProcessReposListContributorsResponseContent( public async global::System.Threading.Tasks.Task> ReposListContributorsAsync( string owner, string repo, - string anon, + string? anon, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListDeployments.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListDeployments.g.cs index f0eed47a..988ce5f9 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListDeployments.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListDeployments.g.cs @@ -9,9 +9,9 @@ partial void PrepareReposListDeploymentsArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref string sha, - ref string @ref, - ref string task, + ref string? sha, + ref string? @ref, + ref string? task, ref string? environment, ref int perPage, ref int page); @@ -20,9 +20,9 @@ partial void PrepareReposListDeploymentsRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - string sha, - string @ref, - string task, + string? sha, + string? @ref, + string? task, string? environment, int perPage, int page); @@ -64,9 +64,9 @@ partial void ProcessReposListDeploymentsResponseContent( public async global::System.Threading.Tasks.Task> ReposListDeploymentsAsync( string owner, string repo, - string sha, - string @ref, - string task, + string? sha, + string? @ref, + string? task, string? environment, int perPage, int page, diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForAuthenticatedUser.g.cs index 2652ab1a..14f8632f 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForAuthenticatedUser.g.cs @@ -7,11 +7,11 @@ public partial class ReposClient { partial void PrepareReposListForAuthenticatedUserArguments( global::System.Net.Http.HttpClient httpClient, - ref global::GitHub.ReposListForAuthenticatedUserVisibility visibility, - ref string affiliation, - ref global::GitHub.ReposListForAuthenticatedUserType type, - ref global::GitHub.ReposListForAuthenticatedUserSort sort, - ref global::GitHub.ReposListForAuthenticatedUserDirection direction, + ref global::GitHub.ReposListForAuthenticatedUserVisibility? visibility, + ref string? affiliation, + ref global::GitHub.ReposListForAuthenticatedUserType? type, + ref global::GitHub.ReposListForAuthenticatedUserSort? sort, + ref global::GitHub.ReposListForAuthenticatedUserDirection? direction, ref int perPage, ref int page, global::System.DateTime since, @@ -19,11 +19,11 @@ partial void PrepareReposListForAuthenticatedUserArguments( partial void PrepareReposListForAuthenticatedUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::GitHub.ReposListForAuthenticatedUserVisibility visibility, - string affiliation, - global::GitHub.ReposListForAuthenticatedUserType type, - global::GitHub.ReposListForAuthenticatedUserSort sort, - global::GitHub.ReposListForAuthenticatedUserDirection direction, + global::GitHub.ReposListForAuthenticatedUserVisibility? visibility, + string? affiliation, + global::GitHub.ReposListForAuthenticatedUserType? type, + global::GitHub.ReposListForAuthenticatedUserSort? sort, + global::GitHub.ReposListForAuthenticatedUserDirection? direction, int perPage, int page, global::System.DateTime since, @@ -66,11 +66,11 @@ partial void ProcessReposListForAuthenticatedUserResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposListForAuthenticatedUserAsync( - global::GitHub.ReposListForAuthenticatedUserVisibility visibility, - string affiliation, - global::GitHub.ReposListForAuthenticatedUserType type, - global::GitHub.ReposListForAuthenticatedUserSort sort, - global::GitHub.ReposListForAuthenticatedUserDirection direction, + global::GitHub.ReposListForAuthenticatedUserVisibility? visibility, + string? affiliation, + global::GitHub.ReposListForAuthenticatedUserType? type, + global::GitHub.ReposListForAuthenticatedUserSort? sort, + global::GitHub.ReposListForAuthenticatedUserDirection? direction, int perPage, int page, global::System.DateTime since, diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForOrg.g.cs index 9486e1a2..a48cd90a 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForOrg.g.cs @@ -8,18 +8,18 @@ public partial class ReposClient partial void PrepareReposListForOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref global::GitHub.ReposListForOrgType type, - ref global::GitHub.ReposListForOrgSort sort, - ref global::GitHub.ReposListForOrgDirection direction, + ref global::GitHub.ReposListForOrgType? type, + ref global::GitHub.ReposListForOrgSort? sort, + ref global::GitHub.ReposListForOrgDirection? direction, ref int perPage, ref int page); partial void PrepareReposListForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - global::GitHub.ReposListForOrgType type, - global::GitHub.ReposListForOrgSort sort, - global::GitHub.ReposListForOrgDirection direction, + global::GitHub.ReposListForOrgType? type, + global::GitHub.ReposListForOrgSort? sort, + global::GitHub.ReposListForOrgDirection? direction, int perPage, int page); partial void ProcessReposListForOrgResponse( @@ -55,9 +55,9 @@ partial void ProcessReposListForOrgResponseContent( /// public async global::System.Threading.Tasks.Task> ReposListForOrgAsync( string org, - global::GitHub.ReposListForOrgType type, - global::GitHub.ReposListForOrgSort sort, - global::GitHub.ReposListForOrgDirection direction, + global::GitHub.ReposListForOrgType? type, + global::GitHub.ReposListForOrgSort? sort, + global::GitHub.ReposListForOrgDirection? direction, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForUser.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForUser.g.cs index c52fa33d..86d69001 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForUser.g.cs @@ -8,18 +8,18 @@ public partial class ReposClient partial void PrepareReposListForUserArguments( global::System.Net.Http.HttpClient httpClient, ref string username, - ref global::GitHub.ReposListForUserType type, - ref global::GitHub.ReposListForUserSort sort, - ref global::GitHub.ReposListForUserDirection direction, + ref global::GitHub.ReposListForUserType? type, + ref global::GitHub.ReposListForUserSort? sort, + ref global::GitHub.ReposListForUserDirection? direction, ref int perPage, ref int page); partial void PrepareReposListForUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string username, - global::GitHub.ReposListForUserType type, - global::GitHub.ReposListForUserSort sort, - global::GitHub.ReposListForUserDirection direction, + global::GitHub.ReposListForUserType? type, + global::GitHub.ReposListForUserSort? sort, + global::GitHub.ReposListForUserDirection? direction, int perPage, int page); partial void ProcessReposListForUserResponse( @@ -53,9 +53,9 @@ partial void ProcessReposListForUserResponseContent( /// public async global::System.Threading.Tasks.Task> ReposListForUserAsync( string username, - global::GitHub.ReposListForUserType type, - global::GitHub.ReposListForUserSort sort, - global::GitHub.ReposListForUserDirection direction, + global::GitHub.ReposListForUserType? type, + global::GitHub.ReposListForUserSort? sort, + global::GitHub.ReposListForUserDirection? direction, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForks.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForks.g.cs index 1d5de930..78b0d2ac 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForks.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListForks.g.cs @@ -9,7 +9,7 @@ partial void PrepareReposListForksArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::GitHub.ReposListForksSort sort, + ref global::GitHub.ReposListForksSort? sort, ref int perPage, ref int page); partial void PrepareReposListForksRequest( @@ -17,7 +17,7 @@ partial void PrepareReposListForksRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::GitHub.ReposListForksSort sort, + global::GitHub.ReposListForksSort? sort, int perPage, int page); partial void ProcessReposListForksResponse( @@ -48,7 +48,7 @@ partial void ProcessReposListForksResponseContent( public async global::System.Threading.Tasks.Task> ReposListForksAsync( string owner, string repo, - global::GitHub.ReposListForksSort sort, + global::GitHub.ReposListForksSort? sort, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListWebhookDeliveries.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListWebhookDeliveries.g.cs index 0fa7d6dd..c34dcb6c 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListWebhookDeliveries.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposListWebhookDeliveries.g.cs @@ -11,7 +11,7 @@ partial void PrepareReposListWebhookDeliveriesArguments( ref string repo, ref int hookId, ref int perPage, - ref string cursor, + ref string? cursor, ref bool redelivery); partial void PrepareReposListWebhookDeliveriesRequest( global::System.Net.Http.HttpClient httpClient, @@ -20,7 +20,7 @@ partial void PrepareReposListWebhookDeliveriesRequest( string repo, int hookId, int perPage, - string cursor, + string? cursor, bool redelivery); partial void ProcessReposListWebhookDeliveriesResponse( global::System.Net.Http.HttpClient httpClient, @@ -50,7 +50,7 @@ partial void ProcessReposListWebhookDeliveriesResponseContent( string repo, int hookId, int perPage, - string cursor, + string? cursor, bool redelivery, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRedeliverWebhookDelivery.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRedeliverWebhookDelivery.g.cs index 8d6bdaea..f3546947 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRedeliverWebhookDelivery.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRedeliverWebhookDelivery.g.cs @@ -37,7 +37,7 @@ partial void ProcessReposRedeliverWebhookDeliveryResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ReposRedeliverWebhookDeliveryAsync( + public async global::System.Threading.Tasks.Task ReposRedeliverWebhookDeliveryAsync( string owner, string repo, int hookId, @@ -101,7 +101,7 @@ partial void ProcessReposRedeliverWebhookDeliveryResponseContent( } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.Object) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.ReposRedeliverWebhookDeliveryResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveAppAccessRestrictions.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveAppAccessRestrictions.g.cs index 2bf92cb7..6ca08af7 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveAppAccessRestrictions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveAppAccessRestrictions.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposRemoveAppAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void PrepareReposRemoveAppAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void ProcessReposRemoveAppAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -42,11 +42,9 @@ partial void ProcessReposRemoveAppAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::System.OneOf> request, + global::System.OneOf?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposRemoveAppAccessRestrictionsArguments( @@ -60,7 +58,7 @@ partial void ProcessReposRemoveAppAccessRestrictionsResponseContent( method: global::System.Net.Http.HttpMethod.Delete, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposRemoveAppAccessRestrictionsRequestIListString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposRemoveAppAccessRestrictionsRequest2IListString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -121,21 +119,16 @@ partial void ProcessReposRemoveAppAccessRestrictionsResponseContent( /// /// /// - /// - /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposRemoveAppAccessRestrictionsAsync( string owner, string repo, string branch, - global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf> + var request = new global::System.OneOf?> { - Apps = apps, }; return await ReposRemoveAppAccessRestrictionsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveStatusCheckContexts.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveStatusCheckContexts.g.cs index c8c2ffde..d806779a 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveStatusCheckContexts.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveStatusCheckContexts.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposRemoveStatusCheckContextsArguments( ref string owner, ref string repo, ref string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void PrepareReposRemoveStatusCheckContextsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void ProcessReposRemoveStatusCheckContextsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -41,11 +41,9 @@ partial void ProcessReposRemoveStatusCheckContextsResponseContent( string owner, string repo, string branch, - global::System.OneOf> request, + global::System.OneOf?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposRemoveStatusCheckContextsArguments( @@ -59,7 +57,7 @@ partial void ProcessReposRemoveStatusCheckContextsResponseContent( method: global::System.Net.Http.HttpMethod.Delete, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposRemoveStatusCheckContextsRequestIListString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposRemoveStatusCheckContextsRequest2IListString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -119,21 +117,16 @@ partial void ProcessReposRemoveStatusCheckContextsResponseContent( /// /// /// - /// - /// The name of the status checks - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposRemoveStatusCheckContextsAsync( string owner, string repo, string branch, - global::System.Collections.Generic.IList contexts, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf> + var request = new global::System.OneOf?> { - Contexts = contexts, }; return await ReposRemoveStatusCheckContextsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveTeamAccessRestrictions.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveTeamAccessRestrictions.g.cs index d32d1742..6b4c3d5f 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveTeamAccessRestrictions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveTeamAccessRestrictions.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposRemoveTeamAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void PrepareReposRemoveTeamAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void ProcessReposRemoveTeamAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -42,11 +42,9 @@ partial void ProcessReposRemoveTeamAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::System.OneOf> request, + global::System.OneOf?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposRemoveTeamAccessRestrictionsArguments( @@ -60,7 +58,7 @@ partial void ProcessReposRemoveTeamAccessRestrictionsResponseContent( method: global::System.Net.Http.HttpMethod.Delete, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposRemoveTeamAccessRestrictionsRequestIListString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposRemoveTeamAccessRestrictionsRequest2IListString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -121,21 +119,16 @@ partial void ProcessReposRemoveTeamAccessRestrictionsResponseContent( /// /// /// - /// - /// The slug values for teams - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposRemoveTeamAccessRestrictionsAsync( string owner, string repo, string branch, - global::System.Collections.Generic.IList teams, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf> + var request = new global::System.OneOf?> { - Teams = teams, }; return await ReposRemoveTeamAccessRestrictionsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveUserAccessRestrictions.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveUserAccessRestrictions.g.cs index bd134dd0..8ecf4f5d 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveUserAccessRestrictions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposRemoveUserAccessRestrictions.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposRemoveUserAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void PrepareReposRemoveUserAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void ProcessReposRemoveUserAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -45,11 +45,9 @@ partial void ProcessReposRemoveUserAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::System.OneOf> request, + global::System.OneOf?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposRemoveUserAccessRestrictionsArguments( @@ -63,7 +61,7 @@ partial void ProcessReposRemoveUserAccessRestrictionsResponseContent( method: global::System.Net.Http.HttpMethod.Delete, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposRemoveUserAccessRestrictionsRequestIListString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposRemoveUserAccessRestrictionsRequest2IListString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -127,21 +125,16 @@ partial void ProcessReposRemoveUserAccessRestrictionsResponseContent( /// /// /// - /// - /// The username for users - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposRemoveUserAccessRestrictionsAsync( string owner, string repo, string branch, - global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf> + var request = new global::System.OneOf?> { - Users = users, }; return await ReposRemoveUserAccessRestrictionsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetAppAccessRestrictions.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetAppAccessRestrictions.g.cs index 0429b408..d4115651 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetAppAccessRestrictions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetAppAccessRestrictions.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposSetAppAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void PrepareReposSetAppAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void ProcessReposSetAppAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -42,11 +42,9 @@ partial void ProcessReposSetAppAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::System.OneOf> request, + global::System.OneOf?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposSetAppAccessRestrictionsArguments( @@ -60,7 +58,7 @@ partial void ProcessReposSetAppAccessRestrictionsResponseContent( method: global::System.Net.Http.HttpMethod.Put, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposSetAppAccessRestrictionsRequestIListString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposSetAppAccessRestrictionsRequest2IListString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -121,21 +119,16 @@ partial void ProcessReposSetAppAccessRestrictionsResponseContent( /// /// /// - /// - /// The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposSetAppAccessRestrictionsAsync( string owner, string repo, string branch, - global::System.Collections.Generic.IList apps, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf> + var request = new global::System.OneOf?> { - Apps = apps, }; return await ReposSetAppAccessRestrictionsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetStatusCheckContexts.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetStatusCheckContexts.g.cs index 81735500..4c1cc06b 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetStatusCheckContexts.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetStatusCheckContexts.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposSetStatusCheckContextsArguments( ref string owner, ref string repo, ref string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void PrepareReposSetStatusCheckContextsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void ProcessReposSetStatusCheckContextsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -41,11 +41,9 @@ partial void ProcessReposSetStatusCheckContextsResponseContent( string owner, string repo, string branch, - global::System.OneOf> request, + global::System.OneOf?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposSetStatusCheckContextsArguments( @@ -59,7 +57,7 @@ partial void ProcessReposSetStatusCheckContextsResponseContent( method: global::System.Net.Http.HttpMethod.Put, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposSetStatusCheckContextsRequestIListString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposSetStatusCheckContextsRequest2IListString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -119,21 +117,16 @@ partial void ProcessReposSetStatusCheckContextsResponseContent( /// /// /// - /// - /// The name of the status checks - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposSetStatusCheckContextsAsync( string owner, string repo, string branch, - global::System.Collections.Generic.IList contexts, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf> + var request = new global::System.OneOf?> { - Contexts = contexts, }; return await ReposSetStatusCheckContextsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetTeamAccessRestrictions.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetTeamAccessRestrictions.g.cs index 9b8363b6..4bd060b5 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetTeamAccessRestrictions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetTeamAccessRestrictions.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposSetTeamAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void PrepareReposSetTeamAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void ProcessReposSetTeamAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -42,11 +42,9 @@ partial void ProcessReposSetTeamAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::System.OneOf> request, + global::System.OneOf?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposSetTeamAccessRestrictionsArguments( @@ -60,7 +58,7 @@ partial void ProcessReposSetTeamAccessRestrictionsResponseContent( method: global::System.Net.Http.HttpMethod.Put, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposSetTeamAccessRestrictionsRequestIListString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposSetTeamAccessRestrictionsRequest2IListString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -121,21 +119,16 @@ partial void ProcessReposSetTeamAccessRestrictionsResponseContent( /// /// /// - /// - /// The slug values for teams - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposSetTeamAccessRestrictionsAsync( string owner, string repo, string branch, - global::System.Collections.Generic.IList teams, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf> + var request = new global::System.OneOf?> { - Teams = teams, }; return await ReposSetTeamAccessRestrictionsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetUserAccessRestrictions.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetUserAccessRestrictions.g.cs index f716a6ff..d913cefd 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetUserAccessRestrictions.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposSetUserAccessRestrictions.g.cs @@ -10,14 +10,14 @@ partial void PrepareReposSetUserAccessRestrictionsArguments( ref string owner, ref string repo, ref string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void PrepareReposSetUserAccessRestrictionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, string branch, - global::System.OneOf> request); + global::System.OneOf?> request); partial void ProcessReposSetUserAccessRestrictionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -45,11 +45,9 @@ partial void ProcessReposSetUserAccessRestrictionsResponseContent( string owner, string repo, string branch, - global::System.OneOf> request, + global::System.OneOf?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposSetUserAccessRestrictionsArguments( @@ -63,7 +61,7 @@ partial void ProcessReposSetUserAccessRestrictionsResponseContent( method: global::System.Net.Http.HttpMethod.Put, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposSetUserAccessRestrictionsRequestIListString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfReposSetUserAccessRestrictionsRequest2IListString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -127,21 +125,16 @@ partial void ProcessReposSetUserAccessRestrictionsResponseContent( /// /// /// - /// - /// The username for users - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReposSetUserAccessRestrictionsAsync( string owner, string repo, string branch, - global::System.Collections.Generic.IList users, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf> + var request = new global::System.OneOf?> { - Users = users, }; return await ReposSetUserAccessRestrictionsAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdate.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdate.g.cs index f14bc9a0..a2072d0a 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdate.g.cs @@ -51,7 +51,7 @@ partial void ProcessReposUpdateResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ReposUpdateRequest), diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateCommitComment.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateCommitComment.g.cs index 13f54529..9b414c27 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateCommitComment.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateCommitComment.g.cs @@ -61,7 +61,7 @@ partial void ProcessReposUpdateCommitCommentResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/comments/{commentId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ReposUpdateCommitCommentRequest), diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateInformationAboutPagesSite.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateInformationAboutPagesSite.g.cs index 8ec0a5dc..4f1e890d 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateInformationAboutPagesSite.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateInformationAboutPagesSite.g.cs @@ -42,8 +42,6 @@ partial void ProcessReposUpdateInformationAboutPagesSiteResponseContent( global::GitHub.ReposUpdateInformationAboutPagesSiteRequest request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareReposUpdateInformationAboutPagesSiteArguments( @@ -116,15 +114,33 @@ partial void ProcessReposUpdateInformationAboutPagesSiteResponseContent( /// /// /// + /// + /// Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://docs.github.com/pages/configuring-a-custom-domain-for-your-github-pages-site)." + /// + /// + /// Specify whether HTTPS should be enforced for the repository. + /// + /// + /// The process by which the GitHub Pages site will be built. `workflow` means that the site is built by a custom GitHub Actions workflow. `legacy` means that the site is built by GitHub when changes are pushed to a specific branch. + /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ReposUpdateInformationAboutPagesSiteAsync( string owner, string repo, + string? cname = default, + bool httpsEnforced = default, + global::GitHub.ReposUpdateInformationAboutPagesSiteRequestBuildType? buildType = default, + global::System.AnyOf? source = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.ReposUpdateInformationAboutPagesSiteRequest { + Cname = cname, + HttpsEnforced = httpsEnforced, + BuildType = buildType, + Source = source, }; return await ReposUpdateInformationAboutPagesSiteAsync( diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateInvitation.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateInvitation.g.cs index 7e7b8372..5307545c 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateInvitation.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateInvitation.g.cs @@ -55,7 +55,7 @@ partial void ProcessReposUpdateInvitationResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/invitations/{invitationId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ReposUpdateInvitationRequest), diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdatePullRequestReviewProtection.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdatePullRequestReviewProtection.g.cs index 852db1f5..6bf37334 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdatePullRequestReviewProtection.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdatePullRequestReviewProtection.g.cs @@ -59,7 +59,7 @@ partial void ProcessReposUpdatePullRequestReviewProtectionResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ReposUpdatePullRequestReviewProtectionRequest), diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateRelease.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateRelease.g.cs index e9cf9c82..4757785a 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateRelease.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateRelease.g.cs @@ -56,7 +56,7 @@ partial void ProcessReposUpdateReleaseResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/releases/{releaseId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ReposUpdateReleaseRequest), diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateReleaseAsset.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateReleaseAsset.g.cs index ca2aaf51..fc31259d 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateReleaseAsset.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateReleaseAsset.g.cs @@ -56,7 +56,7 @@ partial void ProcessReposUpdateReleaseAssetResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/releases/assets/{assetId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ReposUpdateReleaseAssetRequest), diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateStatusCheckProtection.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateStatusCheckProtection.g.cs index 4684e9f7..9d4ef596 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateStatusCheckProtection.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateStatusCheckProtection.g.cs @@ -57,7 +57,7 @@ partial void ProcessReposUpdateStatusCheckProtectionResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ReposUpdateStatusCheckProtectionRequest), @@ -134,7 +134,7 @@ partial void ProcessReposUpdateStatusCheckProtectionResponseContent( string repo, string branch, bool strict = default, - global::System.Collections.Generic.IList? checks = default, + global::System.Collections.Generic.IList? checks = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.ReposUpdateStatusCheckProtectionRequest diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateWebhook.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateWebhook.g.cs index e17b8482..ba6ae87e 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateWebhook.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateWebhook.g.cs @@ -56,7 +56,7 @@ partial void ProcessReposUpdateWebhookResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/hooks/{hookId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ReposUpdateWebhookRequest), @@ -143,9 +143,9 @@ partial void ProcessReposUpdateWebhookResponseContent( string repo, int hookId, global::GitHub.WebhookConfig? config = default, - global::System.Collections.Generic.IList? events = default, - global::System.Collections.Generic.IList? addEvents = default, - global::System.Collections.Generic.IList? removeEvents = default, + global::System.Collections.Generic.IList? events = default, + global::System.Collections.Generic.IList? addEvents = default, + global::System.Collections.Generic.IList? removeEvents = default, bool active = true, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateWebhookConfigForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateWebhookConfigForRepo.g.cs index 2e0c370c..5724793d 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateWebhookConfigForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUpdateWebhookConfigForRepo.g.cs @@ -57,7 +57,7 @@ partial void ProcessReposUpdateWebhookConfigForRepoResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/hooks/{hookId}/config", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.ReposUpdateWebhookConfigForRepoRequest), @@ -143,7 +143,7 @@ partial void ProcessReposUpdateWebhookConfigForRepoResponseContent( string? url = default, string? contentType = default, string? secret = default, - global::System.OneOf? insecureSsl = default, + global::GitHub.WebhookConfigInsecureSsl? insecureSsl = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.ReposUpdateWebhookConfigForRepoRequest diff --git a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUploadReleaseAsset.g.cs b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUploadReleaseAsset.g.cs index 725f8308..b7047678 100644 --- a/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUploadReleaseAsset.g.cs +++ b/src/libs/GitHub/Generated/GitHub.ReposClient.ReposUploadReleaseAsset.g.cs @@ -11,7 +11,7 @@ partial void PrepareReposUploadReleaseAssetArguments( ref string repo, ref int releaseId, ref string name, - ref string label, + ref string? label, byte[] request); partial void PrepareReposUploadReleaseAssetRequest( global::System.Net.Http.HttpClient httpClient, @@ -20,7 +20,7 @@ partial void PrepareReposUploadReleaseAssetRequest( string repo, int releaseId, string name, - string label, + string? label, byte[] request); partial void ProcessReposUploadReleaseAssetResponse( global::System.Net.Http.HttpClient httpClient, @@ -60,7 +60,7 @@ partial void ProcessReposUploadReleaseAssetResponseContent( string repo, int releaseId, string name, - string label, + string? label, byte[] request, global::System.Threading.CancellationToken cancellationToken = default) { @@ -164,7 +164,7 @@ partial void ProcessReposUploadReleaseAssetResponseContent( string repo, int releaseId, string name, - string label = default, + string? label = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new byte[] diff --git a/src/libs/GitHub/Generated/GitHub.SearchClient.SearchCode.g.cs b/src/libs/GitHub/Generated/GitHub.SearchClient.SearchCode.g.cs index 4375819d..4aaf7a2d 100644 --- a/src/libs/GitHub/Generated/GitHub.SearchClient.SearchCode.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SearchClient.SearchCode.g.cs @@ -8,16 +8,16 @@ public partial class SearchClient partial void PrepareSearchCodeArguments( global::System.Net.Http.HttpClient httpClient, ref string q, - ref global::GitHub.SearchCodeSort sort, - ref global::GitHub.SearchCodeOrder order, + ref global::GitHub.SearchCodeSort? sort, + ref global::GitHub.SearchCodeOrder? order, ref int perPage, ref int page); partial void PrepareSearchCodeRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string q, - global::GitHub.SearchCodeSort sort, - global::GitHub.SearchCodeOrder order, + global::GitHub.SearchCodeSort? sort, + global::GitHub.SearchCodeOrder? order, int perPage, int page); partial void ProcessSearchCodeResponse( @@ -59,8 +59,8 @@ partial void ProcessSearchCodeResponseContent( /// public async global::System.Threading.Tasks.Task SearchCodeAsync( string q, - global::GitHub.SearchCodeSort sort, - global::GitHub.SearchCodeOrder order, + global::GitHub.SearchCodeSort? sort, + global::GitHub.SearchCodeOrder? order, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.SearchClient.SearchCommits.g.cs b/src/libs/GitHub/Generated/GitHub.SearchClient.SearchCommits.g.cs index 76752e72..08d06ee0 100644 --- a/src/libs/GitHub/Generated/GitHub.SearchClient.SearchCommits.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SearchClient.SearchCommits.g.cs @@ -8,16 +8,16 @@ public partial class SearchClient partial void PrepareSearchCommitsArguments( global::System.Net.Http.HttpClient httpClient, ref string q, - ref global::GitHub.SearchCommitsSort sort, - ref global::GitHub.SearchCommitsOrder order, + ref global::GitHub.SearchCommitsSort? sort, + ref global::GitHub.SearchCommitsOrder? order, ref int perPage, ref int page); partial void PrepareSearchCommitsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string q, - global::GitHub.SearchCommitsSort sort, - global::GitHub.SearchCommitsOrder order, + global::GitHub.SearchCommitsSort? sort, + global::GitHub.SearchCommitsOrder? order, int perPage, int page); partial void ProcessSearchCommitsResponse( @@ -52,8 +52,8 @@ partial void ProcessSearchCommitsResponseContent( /// public async global::System.Threading.Tasks.Task SearchCommitsAsync( string q, - global::GitHub.SearchCommitsSort sort, - global::GitHub.SearchCommitsOrder order, + global::GitHub.SearchCommitsSort? sort, + global::GitHub.SearchCommitsOrder? order, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.SearchClient.SearchIssuesAndPullRequests.g.cs b/src/libs/GitHub/Generated/GitHub.SearchClient.SearchIssuesAndPullRequests.g.cs index 7c455143..bbd9c1cb 100644 --- a/src/libs/GitHub/Generated/GitHub.SearchClient.SearchIssuesAndPullRequests.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SearchClient.SearchIssuesAndPullRequests.g.cs @@ -8,16 +8,16 @@ public partial class SearchClient partial void PrepareSearchIssuesAndPullRequestsArguments( global::System.Net.Http.HttpClient httpClient, ref string q, - ref global::GitHub.SearchIssuesAndPullRequestsSort sort, - ref global::GitHub.SearchIssuesAndPullRequestsOrder order, + ref global::GitHub.SearchIssuesAndPullRequestsSort? sort, + ref global::GitHub.SearchIssuesAndPullRequestsOrder? order, ref int perPage, ref int page); partial void PrepareSearchIssuesAndPullRequestsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string q, - global::GitHub.SearchIssuesAndPullRequestsSort sort, - global::GitHub.SearchIssuesAndPullRequestsOrder order, + global::GitHub.SearchIssuesAndPullRequestsSort? sort, + global::GitHub.SearchIssuesAndPullRequestsOrder? order, int perPage, int page); partial void ProcessSearchIssuesAndPullRequestsResponse( @@ -55,8 +55,8 @@ partial void ProcessSearchIssuesAndPullRequestsResponseContent( /// public async global::System.Threading.Tasks.Task SearchIssuesAndPullRequestsAsync( string q, - global::GitHub.SearchIssuesAndPullRequestsSort sort, - global::GitHub.SearchIssuesAndPullRequestsOrder order, + global::GitHub.SearchIssuesAndPullRequestsSort? sort, + global::GitHub.SearchIssuesAndPullRequestsOrder? order, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.SearchClient.SearchLabels.g.cs b/src/libs/GitHub/Generated/GitHub.SearchClient.SearchLabels.g.cs index 1f7914c8..e86c3b92 100644 --- a/src/libs/GitHub/Generated/GitHub.SearchClient.SearchLabels.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SearchClient.SearchLabels.g.cs @@ -9,8 +9,8 @@ partial void PrepareSearchLabelsArguments( global::System.Net.Http.HttpClient httpClient, ref int repositoryId, ref string q, - ref global::GitHub.SearchLabelsSort sort, - ref global::GitHub.SearchLabelsOrder order, + ref global::GitHub.SearchLabelsSort? sort, + ref global::GitHub.SearchLabelsOrder? order, ref int perPage, ref int page); partial void PrepareSearchLabelsRequest( @@ -18,8 +18,8 @@ partial void PrepareSearchLabelsRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, int repositoryId, string q, - global::GitHub.SearchLabelsSort sort, - global::GitHub.SearchLabelsOrder order, + global::GitHub.SearchLabelsSort? sort, + global::GitHub.SearchLabelsOrder? order, int perPage, int page); partial void ProcessSearchLabelsResponse( @@ -56,8 +56,8 @@ partial void ProcessSearchLabelsResponseContent( public async global::System.Threading.Tasks.Task SearchLabelsAsync( int repositoryId, string q, - global::GitHub.SearchLabelsSort sort, - global::GitHub.SearchLabelsOrder order, + global::GitHub.SearchLabelsSort? sort, + global::GitHub.SearchLabelsOrder? order, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.SearchClient.SearchRepos.g.cs b/src/libs/GitHub/Generated/GitHub.SearchClient.SearchRepos.g.cs index 478f7b2a..add53016 100644 --- a/src/libs/GitHub/Generated/GitHub.SearchClient.SearchRepos.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SearchClient.SearchRepos.g.cs @@ -8,16 +8,16 @@ public partial class SearchClient partial void PrepareSearchReposArguments( global::System.Net.Http.HttpClient httpClient, ref string q, - ref global::GitHub.SearchReposSort sort, - ref global::GitHub.SearchReposOrder order, + ref global::GitHub.SearchReposSort? sort, + ref global::GitHub.SearchReposOrder? order, ref int perPage, ref int page); partial void PrepareSearchReposRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string q, - global::GitHub.SearchReposSort sort, - global::GitHub.SearchReposOrder order, + global::GitHub.SearchReposSort? sort, + global::GitHub.SearchReposOrder? order, int perPage, int page); partial void ProcessSearchReposResponse( @@ -52,8 +52,8 @@ partial void ProcessSearchReposResponseContent( /// public async global::System.Threading.Tasks.Task SearchReposAsync( string q, - global::GitHub.SearchReposSort sort, - global::GitHub.SearchReposOrder order, + global::GitHub.SearchReposSort? sort, + global::GitHub.SearchReposOrder? order, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.SearchClient.SearchUsers.g.cs b/src/libs/GitHub/Generated/GitHub.SearchClient.SearchUsers.g.cs index e0352a2d..2911a202 100644 --- a/src/libs/GitHub/Generated/GitHub.SearchClient.SearchUsers.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SearchClient.SearchUsers.g.cs @@ -8,16 +8,16 @@ public partial class SearchClient partial void PrepareSearchUsersArguments( global::System.Net.Http.HttpClient httpClient, ref string q, - ref global::GitHub.SearchUsersSort sort, - ref global::GitHub.SearchUsersOrder order, + ref global::GitHub.SearchUsersSort? sort, + ref global::GitHub.SearchUsersOrder? order, ref int perPage, ref int page); partial void PrepareSearchUsersRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string q, - global::GitHub.SearchUsersSort sort, - global::GitHub.SearchUsersOrder order, + global::GitHub.SearchUsersSort? sort, + global::GitHub.SearchUsersOrder? order, int perPage, int page); partial void ProcessSearchUsersResponse( @@ -53,8 +53,8 @@ partial void ProcessSearchUsersResponseContent( /// public async global::System.Threading.Tasks.Task SearchUsersAsync( string q, - global::GitHub.SearchUsersSort sort, - global::GitHub.SearchUsersOrder order, + global::GitHub.SearchUsersSort? sort, + global::GitHub.SearchUsersOrder? order, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningListAlertsForEnterprise.g.cs b/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningListAlertsForEnterprise.g.cs index 8558f073..42390748 100644 --- a/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningListAlertsForEnterprise.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningListAlertsForEnterprise.g.cs @@ -8,28 +8,28 @@ public partial class SecretScanningClient partial void PrepareSecretScanningListAlertsForEnterpriseArguments( global::System.Net.Http.HttpClient httpClient, ref string enterprise, - ref global::GitHub.SecretScanningListAlertsForEnterpriseState state, - ref string secretType, - ref string resolution, - ref global::GitHub.SecretScanningListAlertsForEnterpriseSort sort, - ref global::GitHub.SecretScanningListAlertsForEnterpriseDirection direction, + ref global::GitHub.SecretScanningListAlertsForEnterpriseState? state, + ref string? secretType, + ref string? resolution, + ref global::GitHub.SecretScanningListAlertsForEnterpriseSort? sort, + ref global::GitHub.SecretScanningListAlertsForEnterpriseDirection? direction, ref int perPage, - ref string before, - ref string after, - ref string validity); + ref string? before, + ref string? after, + ref string? validity); partial void PrepareSecretScanningListAlertsForEnterpriseRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string enterprise, - global::GitHub.SecretScanningListAlertsForEnterpriseState state, - string secretType, - string resolution, - global::GitHub.SecretScanningListAlertsForEnterpriseSort sort, - global::GitHub.SecretScanningListAlertsForEnterpriseDirection direction, + global::GitHub.SecretScanningListAlertsForEnterpriseState? state, + string? secretType, + string? resolution, + global::GitHub.SecretScanningListAlertsForEnterpriseSort? sort, + global::GitHub.SecretScanningListAlertsForEnterpriseDirection? direction, int perPage, - string before, - string after, - string validity); + string? before, + string? after, + string? validity); partial void ProcessSecretScanningListAlertsForEnterpriseResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -66,15 +66,15 @@ partial void ProcessSecretScanningListAlertsForEnterpriseResponseContent( /// public async global::System.Threading.Tasks.Task> SecretScanningListAlertsForEnterpriseAsync( string enterprise, - global::GitHub.SecretScanningListAlertsForEnterpriseState state, - string secretType, - string resolution, - global::GitHub.SecretScanningListAlertsForEnterpriseSort sort, - global::GitHub.SecretScanningListAlertsForEnterpriseDirection direction, + global::GitHub.SecretScanningListAlertsForEnterpriseState? state, + string? secretType, + string? resolution, + global::GitHub.SecretScanningListAlertsForEnterpriseSort? sort, + global::GitHub.SecretScanningListAlertsForEnterpriseDirection? direction, int perPage, - string before, - string after, - string validity, + string? before, + string? after, + string? validity, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningListAlertsForOrg.g.cs b/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningListAlertsForOrg.g.cs index 996cb21a..334b0236 100644 --- a/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningListAlertsForOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningListAlertsForOrg.g.cs @@ -8,30 +8,30 @@ public partial class SecretScanningClient partial void PrepareSecretScanningListAlertsForOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref global::GitHub.SecretScanningListAlertsForOrgState state, - ref string secretType, - ref string resolution, - ref global::GitHub.SecretScanningListAlertsForOrgSort sort, - ref global::GitHub.SecretScanningListAlertsForOrgDirection direction, + ref global::GitHub.SecretScanningListAlertsForOrgState? state, + ref string? secretType, + ref string? resolution, + ref global::GitHub.SecretScanningListAlertsForOrgSort? sort, + ref global::GitHub.SecretScanningListAlertsForOrgDirection? direction, ref int page, ref int perPage, - ref string before, - ref string after, - ref string validity); + ref string? before, + ref string? after, + ref string? validity); partial void PrepareSecretScanningListAlertsForOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - global::GitHub.SecretScanningListAlertsForOrgState state, - string secretType, - string resolution, - global::GitHub.SecretScanningListAlertsForOrgSort sort, - global::GitHub.SecretScanningListAlertsForOrgDirection direction, + global::GitHub.SecretScanningListAlertsForOrgState? state, + string? secretType, + string? resolution, + global::GitHub.SecretScanningListAlertsForOrgSort? sort, + global::GitHub.SecretScanningListAlertsForOrgDirection? direction, int page, int perPage, - string before, - string after, - string validity); + string? before, + string? after, + string? validity); partial void ProcessSecretScanningListAlertsForOrgResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -70,16 +70,16 @@ partial void ProcessSecretScanningListAlertsForOrgResponseContent( /// public async global::System.Threading.Tasks.Task> SecretScanningListAlertsForOrgAsync( string org, - global::GitHub.SecretScanningListAlertsForOrgState state, - string secretType, - string resolution, - global::GitHub.SecretScanningListAlertsForOrgSort sort, - global::GitHub.SecretScanningListAlertsForOrgDirection direction, + global::GitHub.SecretScanningListAlertsForOrgState? state, + string? secretType, + string? resolution, + global::GitHub.SecretScanningListAlertsForOrgSort? sort, + global::GitHub.SecretScanningListAlertsForOrgDirection? direction, int page, int perPage, - string before, - string after, - string validity, + string? before, + string? after, + string? validity, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningListAlertsForRepo.g.cs b/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningListAlertsForRepo.g.cs index 54498fa4..3d691ed5 100644 --- a/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningListAlertsForRepo.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningListAlertsForRepo.g.cs @@ -9,31 +9,31 @@ partial void PrepareSecretScanningListAlertsForRepoArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::GitHub.SecretScanningListAlertsForRepoState state, - ref string secretType, - ref string resolution, - ref global::GitHub.SecretScanningListAlertsForRepoSort sort, - ref global::GitHub.SecretScanningListAlertsForRepoDirection direction, + ref global::GitHub.SecretScanningListAlertsForRepoState? state, + ref string? secretType, + ref string? resolution, + ref global::GitHub.SecretScanningListAlertsForRepoSort? sort, + ref global::GitHub.SecretScanningListAlertsForRepoDirection? direction, ref int page, ref int perPage, - ref string before, - ref string after, - ref string validity); + ref string? before, + ref string? after, + ref string? validity); partial void PrepareSecretScanningListAlertsForRepoRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::GitHub.SecretScanningListAlertsForRepoState state, - string secretType, - string resolution, - global::GitHub.SecretScanningListAlertsForRepoSort sort, - global::GitHub.SecretScanningListAlertsForRepoDirection direction, + global::GitHub.SecretScanningListAlertsForRepoState? state, + string? secretType, + string? resolution, + global::GitHub.SecretScanningListAlertsForRepoSort? sort, + global::GitHub.SecretScanningListAlertsForRepoDirection? direction, int page, int perPage, - string before, - string after, - string validity); + string? before, + string? after, + string? validity); partial void ProcessSecretScanningListAlertsForRepoResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -74,16 +74,16 @@ partial void ProcessSecretScanningListAlertsForRepoResponseContent( public async global::System.Threading.Tasks.Task> SecretScanningListAlertsForRepoAsync( string owner, string repo, - global::GitHub.SecretScanningListAlertsForRepoState state, - string secretType, - string resolution, - global::GitHub.SecretScanningListAlertsForRepoSort sort, - global::GitHub.SecretScanningListAlertsForRepoDirection direction, + global::GitHub.SecretScanningListAlertsForRepoState? state, + string? secretType, + string? resolution, + global::GitHub.SecretScanningListAlertsForRepoSort? sort, + global::GitHub.SecretScanningListAlertsForRepoDirection? direction, int page, int perPage, - string before, - string after, - string validity, + string? before, + string? after, + string? validity, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningUpdateAlert.g.cs b/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningUpdateAlert.g.cs index fc321c9d..c5cc5ea0 100644 --- a/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningUpdateAlert.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SecretScanningClient.SecretScanningUpdateAlert.g.cs @@ -60,7 +60,7 @@ partial void ProcessSecretScanningUpdateAlertResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/secret-scanning/alerts/{alertNumber}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.SecretScanningUpdateAlertRequest), diff --git a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.cs b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.cs index 0951f237..f0bbe955 100644 --- a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.cs @@ -143,8 +143,8 @@ partial void ProcessSecurityAdvisoriesCreatePrivateVulnerabilityReportResponseCo string repo, string summary, string description, - global::System.Collections.Generic.IList? vulnerabilities = default, - global::System.Collections.Generic.IList? cweIds = default, + global::System.Collections.Generic.IList? vulnerabilities = default, + global::System.Collections.Generic.IList? cweIds = default, global::GitHub.PrivateVulnerabilityReportCreateSeverity? severity = default, string? cvssVectorString = default, bool startPrivateFork = false, diff --git a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.cs b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.cs index 4d48cabe..d26c76d6 100644 --- a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.cs @@ -151,10 +151,10 @@ partial void ProcessSecurityAdvisoriesCreateRepositoryAdvisoryResponseContent( string repo, string summary, string description, - global::System.Collections.Generic.IList vulnerabilities, + global::System.Collections.Generic.IList vulnerabilities, string? cveId = default, - global::System.Collections.Generic.IList? cweIds = default, - global::System.Collections.Generic.IList? credits = default, + global::System.Collections.Generic.IList? cweIds = default, + global::System.Collections.Generic.IList? credits = default, global::GitHub.RepositoryAdvisoryCreateSeverity? severity = default, string? cvssVectorString = default, bool startPrivateFork = false, diff --git a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.cs b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.cs index d6609627..3b03ec23 100644 --- a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.cs @@ -37,7 +37,7 @@ partial void ProcessSecurityAdvisoriesCreateRepositoryAdvisoryCveRequestResponse /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task SecurityAdvisoriesCreateRepositoryAdvisoryCveRequestAsync( + public async global::System.Threading.Tasks.Task SecurityAdvisoriesCreateRepositoryAdvisoryCveRequestAsync( string owner, string repo, string ghsaId, @@ -98,7 +98,7 @@ partial void ProcessSecurityAdvisoriesCreateRepositoryAdvisoryCveRequestResponse } return - global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.Object) ?? + global::System.Text.Json.JsonSerializer.Deserialize(__content, global::GitHub.SourceGenerationContext.Default.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequestResponse) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } } diff --git a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.cs b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.cs index d2aa62f6..b07e2946 100644 --- a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.cs @@ -7,41 +7,41 @@ public partial class SecurityAdvisoriesClient { partial void PrepareSecurityAdvisoriesListGlobalAdvisoriesArguments( global::System.Net.Http.HttpClient httpClient, - ref string ghsaId, - ref global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesType type, - ref string cveId, - ref global::GitHub.SecurityAdvisoryEcosystems ecosystem, - ref global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSeverity severity, - ref global::System.OneOf> cwes, + ref string? ghsaId, + ref global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesType? type, + ref string? cveId, + ref global::GitHub.SecurityAdvisoryEcosystems? ecosystem, + ref global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSeverity? severity, + ref global::System.OneOf?>? cwes, ref bool isWithdrawn, - ref global::System.OneOf> affects, - ref string published, - ref string updated, - ref string modified, - ref string before, - ref string after, - ref global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesDirection direction, + ref global::System.OneOf?>? affects, + ref string? published, + ref string? updated, + ref string? modified, + ref string? before, + ref string? after, + ref global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesDirection? direction, ref int perPage, - ref global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSort sort); + ref global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSort? sort); partial void PrepareSecurityAdvisoriesListGlobalAdvisoriesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string ghsaId, - global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesType type, - string cveId, - global::GitHub.SecurityAdvisoryEcosystems ecosystem, - global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSeverity severity, - global::System.OneOf> cwes, + string? ghsaId, + global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesType? type, + string? cveId, + global::GitHub.SecurityAdvisoryEcosystems? ecosystem, + global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSeverity? severity, + global::System.OneOf?>? cwes, bool isWithdrawn, - global::System.OneOf> affects, - string published, - string updated, - string modified, - string before, - string after, - global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesDirection direction, + global::System.OneOf?>? affects, + string? published, + string? updated, + string? modified, + string? before, + string? after, + global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesDirection? direction, int perPage, - global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSort sort); + global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSort? sort); partial void ProcessSecurityAdvisoriesListGlobalAdvisoriesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -85,22 +85,22 @@ partial void ProcessSecurityAdvisoriesListGlobalAdvisoriesResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> SecurityAdvisoriesListGlobalAdvisoriesAsync( - string ghsaId, - global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesType type, - string cveId, - global::GitHub.SecurityAdvisoryEcosystems ecosystem, - global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSeverity severity, - global::System.OneOf> cwes, + string? ghsaId, + global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesType? type, + string? cveId, + global::GitHub.SecurityAdvisoryEcosystems? ecosystem, + global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSeverity? severity, + global::System.OneOf?>? cwes, bool isWithdrawn, - global::System.OneOf> affects, - string published, - string updated, - string modified, - string before, - string after, - global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesDirection direction, + global::System.OneOf?>? affects, + string? published, + string? updated, + string? modified, + string? before, + string? after, + global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesDirection? direction, int perPage, - global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSort sort, + global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSort? sort, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.cs b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.cs index 728918c7..a26f4ab9 100644 --- a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.cs @@ -8,22 +8,22 @@ public partial class SecurityAdvisoriesClient partial void PrepareSecurityAdvisoriesListOrgRepositoryAdvisoriesArguments( global::System.Net.Http.HttpClient httpClient, ref string org, - ref global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesDirection direction, - ref global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesSort sort, - ref string before, - ref string after, + ref global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesDirection? direction, + ref global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesSort? sort, + ref string? before, + ref string? after, ref int perPage, - ref global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesState state); + ref global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesState? state); partial void PrepareSecurityAdvisoriesListOrgRepositoryAdvisoriesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, - global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesDirection direction, - global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesSort sort, - string before, - string after, + global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesDirection? direction, + global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesSort? sort, + string? before, + string? after, int perPage, - global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesState state); + global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesState? state); partial void ProcessSecurityAdvisoriesListOrgRepositoryAdvisoriesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -56,12 +56,12 @@ partial void ProcessSecurityAdvisoriesListOrgRepositoryAdvisoriesResponseContent /// public async global::System.Threading.Tasks.Task> SecurityAdvisoriesListOrgRepositoryAdvisoriesAsync( string org, - global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesDirection direction, - global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesSort sort, - string before, - string after, + global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesDirection? direction, + global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesSort? sort, + string? before, + string? after, int perPage, - global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesState state, + global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesState? state, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.cs b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.cs index 7775f445..6a097733 100644 --- a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.cs @@ -9,23 +9,23 @@ partial void PrepareSecurityAdvisoriesListRepositoryAdvisoriesArguments( global::System.Net.Http.HttpClient httpClient, ref string owner, ref string repo, - ref global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesDirection direction, - ref global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesSort sort, - ref string before, - ref string after, + ref global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesDirection? direction, + ref global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesSort? sort, + ref string? before, + ref string? after, ref int perPage, - ref global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesState state); + ref global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesState? state); partial void PrepareSecurityAdvisoriesListRepositoryAdvisoriesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string owner, string repo, - global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesDirection direction, - global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesSort sort, - string before, - string after, + global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesDirection? direction, + global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesSort? sort, + string? before, + string? after, int perPage, - global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesState state); + global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesState? state); partial void ProcessSecurityAdvisoriesListRepositoryAdvisoriesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -60,12 +60,12 @@ partial void ProcessSecurityAdvisoriesListRepositoryAdvisoriesResponseContent( public async global::System.Threading.Tasks.Task> SecurityAdvisoriesListRepositoryAdvisoriesAsync( string owner, string repo, - global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesDirection direction, - global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesSort sort, - string before, - string after, + global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesDirection? direction, + global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesSort? sort, + string? before, + string? after, int perPage, - global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesState state, + global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesState? state, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.cs b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.cs index 84401967..a7d1ecf9 100644 --- a/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.cs +++ b/src/libs/GitHub/Generated/GitHub.SecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.cs @@ -59,7 +59,7 @@ partial void ProcessSecurityAdvisoriesUpdateRepositoryAdvisoryResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/security-advisories/{ghsaId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.RepositoryAdvisoryUpdate), @@ -167,14 +167,14 @@ partial void ProcessSecurityAdvisoriesUpdateRepositoryAdvisoryResponseContent( string? summary = default, string? description = default, string? cveId = default, - global::System.Collections.Generic.IList? vulnerabilities = default, - global::System.Collections.Generic.IList? cweIds = default, - global::System.Collections.Generic.IList? credits = default, + global::System.Collections.Generic.IList? vulnerabilities = default, + global::System.Collections.Generic.IList? cweIds = default, + global::System.Collections.Generic.IList? credits = default, global::GitHub.RepositoryAdvisoryUpdateSeverity? severity = default, string? cvssVectorString = default, global::GitHub.RepositoryAdvisoryUpdateState? state = default, - global::System.Collections.Generic.IList? collaboratingUsers = default, - global::System.Collections.Generic.IList? collaboratingTeams = default, + global::System.Collections.Generic.IList? collaboratingUsers = default, + global::System.Collections.Generic.IList? collaboratingTeams = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::GitHub.RepositoryAdvisoryUpdate diff --git a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsCreate.g.cs b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsCreate.g.cs index d89f58dd..ed7658af 100644 --- a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsCreate.g.cs +++ b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsCreate.g.cs @@ -148,8 +148,8 @@ partial void ProcessTeamsCreateResponseContent( string org, string name, string? description = default, - global::System.Collections.Generic.IList? maintainers = default, - global::System.Collections.Generic.IList? repoNames = default, + global::System.Collections.Generic.IList? maintainers = default, + global::System.Collections.Generic.IList? repoNames = default, global::GitHub.TeamsCreateRequestPrivacy? privacy = default, global::GitHub.TeamsCreateRequestNotificationSetting? notificationSetting = default, global::GitHub.TeamsCreateRequestPermission? permission = global::GitHub.TeamsCreateRequestPermission.Pull, diff --git a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionCommentsInOrg.g.cs b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionCommentsInOrg.g.cs index 099f8523..84c23ad6 100644 --- a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionCommentsInOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionCommentsInOrg.g.cs @@ -10,7 +10,7 @@ partial void PrepareTeamsListDiscussionCommentsInOrgArguments( ref string org, ref string teamSlug, ref int discussionNumber, - ref global::GitHub.TeamsListDiscussionCommentsInOrgDirection direction, + ref global::GitHub.TeamsListDiscussionCommentsInOrgDirection? direction, ref int perPage, ref int page); partial void PrepareTeamsListDiscussionCommentsInOrgRequest( @@ -19,7 +19,7 @@ partial void PrepareTeamsListDiscussionCommentsInOrgRequest( string org, string teamSlug, int discussionNumber, - global::GitHub.TeamsListDiscussionCommentsInOrgDirection direction, + global::GitHub.TeamsListDiscussionCommentsInOrgDirection? direction, int perPage, int page); partial void ProcessTeamsListDiscussionCommentsInOrgResponse( @@ -56,7 +56,7 @@ partial void ProcessTeamsListDiscussionCommentsInOrgResponseContent( string org, string teamSlug, int discussionNumber, - global::GitHub.TeamsListDiscussionCommentsInOrgDirection direction, + global::GitHub.TeamsListDiscussionCommentsInOrgDirection? direction, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionCommentsLegacy.g.cs b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionCommentsLegacy.g.cs index f9609d70..d7861022 100644 --- a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionCommentsLegacy.g.cs +++ b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionCommentsLegacy.g.cs @@ -9,7 +9,7 @@ partial void PrepareTeamsListDiscussionCommentsLegacyArguments( global::System.Net.Http.HttpClient httpClient, ref int teamId, ref int discussionNumber, - ref global::GitHub.TeamsListDiscussionCommentsLegacyDirection direction, + ref global::GitHub.TeamsListDiscussionCommentsLegacyDirection? direction, ref int perPage, ref int page); partial void PrepareTeamsListDiscussionCommentsLegacyRequest( @@ -17,7 +17,7 @@ partial void PrepareTeamsListDiscussionCommentsLegacyRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, int teamId, int discussionNumber, - global::GitHub.TeamsListDiscussionCommentsLegacyDirection direction, + global::GitHub.TeamsListDiscussionCommentsLegacyDirection? direction, int perPage, int page); partial void ProcessTeamsListDiscussionCommentsLegacyResponse( @@ -53,7 +53,7 @@ partial void ProcessTeamsListDiscussionCommentsLegacyResponseContent( public async global::System.Threading.Tasks.Task> TeamsListDiscussionCommentsLegacyAsync( int teamId, int discussionNumber, - global::GitHub.TeamsListDiscussionCommentsLegacyDirection direction, + global::GitHub.TeamsListDiscussionCommentsLegacyDirection? direction, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionsInOrg.g.cs b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionsInOrg.g.cs index cfccb54d..1590ea57 100644 --- a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionsInOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionsInOrg.g.cs @@ -9,19 +9,19 @@ partial void PrepareTeamsListDiscussionsInOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, ref string teamSlug, - ref global::GitHub.TeamsListDiscussionsInOrgDirection direction, + ref global::GitHub.TeamsListDiscussionsInOrgDirection? direction, ref int perPage, ref int page, - ref string pinned); + ref string? pinned); partial void PrepareTeamsListDiscussionsInOrgRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, string teamSlug, - global::GitHub.TeamsListDiscussionsInOrgDirection direction, + global::GitHub.TeamsListDiscussionsInOrgDirection? direction, int perPage, int page, - string pinned); + string? pinned); partial void ProcessTeamsListDiscussionsInOrgResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,10 +55,10 @@ partial void ProcessTeamsListDiscussionsInOrgResponseContent( public async global::System.Threading.Tasks.Task> TeamsListDiscussionsInOrgAsync( string org, string teamSlug, - global::GitHub.TeamsListDiscussionsInOrgDirection direction, + global::GitHub.TeamsListDiscussionsInOrgDirection? direction, int perPage, int page, - string pinned, + string? pinned, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionsLegacy.g.cs b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionsLegacy.g.cs index 4faa97d5..0e55a3f9 100644 --- a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionsLegacy.g.cs +++ b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListDiscussionsLegacy.g.cs @@ -8,14 +8,14 @@ public partial class TeamsClient partial void PrepareTeamsListDiscussionsLegacyArguments( global::System.Net.Http.HttpClient httpClient, ref int teamId, - ref global::GitHub.TeamsListDiscussionsLegacyDirection direction, + ref global::GitHub.TeamsListDiscussionsLegacyDirection? direction, ref int perPage, ref int page); partial void PrepareTeamsListDiscussionsLegacyRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int teamId, - global::GitHub.TeamsListDiscussionsLegacyDirection direction, + global::GitHub.TeamsListDiscussionsLegacyDirection? direction, int perPage, int page); partial void ProcessTeamsListDiscussionsLegacyResponse( @@ -49,7 +49,7 @@ partial void ProcessTeamsListDiscussionsLegacyResponseContent( [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task> TeamsListDiscussionsLegacyAsync( int teamId, - global::GitHub.TeamsListDiscussionsLegacyDirection direction, + global::GitHub.TeamsListDiscussionsLegacyDirection? direction, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListMembersInOrg.g.cs b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListMembersInOrg.g.cs index bfcabf50..359551e1 100644 --- a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListMembersInOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListMembersInOrg.g.cs @@ -9,7 +9,7 @@ partial void PrepareTeamsListMembersInOrgArguments( global::System.Net.Http.HttpClient httpClient, ref string org, ref string teamSlug, - ref global::GitHub.TeamsListMembersInOrgRole role, + ref global::GitHub.TeamsListMembersInOrgRole? role, ref int perPage, ref int page); partial void PrepareTeamsListMembersInOrgRequest( @@ -17,7 +17,7 @@ partial void PrepareTeamsListMembersInOrgRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string org, string teamSlug, - global::GitHub.TeamsListMembersInOrgRole role, + global::GitHub.TeamsListMembersInOrgRole? role, int perPage, int page); partial void ProcessTeamsListMembersInOrgResponse( @@ -50,7 +50,7 @@ partial void ProcessTeamsListMembersInOrgResponseContent( public async global::System.Threading.Tasks.Task> TeamsListMembersInOrgAsync( string org, string teamSlug, - global::GitHub.TeamsListMembersInOrgRole role, + global::GitHub.TeamsListMembersInOrgRole? role, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListMembersLegacy.g.cs b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListMembersLegacy.g.cs index 9536eaab..288690a2 100644 --- a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListMembersLegacy.g.cs +++ b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsListMembersLegacy.g.cs @@ -8,14 +8,14 @@ public partial class TeamsClient partial void PrepareTeamsListMembersLegacyArguments( global::System.Net.Http.HttpClient httpClient, ref int teamId, - ref global::GitHub.TeamsListMembersLegacyRole role, + ref global::GitHub.TeamsListMembersLegacyRole? role, ref int perPage, ref int page); partial void PrepareTeamsListMembersLegacyRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int teamId, - global::GitHub.TeamsListMembersLegacyRole role, + global::GitHub.TeamsListMembersLegacyRole? role, int perPage, int page); partial void ProcessTeamsListMembersLegacyResponse( @@ -48,7 +48,7 @@ partial void ProcessTeamsListMembersLegacyResponseContent( [global::System.Obsolete("This method marked as deprecated.")] public async global::System.Threading.Tasks.Task> TeamsListMembersLegacyAsync( int teamId, - global::GitHub.TeamsListMembersLegacyRole role, + global::GitHub.TeamsListMembersLegacyRole? role, int perPage, int page, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionCommentInOrg.g.cs b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionCommentInOrg.g.cs index 29ed12a6..c421318f 100644 --- a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionCommentInOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionCommentInOrg.g.cs @@ -64,7 +64,7 @@ partial void ProcessTeamsUpdateDiscussionCommentInOrgResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/teams/{teamSlug}/discussions/{discussionNumber}/comments/{commentNumber}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.TeamsUpdateDiscussionCommentInOrgRequest), diff --git a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionCommentLegacy.g.cs b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionCommentLegacy.g.cs index 039b85c1..98d99754 100644 --- a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionCommentLegacy.g.cs +++ b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionCommentLegacy.g.cs @@ -60,7 +60,7 @@ partial void ProcessTeamsUpdateDiscussionCommentLegacyResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/teams/{teamId}/discussions/{discussionNumber}/comments/{commentNumber}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.TeamsUpdateDiscussionCommentLegacyRequest), diff --git a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionInOrg.g.cs b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionInOrg.g.cs index a208c3ed..2eabaa6d 100644 --- a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionInOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionInOrg.g.cs @@ -59,7 +59,7 @@ partial void ProcessTeamsUpdateDiscussionInOrgResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/teams/{teamSlug}/discussions/{discussionNumber}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.TeamsUpdateDiscussionInOrgRequest), diff --git a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionLegacy.g.cs b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionLegacy.g.cs index 3e04dfe9..9897e439 100644 --- a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionLegacy.g.cs +++ b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateDiscussionLegacy.g.cs @@ -55,7 +55,7 @@ partial void ProcessTeamsUpdateDiscussionLegacyResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/teams/{teamId}/discussions/{discussionNumber}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.TeamsUpdateDiscussionLegacyRequest), diff --git a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateInOrg.g.cs b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateInOrg.g.cs index 8ab55029..ac1c3cc1 100644 --- a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateInOrg.g.cs +++ b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateInOrg.g.cs @@ -53,7 +53,7 @@ partial void ProcessTeamsUpdateInOrgResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/teams/{teamSlug}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.TeamsUpdateInOrgRequest), diff --git a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateLegacy.g.cs b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateLegacy.g.cs index 20f97fa5..92dc0e4d 100644 --- a/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateLegacy.g.cs +++ b/src/libs/GitHub/Generated/GitHub.TeamsClient.TeamsUpdateLegacy.g.cs @@ -51,7 +51,7 @@ partial void ProcessTeamsUpdateLegacyResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/teams/{teamId}", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.TeamsUpdateLegacyRequest), diff --git a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersAddEmailForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersAddEmailForAuthenticatedUser.g.cs index 9590729f..ff8d4758 100644 --- a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersAddEmailForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersAddEmailForAuthenticatedUser.g.cs @@ -7,11 +7,11 @@ public partial class UsersClient { partial void PrepareUsersAddEmailForAuthenticatedUserArguments( global::System.Net.Http.HttpClient httpClient, - global::System.OneOf, string> request); + global::System.OneOf?, string?> request); partial void PrepareUsersAddEmailForAuthenticatedUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::System.OneOf, string> request); + global::System.OneOf?, string?> request); partial void ProcessUsersAddEmailForAuthenticatedUserResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -29,11 +29,9 @@ partial void ProcessUsersAddEmailForAuthenticatedUserResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> UsersAddEmailForAuthenticatedUserAsync( - global::System.OneOf, string> request, + global::System.OneOf?, string?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareUsersAddEmailForAuthenticatedUserArguments( @@ -44,7 +42,7 @@ partial void ProcessUsersAddEmailForAuthenticatedUserResponseContent( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/user/emails", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfUsersAddEmailForAuthenticatedUserRequestIListStringString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfUsersAddEmailForAuthenticatedUserRequest2IListStringString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -98,19 +96,13 @@ partial void ProcessUsersAddEmailForAuthenticatedUserResponseContent( /// Add an email address for the authenticated user
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. /// - /// - /// Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key.
- /// Example: [] - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> UsersAddEmailForAuthenticatedUserAsync( - global::System.Collections.Generic.IList emails, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf, string> + var request = new global::System.OneOf?, string?> { - Emails = emails, }; return await UsersAddEmailForAuthenticatedUserAsync( diff --git a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersDeleteEmailForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersDeleteEmailForAuthenticatedUser.g.cs index 9d18a4c3..e9db665e 100644 --- a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersDeleteEmailForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersDeleteEmailForAuthenticatedUser.g.cs @@ -7,11 +7,11 @@ public partial class UsersClient { partial void PrepareUsersDeleteEmailForAuthenticatedUserArguments( global::System.Net.Http.HttpClient httpClient, - global::System.OneOf, string> request); + global::System.OneOf?, string?> request); partial void PrepareUsersDeleteEmailForAuthenticatedUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::System.OneOf, string> request); + global::System.OneOf?, string?> request); partial void ProcessUsersDeleteEmailForAuthenticatedUserResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -29,11 +29,9 @@ partial void ProcessUsersDeleteEmailForAuthenticatedUserResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UsersDeleteEmailForAuthenticatedUserAsync( - global::System.OneOf, string> request, + global::System.OneOf?, string?> request, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: _httpClient); PrepareUsersDeleteEmailForAuthenticatedUserArguments( @@ -44,7 +42,7 @@ partial void ProcessUsersDeleteEmailForAuthenticatedUserResponseContent( method: global::System.Net.Http.HttpMethod.Delete, requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/user/emails", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( - content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfUsersDeleteEmailForAuthenticatedUserRequestIListStringString), + content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.NullableOneOfUsersDeleteEmailForAuthenticatedUserRequest2IListStringString), encoding: global::System.Text.Encoding.UTF8, mediaType: "application/json"); httpRequest.Content = __httpRequestContent; @@ -98,18 +96,13 @@ partial void ProcessUsersDeleteEmailForAuthenticatedUserResponseContent( /// Delete an email address for the authenticated user
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. /// - /// - /// Email addresses associated with the GitHub user account. - /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UsersDeleteEmailForAuthenticatedUserAsync( - global::System.Collections.Generic.IList emails, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::System.OneOf, string> + var request = new global::System.OneOf?, string?> { - Emails = emails, }; return await UsersDeleteEmailForAuthenticatedUserAsync( diff --git a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetAuthenticated.g.cs b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetAuthenticated.g.cs index 43a529ad..9f6fc461 100644 --- a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetAuthenticated.g.cs +++ b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetAuthenticated.g.cs @@ -25,7 +25,7 @@ partial void ProcessUsersGetAuthenticatedResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> UsersGetAuthenticatedAsync( + public async global::System.Threading.Tasks.Task> UsersGetAuthenticatedAsync( global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetById.g.cs b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetById.g.cs index 9c367706..ac0e0929 100644 --- a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetById.g.cs +++ b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetById.g.cs @@ -30,7 +30,7 @@ partial void ProcessUsersGetByIdResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> UsersGetByIdAsync( + public async global::System.Threading.Tasks.Task> UsersGetByIdAsync( int accountId, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetByUsername.g.cs b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetByUsername.g.cs index af2b3632..35f4c6de 100644 --- a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetByUsername.g.cs +++ b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetByUsername.g.cs @@ -30,7 +30,7 @@ partial void ProcessUsersGetByUsernameResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> UsersGetByUsernameAsync( + public async global::System.Threading.Tasks.Task> UsersGetByUsernameAsync( string username, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetContextForUser.g.cs b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetContextForUser.g.cs index 2f0f35a7..011d6357 100644 --- a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetContextForUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersGetContextForUser.g.cs @@ -8,14 +8,14 @@ public partial class UsersClient partial void PrepareUsersGetContextForUserArguments( global::System.Net.Http.HttpClient httpClient, ref string username, - ref global::GitHub.UsersGetContextForUserSubjectType subjectType, - ref string subjectId); + ref global::GitHub.UsersGetContextForUserSubjectType? subjectType, + ref string? subjectId); partial void PrepareUsersGetContextForUserRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string username, - global::GitHub.UsersGetContextForUserSubjectType subjectType, - string subjectId); + global::GitHub.UsersGetContextForUserSubjectType? subjectType, + string? subjectId); partial void ProcessUsersGetContextForUserResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -38,8 +38,8 @@ partial void ProcessUsersGetContextForUserResponseContent( /// public async global::System.Threading.Tasks.Task UsersGetContextForUserAsync( string username, - global::GitHub.UsersGetContextForUserSubjectType subjectType, - string subjectId, + global::GitHub.UsersGetContextForUserSubjectType? subjectType, + string? subjectId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( diff --git a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersListAttestations.g.cs b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersListAttestations.g.cs index 573b67c6..02b69e84 100644 --- a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersListAttestations.g.cs +++ b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersListAttestations.g.cs @@ -8,16 +8,16 @@ public partial class UsersClient partial void PrepareUsersListAttestationsArguments( global::System.Net.Http.HttpClient httpClient, ref int perPage, - ref string before, - ref string after, + ref string? before, + ref string? after, ref string username, ref string subjectDigest); partial void PrepareUsersListAttestationsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int perPage, - string before, - string after, + string? before, + string? after, string username, string subjectDigest); partial void ProcessUsersListAttestationsResponse( @@ -46,8 +46,8 @@ partial void ProcessUsersListAttestationsResponseContent( /// public async global::System.Threading.Tasks.Task UsersListAttestationsAsync( int perPage, - string before, - string after, + string? before, + string? after, string username, string subjectDigest, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.cs b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.cs index 166cccd3..72b50e7e 100644 --- a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.cs +++ b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.cs @@ -41,7 +41,7 @@ partial void ProcessUsersSetPrimaryEmailVisibilityForAuthenticatedUserResponseCo request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/user/email/visibility", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequest), diff --git a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersUpdateAuthenticated.g.cs b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersUpdateAuthenticated.g.cs index 7c1591c2..72016704 100644 --- a/src/libs/GitHub/Generated/GitHub.UsersClient.UsersUpdateAuthenticated.g.cs +++ b/src/libs/GitHub/Generated/GitHub.UsersClient.UsersUpdateAuthenticated.g.cs @@ -41,7 +41,7 @@ partial void ProcessUsersUpdateAuthenticatedResponseContent( request: request); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Patch, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/user", global::System.UriKind.RelativeOrAbsolute)); var __httpRequestContent = new global::System.Net.Http.StringContent( content: global::System.Text.Json.JsonSerializer.Serialize(request, global::GitHub.SourceGenerationContext.Default.UsersUpdateAuthenticatedRequest), diff --git a/src/libs/GitHub/Generated/JsonConverters.AnyOf5.g.cs b/src/libs/GitHub/Generated/JsonConverters.AnyOf5.g.cs new file mode 100644 index 00000000..5ca4ca88 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.AnyOf5.g.cs @@ -0,0 +1,180 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public class AnyOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> + { + /// + public override global::System.AnyOf Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + var + readerCopy = reader; + T1? value1 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + value1 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + T2? value2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); + value2 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + T3? value3 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); + value3 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + T4? value4 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); + value4 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + T5? value5 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); + value5 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + var result = new global::System.AnyOf( + value1, + + value2, + + value3, + + value4, + + value5 + ); + if (!result.Validate()) + { + throw new global::System.Text.Json.JsonException($"Invalid JSON format for AnyOf<{typeof(T1).Name}, {typeof(T2).Name}, {typeof(T3).Name}, {typeof(T4).Name}, {typeof(T5).Name}>"); + } + + if (value1 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + else if (value2 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + else if (value3 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + else if (value4 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + else if (value5 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + return result; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::System.AnyOf value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (!value.Validate()) + { + throw new global::System.Text.Json.JsonException($"Invalid AnyOf<{typeof(T1).Name}, {typeof(T2).Name}, {typeof(T3).Name}, {typeof(T4).Name}, {typeof(T5).Name}> object."); + } + + if (value.IsValue1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo); + } + + else if (value.IsValue2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo); + } + + else if (value.IsValue3) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3, typeInfo); + } + + else if (value.IsValue4) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value4, typeInfo); + } + + else if (value.IsValue5) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/JsonConverters.AnyOfFactory5.g.cs b/src/libs/GitHub/Generated/JsonConverters.AnyOfFactory5.g.cs new file mode 100644 index 00000000..5761a99b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.AnyOfFactory5.g.cs @@ -0,0 +1,25 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class AnyOfJsonConverterFactory5 : global::System.Text.Json.Serialization.JsonConverterFactory + { + /// + public override bool CanConvert(global::System.Type? typeToConvert) + { + return typeToConvert is { IsGenericType: true } && typeToConvert.GetGenericTypeDefinition() == typeof(global::System.AnyOf<,,,,>); + } + + /// + public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + typeToConvert = typeToConvert ?? throw new global::System.ArgumentNullException(nameof(typeToConvert)); + + return (global::System.Text.Json.Serialization.JsonConverter)global::System.Activator.CreateInstance( + typeof(AnyOfJsonConverter<,,,,>).MakeGenericType(typeToConvert.GenericTypeArguments))!; + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestConclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestConclusion.g.cs new file mode 100644 index 00000000..b5dee9e8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestConclusion.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ChecksCreateRequestConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ChecksCreateRequestConclusion Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ChecksCreateRequestConclusionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ChecksCreateRequestConclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ChecksCreateRequestConclusion value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.ChecksCreateRequestConclusionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestConclusionNullable.g.cs new file mode 100644 index 00000000..64020790 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestConclusionNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ChecksCreateRequestConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ChecksCreateRequestConclusion? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ChecksCreateRequestConclusionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ChecksCreateRequestConclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ChecksCreateRequestConclusion? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.ChecksCreateRequestConclusionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestOutputAnnotationAnnotationLevel.g.cs b/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestOutputAnnotationAnnotationLevel.g.cs new file mode 100644 index 00000000..37320e21 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestOutputAnnotationAnnotationLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ChecksCreateRequestOutputAnnotationAnnotationLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ChecksCreateRequestOutputAnnotationAnnotationLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ChecksCreateRequestOutputAnnotationAnnotationLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ChecksCreateRequestOutputAnnotationAnnotationLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ChecksCreateRequestOutputAnnotationAnnotationLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.ChecksCreateRequestOutputAnnotationAnnotationLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestOutputAnnotationAnnotationLevelNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestOutputAnnotationAnnotationLevelNullable.g.cs new file mode 100644 index 00000000..8a8b92d3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestOutputAnnotationAnnotationLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ChecksCreateRequestOutputAnnotationAnnotationLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ChecksCreateRequestOutputAnnotationAnnotationLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ChecksCreateRequestOutputAnnotationAnnotationLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ChecksCreateRequestOutputAnnotationAnnotationLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ChecksCreateRequestOutputAnnotationAnnotationLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.ChecksCreateRequestOutputAnnotationAnnotationLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestStatus.g.cs new file mode 100644 index 00000000..9dd3f9d7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ChecksCreateRequestStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ChecksCreateRequestStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ChecksCreateRequestStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ChecksCreateRequestStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ChecksCreateRequestStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.ChecksCreateRequestStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestStatusNullable.g.cs new file mode 100644 index 00000000..ce767251 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ChecksCreateRequestStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ChecksCreateRequestStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ChecksCreateRequestStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ChecksCreateRequestStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ChecksCreateRequestStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ChecksCreateRequestStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.ChecksCreateRequestStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestConclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestConclusion.g.cs new file mode 100644 index 00000000..e8553027 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestConclusion.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ChecksUpdateRequestConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ChecksUpdateRequestConclusion Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ChecksUpdateRequestConclusionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ChecksUpdateRequestConclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ChecksUpdateRequestConclusion value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.ChecksUpdateRequestConclusionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestConclusionNullable.g.cs new file mode 100644 index 00000000..820431a0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestConclusionNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ChecksUpdateRequestConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ChecksUpdateRequestConclusion? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ChecksUpdateRequestConclusionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ChecksUpdateRequestConclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ChecksUpdateRequestConclusion? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.ChecksUpdateRequestConclusionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestOutputAnnotationAnnotationLevel.g.cs b/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestOutputAnnotationAnnotationLevel.g.cs new file mode 100644 index 00000000..1cb77832 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestOutputAnnotationAnnotationLevel.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ChecksUpdateRequestOutputAnnotationAnnotationLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ChecksUpdateRequestOutputAnnotationAnnotationLevel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ChecksUpdateRequestOutputAnnotationAnnotationLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ChecksUpdateRequestOutputAnnotationAnnotationLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ChecksUpdateRequestOutputAnnotationAnnotationLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.ChecksUpdateRequestOutputAnnotationAnnotationLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestOutputAnnotationAnnotationLevelNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestOutputAnnotationAnnotationLevelNullable.g.cs new file mode 100644 index 00000000..2132524b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestOutputAnnotationAnnotationLevelNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ChecksUpdateRequestOutputAnnotationAnnotationLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ChecksUpdateRequestOutputAnnotationAnnotationLevel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ChecksUpdateRequestOutputAnnotationAnnotationLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ChecksUpdateRequestOutputAnnotationAnnotationLevel)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ChecksUpdateRequestOutputAnnotationAnnotationLevel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.ChecksUpdateRequestOutputAnnotationAnnotationLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestStatus.g.cs new file mode 100644 index 00000000..deffa1fb --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ChecksUpdateRequestStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ChecksUpdateRequestStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ChecksUpdateRequestStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ChecksUpdateRequestStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ChecksUpdateRequestStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.ChecksUpdateRequestStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestStatusNullable.g.cs new file mode 100644 index 00000000..155fa61b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ChecksUpdateRequestStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ChecksUpdateRequestStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ChecksUpdateRequestStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ChecksUpdateRequestStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ChecksUpdateRequestStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ChecksUpdateRequestStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.ChecksUpdateRequestStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningAlertInstanceClassifications.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningAlertInstanceClassifications.g.cs deleted file mode 100644 index 78389a78..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningAlertInstanceClassifications.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningAlertInstanceClassificationsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningAlertInstanceClassifications Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningAlertInstanceClassificationsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningAlertInstanceClassifications)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningAlertInstanceClassifications value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.CodeScanningAlertInstanceClassificationsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningAlertInstanceClassificationsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningAlertInstanceClassificationsNullable.g.cs deleted file mode 100644 index 8485a834..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningAlertInstanceClassificationsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningAlertInstanceClassificationsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningAlertInstanceClassifications? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningAlertInstanceClassificationsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningAlertInstanceClassifications)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningAlertInstanceClassifications? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.CodeScanningAlertInstanceClassificationsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguage.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguage.g.cs new file mode 100644 index 00000000..9cea406e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguage.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class CodeScanningDefaultSetupLanguageJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.CodeScanningDefaultSetupLanguage Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.CodeScanningDefaultSetupLanguageExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.CodeScanningDefaultSetupLanguage)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.CodeScanningDefaultSetupLanguage value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.CodeScanningDefaultSetupLanguageExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguageNullable.g.cs new file mode 100644 index 00000000..319f79bb --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguageNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class CodeScanningDefaultSetupLanguageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.CodeScanningDefaultSetupLanguage? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.CodeScanningDefaultSetupLanguageExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.CodeScanningDefaultSetupLanguage)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.CodeScanningDefaultSetupLanguage? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.CodeScanningDefaultSetupLanguageExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguages.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguages.g.cs deleted file mode 100644 index fd909885..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningDefaultSetupLanguagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningDefaultSetupLanguages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningDefaultSetupLanguagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningDefaultSetupLanguages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningDefaultSetupLanguages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.CodeScanningDefaultSetupLanguagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguagesNullable.g.cs deleted file mode 100644 index c2c9aa05..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupLanguagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningDefaultSetupLanguagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningDefaultSetupLanguages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningDefaultSetupLanguagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningDefaultSetupLanguages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningDefaultSetupLanguages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.CodeScanningDefaultSetupLanguagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguage.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguage.g.cs new file mode 100644 index 00000000..2e9f855c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguage.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class CodeScanningDefaultSetupUpdateLanguageJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.CodeScanningDefaultSetupUpdateLanguage Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.CodeScanningDefaultSetupUpdateLanguageExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.CodeScanningDefaultSetupUpdateLanguage)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.CodeScanningDefaultSetupUpdateLanguage value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.CodeScanningDefaultSetupUpdateLanguageExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguageNullable.g.cs new file mode 100644 index 00000000..e95aff83 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguageNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class CodeScanningDefaultSetupUpdateLanguageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.CodeScanningDefaultSetupUpdateLanguage? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.CodeScanningDefaultSetupUpdateLanguageExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.CodeScanningDefaultSetupUpdateLanguage)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.CodeScanningDefaultSetupUpdateLanguage? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.CodeScanningDefaultSetupUpdateLanguageExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguages.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguages.g.cs deleted file mode 100644 index 1e751ef4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningDefaultSetupUpdateLanguagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningDefaultSetupUpdateLanguages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningDefaultSetupUpdateLanguagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningDefaultSetupUpdateLanguages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningDefaultSetupUpdateLanguages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.CodeScanningDefaultSetupUpdateLanguagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguagesNullable.g.cs deleted file mode 100644 index c15f65ca..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningDefaultSetupUpdateLanguagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningDefaultSetupUpdateLanguagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningDefaultSetupUpdateLanguages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningDefaultSetupUpdateLanguagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningDefaultSetupUpdateLanguages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningDefaultSetupUpdateLanguages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.CodeScanningDefaultSetupUpdateLanguagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgSeverity.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgSeverity.g.cs deleted file mode 100644 index b665bec9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgSeverity.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningListAlertsForOrgSeverityJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningListAlertsForOrgSeverity Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningListAlertsForOrgSeverityExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningListAlertsForOrgSeverity)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningListAlertsForOrgSeverity value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.CodeScanningListAlertsForOrgSeverityExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgSeverityNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgSeverityNullable.g.cs deleted file mode 100644 index b476392a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgSeverityNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningListAlertsForOrgSeverityNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningListAlertsForOrgSeverity? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningListAlertsForOrgSeverityExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningListAlertsForOrgSeverity)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningListAlertsForOrgSeverity? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.CodeScanningListAlertsForOrgSeverityExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgState.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgState.g.cs deleted file mode 100644 index c6594cdb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgState.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningListAlertsForOrgStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningListAlertsForOrgState Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningListAlertsForOrgStateExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningListAlertsForOrgState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningListAlertsForOrgState value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.CodeScanningListAlertsForOrgStateExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgStateNullable.g.cs deleted file mode 100644 index 1357cb72..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForOrgStateNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningListAlertsForOrgStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningListAlertsForOrgState? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningListAlertsForOrgStateExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningListAlertsForOrgState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningListAlertsForOrgState? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.CodeScanningListAlertsForOrgStateExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoSeverity.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoSeverity.g.cs deleted file mode 100644 index 213bdd2b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoSeverity.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningListAlertsForRepoSeverityJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningListAlertsForRepoSeverity Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningListAlertsForRepoSeverityExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningListAlertsForRepoSeverity)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningListAlertsForRepoSeverity value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.CodeScanningListAlertsForRepoSeverityExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoSeverityNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoSeverityNullable.g.cs deleted file mode 100644 index 2314fd33..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoSeverityNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningListAlertsForRepoSeverityNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningListAlertsForRepoSeverity? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningListAlertsForRepoSeverityExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningListAlertsForRepoSeverity)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningListAlertsForRepoSeverity? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.CodeScanningListAlertsForRepoSeverityExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoState.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoState.g.cs deleted file mode 100644 index 994fad2a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoState.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningListAlertsForRepoStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningListAlertsForRepoState Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningListAlertsForRepoStateExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningListAlertsForRepoState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningListAlertsForRepoState value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.CodeScanningListAlertsForRepoStateExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoStateNullable.g.cs deleted file mode 100644 index 675fe9b5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.CodeScanningListAlertsForRepoStateNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class CodeScanningListAlertsForRepoStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.CodeScanningListAlertsForRepoState? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.CodeScanningListAlertsForRepoStateExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.CodeScanningListAlertsForRepoState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.CodeScanningListAlertsForRepoState? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.CodeScanningListAlertsForRepoStateExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningVariantAnalysisStatus2.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningVariantAnalysisStatus2.g.cs new file mode 100644 index 00000000..5da4a86f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.CodeScanningVariantAnalysisStatus2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class CodeScanningVariantAnalysisStatus2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.CodeScanningVariantAnalysisStatus2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.CodeScanningVariantAnalysisStatus2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.CodeScanningVariantAnalysisStatus2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.CodeScanningVariantAnalysisStatus2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.CodeScanningVariantAnalysisStatus2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.CodeScanningVariantAnalysisStatus2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.CodeScanningVariantAnalysisStatus2Nullable.g.cs new file mode 100644 index 00000000..43a257c4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.CodeScanningVariantAnalysisStatus2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class CodeScanningVariantAnalysisStatus2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.CodeScanningVariantAnalysisStatus2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.CodeScanningVariantAnalysisStatus2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.CodeScanningVariantAnalysisStatus2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.CodeScanningVariantAnalysisStatus2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.CodeScanningVariantAnalysisStatus2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ContentDirectoryItemType.g.cs b/src/libs/GitHub/Generated/JsonConverters.ContentDirectoryItemType.g.cs new file mode 100644 index 00000000..a9fba730 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ContentDirectoryItemType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ContentDirectoryItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ContentDirectoryItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ContentDirectoryItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ContentDirectoryItemType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ContentDirectoryItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.ContentDirectoryItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ContentDirectoryItemTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ContentDirectoryItemTypeNullable.g.cs new file mode 100644 index 00000000..97533bf3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ContentDirectoryItemTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ContentDirectoryItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ContentDirectoryItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ContentDirectoryItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ContentDirectoryItemType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ContentDirectoryItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.ContentDirectoryItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ContentDirectoryType.g.cs b/src/libs/GitHub/Generated/JsonConverters.ContentDirectoryType.g.cs deleted file mode 100644 index abd603cb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.ContentDirectoryType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class ContentDirectoryTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.ContentDirectoryType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.ContentDirectoryTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.ContentDirectoryType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.ContentDirectoryType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.ContentDirectoryTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.ContentDirectoryTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ContentDirectoryTypeNullable.g.cs deleted file mode 100644 index 9971ef08..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.ContentDirectoryTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class ContentDirectoryTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.ContentDirectoryType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.ContentDirectoryTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.ContentDirectoryType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.ContentDirectoryType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.ContentDirectoryTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifierType.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifierType.g.cs new file mode 100644 index 00000000..55c340e1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifierType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class DependabotAlertSecurityAdvisoryIdentifierTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.DependabotAlertSecurityAdvisoryIdentifierType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.DependabotAlertSecurityAdvisoryIdentifierTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.DependabotAlertSecurityAdvisoryIdentifierType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.DependabotAlertSecurityAdvisoryIdentifierType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.DependabotAlertSecurityAdvisoryIdentifierTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifierTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifierTypeNullable.g.cs new file mode 100644 index 00000000..3dd6b9f2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifierTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class DependabotAlertSecurityAdvisoryIdentifierTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.DependabotAlertSecurityAdvisoryIdentifierType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.DependabotAlertSecurityAdvisoryIdentifierTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.DependabotAlertSecurityAdvisoryIdentifierType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.DependabotAlertSecurityAdvisoryIdentifierType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.DependabotAlertSecurityAdvisoryIdentifierTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifiersType.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifiersType.g.cs deleted file mode 100644 index 1ae496cd..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifiersType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class DependabotAlertSecurityAdvisoryIdentifiersTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.DependabotAlertSecurityAdvisoryIdentifiersType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.DependabotAlertSecurityAdvisoryIdentifiersTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.DependabotAlertSecurityAdvisoryIdentifiersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.DependabotAlertSecurityAdvisoryIdentifiersType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.DependabotAlertSecurityAdvisoryIdentifiersTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifiersTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifiersTypeNullable.g.cs deleted file mode 100644 index 1d663586..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.DependabotAlertSecurityAdvisoryIdentifiersTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class DependabotAlertSecurityAdvisoryIdentifiersTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.DependabotAlertSecurityAdvisoryIdentifiersType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.DependabotAlertSecurityAdvisoryIdentifiersTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.DependabotAlertSecurityAdvisoryIdentifiersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.DependabotAlertSecurityAdvisoryIdentifiersType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.DependabotAlertSecurityAdvisoryIdentifiersTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffChangeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffChangeType.g.cs deleted file mode 100644 index d5a5d151..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffChangeType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class DependencyGraphDiffChangeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.DependencyGraphDiffChangeType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.DependencyGraphDiffChangeTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.DependencyGraphDiffChangeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.DependencyGraphDiffChangeType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.DependencyGraphDiffChangeTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffChangeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffChangeTypeNullable.g.cs deleted file mode 100644 index 59539029..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffChangeTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class DependencyGraphDiffChangeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.DependencyGraphDiffChangeType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.DependencyGraphDiffChangeTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.DependencyGraphDiffChangeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.DependencyGraphDiffChangeType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.DependencyGraphDiffChangeTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemChangeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemChangeType.g.cs new file mode 100644 index 00000000..286302fa --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemChangeType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class DependencyGraphDiffItemChangeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.DependencyGraphDiffItemChangeType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.DependencyGraphDiffItemChangeTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.DependencyGraphDiffItemChangeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.DependencyGraphDiffItemChangeType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.DependencyGraphDiffItemChangeTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemChangeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemChangeTypeNullable.g.cs new file mode 100644 index 00000000..cc656141 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemChangeTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class DependencyGraphDiffItemChangeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.DependencyGraphDiffItemChangeType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.DependencyGraphDiffItemChangeTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.DependencyGraphDiffItemChangeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.DependencyGraphDiffItemChangeType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.DependencyGraphDiffItemChangeTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemScope.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemScope.g.cs new file mode 100644 index 00000000..2c144e69 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemScope.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class DependencyGraphDiffItemScopeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.DependencyGraphDiffItemScope Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.DependencyGraphDiffItemScopeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.DependencyGraphDiffItemScope)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.DependencyGraphDiffItemScope value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.DependencyGraphDiffItemScopeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemScopeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemScopeNullable.g.cs new file mode 100644 index 00000000..c95425da --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffItemScopeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class DependencyGraphDiffItemScopeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.DependencyGraphDiffItemScope? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.DependencyGraphDiffItemScopeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.DependencyGraphDiffItemScope)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.DependencyGraphDiffItemScope? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.DependencyGraphDiffItemScopeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseChangeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseChangeType.g.cs deleted file mode 100644 index e9ba0835..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseChangeType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class DependencyGraphDiffRangeResponseChangeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.DependencyGraphDiffRangeResponseChangeType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.DependencyGraphDiffRangeResponseChangeTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.DependencyGraphDiffRangeResponseChangeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.DependencyGraphDiffRangeResponseChangeType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.DependencyGraphDiffRangeResponseChangeTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseChangeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseChangeTypeNullable.g.cs deleted file mode 100644 index bc951fae..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseChangeTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class DependencyGraphDiffRangeResponseChangeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.DependencyGraphDiffRangeResponseChangeType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.DependencyGraphDiffRangeResponseChangeTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.DependencyGraphDiffRangeResponseChangeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.DependencyGraphDiffRangeResponseChangeType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.DependencyGraphDiffRangeResponseChangeTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseScope.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseScope.g.cs deleted file mode 100644 index 5ff60979..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseScope.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class DependencyGraphDiffRangeResponseScopeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.DependencyGraphDiffRangeResponseScope Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.DependencyGraphDiffRangeResponseScopeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.DependencyGraphDiffRangeResponseScope)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.DependencyGraphDiffRangeResponseScope value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.DependencyGraphDiffRangeResponseScopeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseScopeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseScopeNullable.g.cs deleted file mode 100644 index 182cae36..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffRangeResponseScopeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class DependencyGraphDiffRangeResponseScopeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.DependencyGraphDiffRangeResponseScope? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.DependencyGraphDiffRangeResponseScopeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.DependencyGraphDiffRangeResponseScope)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.DependencyGraphDiffRangeResponseScope? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.DependencyGraphDiffRangeResponseScopeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffScope.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffScope.g.cs deleted file mode 100644 index 992d70ea..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffScope.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class DependencyGraphDiffScopeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.DependencyGraphDiffScope Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.DependencyGraphDiffScopeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.DependencyGraphDiffScope)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.DependencyGraphDiffScope value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.DependencyGraphDiffScopeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffScopeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffScopeNullable.g.cs deleted file mode 100644 index 03aaa575..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.DependencyGraphDiffScopeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class DependencyGraphDiffScopeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.DependencyGraphDiffScope? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.DependencyGraphDiffScopeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.DependencyGraphDiffScope)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.DependencyGraphDiffScope? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.DependencyGraphDiffScopeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemMode.g.cs b/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemMode.g.cs new file mode 100644 index 00000000..6f65a8cd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemMode.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class GitCreateTreeRequestTreeItemModeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.GitCreateTreeRequestTreeItemMode Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.GitCreateTreeRequestTreeItemModeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.GitCreateTreeRequestTreeItemMode)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.GitCreateTreeRequestTreeItemMode value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.GitCreateTreeRequestTreeItemModeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemModeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemModeNullable.g.cs new file mode 100644 index 00000000..9d430a8c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemModeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class GitCreateTreeRequestTreeItemModeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.GitCreateTreeRequestTreeItemMode? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.GitCreateTreeRequestTreeItemModeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.GitCreateTreeRequestTreeItemMode)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.GitCreateTreeRequestTreeItemMode? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.GitCreateTreeRequestTreeItemModeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemType.g.cs b/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemType.g.cs new file mode 100644 index 00000000..4e610a95 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class GitCreateTreeRequestTreeItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.GitCreateTreeRequestTreeItemType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.GitCreateTreeRequestTreeItemTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.GitCreateTreeRequestTreeItemType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.GitCreateTreeRequestTreeItemType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.GitCreateTreeRequestTreeItemTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemTypeNullable.g.cs new file mode 100644 index 00000000..ccb10b08 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeItemTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class GitCreateTreeRequestTreeItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.GitCreateTreeRequestTreeItemType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.GitCreateTreeRequestTreeItemTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.GitCreateTreeRequestTreeItemType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.GitCreateTreeRequestTreeItemType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.GitCreateTreeRequestTreeItemTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeMode.g.cs b/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeMode.g.cs deleted file mode 100644 index 25025195..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeMode.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class GitCreateTreeRequestTreeModeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.GitCreateTreeRequestTreeMode Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.GitCreateTreeRequestTreeModeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.GitCreateTreeRequestTreeMode)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.GitCreateTreeRequestTreeMode value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.GitCreateTreeRequestTreeModeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeModeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeModeNullable.g.cs deleted file mode 100644 index b2cb13f6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeModeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class GitCreateTreeRequestTreeModeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.GitCreateTreeRequestTreeMode? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.GitCreateTreeRequestTreeModeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.GitCreateTreeRequestTreeMode)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.GitCreateTreeRequestTreeMode? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.GitCreateTreeRequestTreeModeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeType.g.cs deleted file mode 100644 index 953330dd..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class GitCreateTreeRequestTreeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.GitCreateTreeRequestTreeType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.GitCreateTreeRequestTreeTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.GitCreateTreeRequestTreeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.GitCreateTreeRequestTreeType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.GitCreateTreeRequestTreeTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeTypeNullable.g.cs deleted file mode 100644 index 1a09b830..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.GitCreateTreeRequestTreeTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class GitCreateTreeRequestTreeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.GitCreateTreeRequestTreeType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.GitCreateTreeRequestTreeTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.GitCreateTreeRequestTreeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.GitCreateTreeRequestTreeType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.GitCreateTreeRequestTreeTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifierType.g.cs b/src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifierType.g.cs new file mode 100644 index 00000000..6a20784b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifierType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class GlobalAdvisoryIdentifierTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.GlobalAdvisoryIdentifierType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.GlobalAdvisoryIdentifierTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.GlobalAdvisoryIdentifierType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.GlobalAdvisoryIdentifierType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.GlobalAdvisoryIdentifierTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifierTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifierTypeNullable.g.cs new file mode 100644 index 00000000..0598a28a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifierTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class GlobalAdvisoryIdentifierTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.GlobalAdvisoryIdentifierType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.GlobalAdvisoryIdentifierTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.GlobalAdvisoryIdentifierType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.GlobalAdvisoryIdentifierType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.GlobalAdvisoryIdentifierTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifiersType.g.cs b/src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifiersType.g.cs deleted file mode 100644 index 2763d3b6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifiersType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class GlobalAdvisoryIdentifiersTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.GlobalAdvisoryIdentifiersType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.GlobalAdvisoryIdentifiersTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.GlobalAdvisoryIdentifiersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.GlobalAdvisoryIdentifiersType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.GlobalAdvisoryIdentifiersTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifiersTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifiersTypeNullable.g.cs deleted file mode 100644 index 8697bce1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.GlobalAdvisoryIdentifiersTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class GlobalAdvisoryIdentifiersTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.GlobalAdvisoryIdentifiersType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.GlobalAdvisoryIdentifiersTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.GlobalAdvisoryIdentifiersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.GlobalAdvisoryIdentifiersType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.GlobalAdvisoryIdentifiersTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.JobStepStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.JobStepStatus.g.cs new file mode 100644 index 00000000..20a78627 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.JobStepStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class JobStepStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.JobStepStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.JobStepStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.JobStepStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.JobStepStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.JobStepStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.JobStepStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.JobStepStatusNullable.g.cs new file mode 100644 index 00000000..a3ef4e44 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.JobStepStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class JobStepStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.JobStepStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.JobStepStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.JobStepStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.JobStepStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.JobStepStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.JobStepsStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.JobStepsStatus.g.cs deleted file mode 100644 index b79b9f51..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.JobStepsStatus.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class JobStepsStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.JobStepsStatus Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.JobStepsStatusExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.JobStepsStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.JobStepsStatus value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.JobStepsStatusExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.JobStepsStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.JobStepsStatusNullable.g.cs deleted file mode 100644 index c95aba7f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.JobStepsStatusNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class JobStepsStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.JobStepsStatus? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.JobStepsStatusExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.JobStepsStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.JobStepsStatus? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.JobStepsStatusExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExclude.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExclude.g.cs deleted file mode 100644 index 1d0be301..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExclude.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class MigrationsGetStatusForOrgExcludeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.MigrationsGetStatusForOrgExclude Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.MigrationsGetStatusForOrgExcludeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.MigrationsGetStatusForOrgExclude)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.MigrationsGetStatusForOrgExclude value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.MigrationsGetStatusForOrgExcludeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExcludeItem.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExcludeItem.g.cs new file mode 100644 index 00000000..7c03aac1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExcludeItem.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class MigrationsGetStatusForOrgExcludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.MigrationsGetStatusForOrgExcludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.MigrationsGetStatusForOrgExcludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.MigrationsGetStatusForOrgExcludeItem)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.MigrationsGetStatusForOrgExcludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.MigrationsGetStatusForOrgExcludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExcludeItemNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExcludeItemNullable.g.cs new file mode 100644 index 00000000..c078bfde --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExcludeItemNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class MigrationsGetStatusForOrgExcludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.MigrationsGetStatusForOrgExcludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.MigrationsGetStatusForOrgExcludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.MigrationsGetStatusForOrgExcludeItem)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.MigrationsGetStatusForOrgExcludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.MigrationsGetStatusForOrgExcludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExcludeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExcludeNullable.g.cs deleted file mode 100644 index 5cf00059..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.MigrationsGetStatusForOrgExcludeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class MigrationsGetStatusForOrgExcludeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.MigrationsGetStatusForOrgExclude? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.MigrationsGetStatusForOrgExcludeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.MigrationsGetStatusForOrgExclude)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.MigrationsGetStatusForOrgExclude? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.MigrationsGetStatusForOrgExcludeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExclude.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExclude.g.cs deleted file mode 100644 index a5052b93..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExclude.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class MigrationsListForOrgExcludeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.MigrationsListForOrgExclude Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.MigrationsListForOrgExcludeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.MigrationsListForOrgExclude)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.MigrationsListForOrgExclude value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.MigrationsListForOrgExcludeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExcludeItem.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExcludeItem.g.cs new file mode 100644 index 00000000..29b73c7a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExcludeItem.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class MigrationsListForOrgExcludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.MigrationsListForOrgExcludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.MigrationsListForOrgExcludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.MigrationsListForOrgExcludeItem)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.MigrationsListForOrgExcludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.MigrationsListForOrgExcludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExcludeItemNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExcludeItemNullable.g.cs new file mode 100644 index 00000000..e583f538 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExcludeItemNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class MigrationsListForOrgExcludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.MigrationsListForOrgExcludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.MigrationsListForOrgExcludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.MigrationsListForOrgExcludeItem)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.MigrationsListForOrgExcludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.MigrationsListForOrgExcludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExcludeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExcludeNullable.g.cs deleted file mode 100644 index 54daae6a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.MigrationsListForOrgExcludeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class MigrationsListForOrgExcludeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.MigrationsListForOrgExclude? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.MigrationsListForOrgExcludeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.MigrationsListForOrgExclude)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.MigrationsListForOrgExclude? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.MigrationsListForOrgExcludeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExclude.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExclude.g.cs deleted file mode 100644 index 19ebe98c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExclude.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class MigrationsStartForAuthenticatedUserRequestExcludeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.MigrationsStartForAuthenticatedUserRequestExclude Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.MigrationsStartForAuthenticatedUserRequestExclude)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.MigrationsStartForAuthenticatedUserRequestExclude value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeItem.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeItem.g.cs new file mode 100644 index 00000000..ece1f710 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeItem.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class MigrationsStartForAuthenticatedUserRequestExcludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeItem)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeItemNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeItemNullable.g.cs new file mode 100644 index 00000000..83bfbaf4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeItemNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class MigrationsStartForAuthenticatedUserRequestExcludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeItem)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeNullable.g.cs deleted file mode 100644 index 0626d0c3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class MigrationsStartForAuthenticatedUserRequestExcludeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.MigrationsStartForAuthenticatedUserRequestExclude? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.MigrationsStartForAuthenticatedUserRequestExclude)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.MigrationsStartForAuthenticatedUserRequestExclude? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExclude.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExclude.g.cs deleted file mode 100644 index 1fb7c986..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExclude.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class MigrationsStartForOrgRequestExcludeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.MigrationsStartForOrgRequestExclude Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.MigrationsStartForOrgRequestExcludeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.MigrationsStartForOrgRequestExclude)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.MigrationsStartForOrgRequestExclude value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.MigrationsStartForOrgRequestExcludeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExcludeItem.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExcludeItem.g.cs new file mode 100644 index 00000000..e0c9dee0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExcludeItem.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class MigrationsStartForOrgRequestExcludeItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.MigrationsStartForOrgRequestExcludeItem Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.MigrationsStartForOrgRequestExcludeItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.MigrationsStartForOrgRequestExcludeItem)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.MigrationsStartForOrgRequestExcludeItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.MigrationsStartForOrgRequestExcludeItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExcludeItemNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExcludeItemNullable.g.cs new file mode 100644 index 00000000..278d0567 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExcludeItemNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class MigrationsStartForOrgRequestExcludeItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.MigrationsStartForOrgRequestExcludeItem? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.MigrationsStartForOrgRequestExcludeItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.MigrationsStartForOrgRequestExcludeItem)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.MigrationsStartForOrgRequestExcludeItem? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.MigrationsStartForOrgRequestExcludeItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExcludeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExcludeNullable.g.cs deleted file mode 100644 index d7df7a70..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.MigrationsStartForOrgRequestExcludeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class MigrationsStartForOrgRequestExcludeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.MigrationsStartForOrgRequestExclude? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.MigrationsStartForOrgRequestExcludeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.MigrationsStartForOrgRequestExclude)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.MigrationsStartForOrgRequestExclude? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.MigrationsStartForOrgRequestExcludeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.OneOf21.g.cs b/src/libs/GitHub/Generated/JsonConverters.OneOf21.g.cs deleted file mode 100644 index 7d72a73c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.OneOf21.g.cs +++ /dev/null @@ -1,628 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> - { - /// - public override global::System.OneOf Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - var - readerCopy = reader; - T1? value1 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - value1 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T2? value2 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T3? value3 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); - value3 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T4? value4 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); - value4 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T5? value5 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); - value5 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T6? value6 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}"); - value6 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T7? value7 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}"); - value7 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T8? value8 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}"); - value8 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T9? value9 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T9).Name}"); - value9 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T10? value10 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T10), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T10).Name}"); - value10 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T11? value11 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T11), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T11).Name}"); - value11 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T12? value12 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T12), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T12).Name}"); - value12 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T13? value13 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T13), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T13).Name}"); - value13 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T14? value14 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T14), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T14).Name}"); - value14 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T15? value15 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T15), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T15).Name}"); - value15 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T16? value16 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T16), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T16).Name}"); - value16 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T17? value17 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T17), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T17).Name}"); - value17 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T18? value18 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T18), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T18).Name}"); - value18 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T19? value19 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T19), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T19).Name}"); - value19 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T20? value20 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T20), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T20).Name}"); - value20 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - T21? value21 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T21), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T21).Name}"); - value21 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - var result = new global::System.OneOf( - value1, - - value2, - - value3, - - value4, - - value5, - - value6, - - value7, - - value8, - - value9, - - value10, - - value11, - - value12, - - value13, - - value14, - - value15, - - value16, - - value17, - - value18, - - value19, - - value20, - - value21 - ); - if (!result.Validate()) - { - throw new global::System.Text.Json.JsonException($"Invalid JSON format for OneOf<{typeof(T1).Name}, {typeof(T2).Name}, {typeof(T3).Name}, {typeof(T4).Name}, {typeof(T5).Name}, {typeof(T6).Name}, {typeof(T7).Name}, {typeof(T8).Name}, {typeof(T9).Name}, {typeof(T10).Name}, {typeof(T11).Name}, {typeof(T12).Name}, {typeof(T13).Name}, {typeof(T14).Name}, {typeof(T15).Name}, {typeof(T16).Name}, {typeof(T17).Name}, {typeof(T18).Name}, {typeof(T19).Name}, {typeof(T20).Name}, {typeof(T21).Name}>"); - } - - if (value1 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value2 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value3 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value4 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value5 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value6 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value7 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value8 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value9 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T9).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value10 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T10), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T10).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value11 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T11), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T11).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value12 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T12), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T12).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value13 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T13), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T13).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value14 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T14), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T14).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value15 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T15), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T15).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value16 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T16), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T16).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value17 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T17), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T17).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value18 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T18), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T18).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value19 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T19), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T19).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value20 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T20), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T20).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - else if (value21 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T21), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T21).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - return result; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::System.OneOf value, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - if (!value.Validate()) - { - throw new global::System.Text.Json.JsonException($"Invalid OneOf<{typeof(T1).Name}, {typeof(T2).Name}, {typeof(T3).Name}, {typeof(T4).Name}, {typeof(T5).Name}, {typeof(T6).Name}, {typeof(T7).Name}, {typeof(T8).Name}, {typeof(T9).Name}, {typeof(T10).Name}, {typeof(T11).Name}, {typeof(T12).Name}, {typeof(T13).Name}, {typeof(T14).Name}, {typeof(T15).Name}, {typeof(T16).Name}, {typeof(T17).Name}, {typeof(T18).Name}, {typeof(T19).Name}, {typeof(T20).Name}, {typeof(T21).Name}> object."); - } - - if (value.IsValue1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo); - } - - else if (value.IsValue2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo); - } - - else if (value.IsValue3) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3, typeInfo); - } - - else if (value.IsValue4) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value4, typeInfo); - } - - else if (value.IsValue5) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5, typeInfo); - } - - else if (value.IsValue6) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value6, typeInfo); - } - - else if (value.IsValue7) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value7, typeInfo); - } - - else if (value.IsValue8) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value8, typeInfo); - } - - else if (value.IsValue9) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T9).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value9, typeInfo); - } - - else if (value.IsValue10) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T10), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T10).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value10, typeInfo); - } - - else if (value.IsValue11) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T11), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T11).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value11, typeInfo); - } - - else if (value.IsValue12) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T12), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T12).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value12, typeInfo); - } - - else if (value.IsValue13) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T13), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T13).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value13, typeInfo); - } - - else if (value.IsValue14) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T14), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T14).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value14, typeInfo); - } - - else if (value.IsValue15) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T15), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T15).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value15, typeInfo); - } - - else if (value.IsValue16) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T16), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T16).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value16, typeInfo); - } - - else if (value.IsValue17) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T17), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T17).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value17, typeInfo); - } - - else if (value.IsValue18) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T18), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T18).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value18, typeInfo); - } - - else if (value.IsValue19) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T19), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T19).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value19, typeInfo); - } - - else if (value.IsValue20) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T20), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T20).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value20, typeInfo); - } - - else if (value.IsValue21) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T21), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T21).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value21, typeInfo); - } - } - } -} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/JsonConverters.OneOf5.g.cs b/src/libs/GitHub/Generated/JsonConverters.OneOf5.g.cs new file mode 100644 index 00000000..3f9cddce --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.OneOf5.g.cs @@ -0,0 +1,180 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public class OneOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> + { + /// + public override global::System.OneOf Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + var + readerCopy = reader; + T1? value1 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + value1 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + T2? value2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); + value2 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + T3? value3 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); + value3 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + T4? value4 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); + value4 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + T5? value5 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); + value5 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + var result = new global::System.OneOf( + value1, + + value2, + + value3, + + value4, + + value5 + ); + if (!result.Validate()) + { + throw new global::System.Text.Json.JsonException($"Invalid JSON format for OneOf<{typeof(T1).Name}, {typeof(T2).Name}, {typeof(T3).Name}, {typeof(T4).Name}, {typeof(T5).Name}>"); + } + + if (value1 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + else if (value2 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + else if (value3 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + else if (value4 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + else if (value5 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + return result; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::System.OneOf value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (!value.Validate()) + { + throw new global::System.Text.Json.JsonException($"Invalid OneOf<{typeof(T1).Name}, {typeof(T2).Name}, {typeof(T3).Name}, {typeof(T4).Name}, {typeof(T5).Name}> object."); + } + + if (value.IsValue1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo); + } + + else if (value.IsValue2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo); + } + + else if (value.IsValue3) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3, typeInfo); + } + + else if (value.IsValue4) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value4, typeInfo); + } + + else if (value.IsValue5) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/GitHub/Generated/JsonConverters.OneOfFactory21.g.cs b/src/libs/GitHub/Generated/JsonConverters.OneOfFactory21.g.cs deleted file mode 100644 index cd42479d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.OneOfFactory21.g.cs +++ /dev/null @@ -1,25 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class OneOfJsonConverterFactory21 : global::System.Text.Json.Serialization.JsonConverterFactory - { - /// - public override bool CanConvert(global::System.Type? typeToConvert) - { - return typeToConvert is { IsGenericType: true } && typeToConvert.GetGenericTypeDefinition() == typeof(global::System.OneOf<,,,,,,,,,,,,,,,,,,,,>); - } - - /// - public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - typeToConvert = typeToConvert ?? throw new global::System.ArgumentNullException(nameof(typeToConvert)); - - return (global::System.Text.Json.Serialization.JsonConverter)global::System.Activator.CreateInstance( - typeof(OneOfJsonConverter<,,,,,,,,,,,,,,,,,,,,>).MakeGenericType(typeToConvert.GenericTypeArguments))!; - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.OneOfFactory5.g.cs b/src/libs/GitHub/Generated/JsonConverters.OneOfFactory5.g.cs new file mode 100644 index 00000000..8b311c9d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.OneOfFactory5.g.cs @@ -0,0 +1,25 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class OneOfJsonConverterFactory5 : global::System.Text.Json.Serialization.JsonConverterFactory + { + /// + public override bool CanConvert(global::System.Type? typeToConvert) + { + return typeToConvert is { IsGenericType: true } && typeToConvert.GetGenericTypeDefinition() == typeof(global::System.OneOf<,,,,>); + } + + /// + public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + typeToConvert = typeToConvert ?? throw new global::System.ArgumentNullException(nameof(typeToConvert)); + + return (global::System.Text.Json.Serialization.JsonConverter)global::System.Activator.CreateInstance( + typeof(OneOfJsonConverter<,,,,>).MakeGenericType(typeToConvert.GenericTypeArguments))!; + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.OrgRulesetConditions.g.cs b/src/libs/GitHub/Generated/JsonConverters.OrgRulesetConditions.g.cs index c876a6a4..24bef7ed 100644 --- a/src/libs/GitHub/Generated/JsonConverters.OrgRulesetConditions.g.cs +++ b/src/libs/GitHub/Generated/JsonConverters.OrgRulesetConditions.g.cs @@ -17,11 +17,11 @@ public class OrgRulesetConditionsJsonConverter : global::System.Text.Json.Serial var readerCopy = reader; - object? value1 = default; + global::System.AllOf? value1 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value1 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -29,11 +29,11 @@ public class OrgRulesetConditionsJsonConverter : global::System.Text.Json.Serial } readerCopy = reader; - object? value2 = default; + global::System.AllOf? value2 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value2 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -41,11 +41,11 @@ public class OrgRulesetConditionsJsonConverter : global::System.Text.Json.Serial } readerCopy = reader; - object? value3 = default; + global::System.AllOf? value3 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value3 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -60,27 +60,27 @@ public class OrgRulesetConditionsJsonConverter : global::System.Text.Json.Serial ); if (!result.Validate()) { - throw new global::System.Text.Json.JsonException($"Invalid JSON format for OneOf<{typeof(object).Name}, {typeof(object).Name}, {typeof(object).Name}>"); + throw new global::System.Text.Json.JsonException($"Invalid JSON format for OneOf<{typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}>"); } if (value1 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value2 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value3 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } return result; @@ -97,27 +97,27 @@ public override void Write( if (!value.Validate()) { - throw new global::System.Text.Json.JsonException($"Invalid OneOf<{typeof(object).Name}, {typeof(object).Name}, {typeof(object).Name}> object."); + throw new global::System.Text.Json.JsonException($"Invalid OneOf<{typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}> object."); } if (value.IsValue1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo); } else if (value.IsValue2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo); } else if (value.IsValue3) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3, typeInfo); } } diff --git a/src/libs/GitHub/Generated/JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite.g.cs b/src/libs/GitHub/Generated/JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite.g.cs new file mode 100644 index 00000000..4bc09eb1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteNullable.g.cs new file mode 100644 index 00000000..48eada79 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestBuildType.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestBuildType.g.cs new file mode 100644 index 00000000..023a0b31 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestBuildType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ReposCreatePagesSiteRequestBuildTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ReposCreatePagesSiteRequestBuildType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ReposCreatePagesSiteRequestBuildTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ReposCreatePagesSiteRequestBuildType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ReposCreatePagesSiteRequestBuildType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.ReposCreatePagesSiteRequestBuildTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestBuildTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestBuildTypeNullable.g.cs new file mode 100644 index 00000000..92ec187d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestBuildTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ReposCreatePagesSiteRequestBuildTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ReposCreatePagesSiteRequestBuildType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ReposCreatePagesSiteRequestBuildTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ReposCreatePagesSiteRequestBuildType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ReposCreatePagesSiteRequestBuildType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.ReposCreatePagesSiteRequestBuildTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestSourcePath.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestSourcePath.g.cs new file mode 100644 index 00000000..7f162beb --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestSourcePath.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ReposCreatePagesSiteRequestSourcePathJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ReposCreatePagesSiteRequestSourcePath Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ReposCreatePagesSiteRequestSourcePathExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ReposCreatePagesSiteRequestSourcePath)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ReposCreatePagesSiteRequestSourcePath value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.ReposCreatePagesSiteRequestSourcePathExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestSourcePathNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestSourcePathNullable.g.cs new file mode 100644 index 00000000..68bb1b8b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ReposCreatePagesSiteRequestSourcePathNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ReposCreatePagesSiteRequestSourcePathNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ReposCreatePagesSiteRequestSourcePath? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ReposCreatePagesSiteRequestSourcePathExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ReposCreatePagesSiteRequestSourcePath)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ReposCreatePagesSiteRequestSourcePath? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.ReposCreatePagesSiteRequestSourcePathExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseEvaluationResult.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseEvaluationResult.g.cs deleted file mode 100644 index f55145f0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseEvaluationResult.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class ReposGetOrgRuleSuitesResponseEvaluationResultJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.ReposGetOrgRuleSuitesResponseEvaluationResult Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.ReposGetOrgRuleSuitesResponseEvaluationResultExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.ReposGetOrgRuleSuitesResponseEvaluationResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.ReposGetOrgRuleSuitesResponseEvaluationResult value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.ReposGetOrgRuleSuitesResponseEvaluationResultExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseEvaluationResultNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseEvaluationResultNullable.g.cs deleted file mode 100644 index 87ab3dd9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseEvaluationResultNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class ReposGetOrgRuleSuitesResponseEvaluationResultNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.ReposGetOrgRuleSuitesResponseEvaluationResult? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.ReposGetOrgRuleSuitesResponseEvaluationResultExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.ReposGetOrgRuleSuitesResponseEvaluationResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.ReposGetOrgRuleSuitesResponseEvaluationResult? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.ReposGetOrgRuleSuitesResponseEvaluationResultExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseResult.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseResult.g.cs deleted file mode 100644 index 252aabd0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseResult.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class ReposGetOrgRuleSuitesResponseResultJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.ReposGetOrgRuleSuitesResponseResult Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.ReposGetOrgRuleSuitesResponseResultExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.ReposGetOrgRuleSuitesResponseResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.ReposGetOrgRuleSuitesResponseResult value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.ReposGetOrgRuleSuitesResponseResultExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseResultNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseResultNullable.g.cs deleted file mode 100644 index 7fc1bd72..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.ReposGetOrgRuleSuitesResponseResultNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class ReposGetOrgRuleSuitesResponseResultNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.ReposGetOrgRuleSuitesResponseResult? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.ReposGetOrgRuleSuitesResponseResultExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.ReposGetOrgRuleSuitesResponseResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.ReposGetOrgRuleSuitesResponseResult? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.ReposGetOrgRuleSuitesResponseResultExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseEvaluationResult.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseEvaluationResult.g.cs deleted file mode 100644 index 5beb74af..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseEvaluationResult.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class ReposGetRepoRuleSuitesResponseEvaluationResultJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.ReposGetRepoRuleSuitesResponseEvaluationResult Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.ReposGetRepoRuleSuitesResponseEvaluationResultExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.ReposGetRepoRuleSuitesResponseEvaluationResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.ReposGetRepoRuleSuitesResponseEvaluationResult value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.ReposGetRepoRuleSuitesResponseEvaluationResultExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseEvaluationResultNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseEvaluationResultNullable.g.cs deleted file mode 100644 index 21cf25a4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseEvaluationResultNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class ReposGetRepoRuleSuitesResponseEvaluationResultNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.ReposGetRepoRuleSuitesResponseEvaluationResult? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.ReposGetRepoRuleSuitesResponseEvaluationResultExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.ReposGetRepoRuleSuitesResponseEvaluationResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.ReposGetRepoRuleSuitesResponseEvaluationResult? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.ReposGetRepoRuleSuitesResponseEvaluationResultExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseResult.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseResult.g.cs deleted file mode 100644 index abd433f2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseResult.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class ReposGetRepoRuleSuitesResponseResultJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.ReposGetRepoRuleSuitesResponseResult Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.ReposGetRepoRuleSuitesResponseResultExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.ReposGetRepoRuleSuitesResponseResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.ReposGetRepoRuleSuitesResponseResult value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.ReposGetRepoRuleSuitesResponseResultExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseResultNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseResultNullable.g.cs deleted file mode 100644 index 168da3af..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.ReposGetRepoRuleSuitesResponseResultNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class ReposGetRepoRuleSuitesResponseResultNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.ReposGetRepoRuleSuitesResponseResult? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.ReposGetRepoRuleSuitesResponseResultExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.ReposGetRepoRuleSuitesResponseResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.ReposGetRepoRuleSuitesResponseResult? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.ReposGetRepoRuleSuitesResponseResultExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestBuildType.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestBuildType.g.cs new file mode 100644 index 00000000..a9b6d773 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestBuildType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ReposUpdateInformationAboutPagesSiteRequestBuildTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ReposUpdateInformationAboutPagesSiteRequestBuildType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ReposUpdateInformationAboutPagesSiteRequestBuildTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ReposUpdateInformationAboutPagesSiteRequestBuildType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ReposUpdateInformationAboutPagesSiteRequestBuildType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.ReposUpdateInformationAboutPagesSiteRequestBuildTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestBuildTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestBuildTypeNullable.g.cs new file mode 100644 index 00000000..d78aa579 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestBuildTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ReposUpdateInformationAboutPagesSiteRequestBuildTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ReposUpdateInformationAboutPagesSiteRequestBuildType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ReposUpdateInformationAboutPagesSiteRequestBuildTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ReposUpdateInformationAboutPagesSiteRequestBuildType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ReposUpdateInformationAboutPagesSiteRequestBuildType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.ReposUpdateInformationAboutPagesSiteRequestBuildTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.g.cs new file mode 100644 index 00000000..ffb9e7b8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ReposUpdateInformationAboutPagesSiteRequestSourceVariant1JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1Nullable.g.cs new file mode 100644 index 00000000..d0c4f4d3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ReposUpdateInformationAboutPagesSiteRequestSourceVariant1NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path.g.cs new file mode 100644 index 00000000..bad74a8a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathNullable.g.cs new file mode 100644 index 00000000..3c386503 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifierType.g.cs b/src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifierType.g.cs new file mode 100644 index 00000000..655db5a7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifierType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class RepositoryAdvisoryIdentifierTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.RepositoryAdvisoryIdentifierType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.RepositoryAdvisoryIdentifierTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.RepositoryAdvisoryIdentifierType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.RepositoryAdvisoryIdentifierType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.RepositoryAdvisoryIdentifierTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifierTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifierTypeNullable.g.cs new file mode 100644 index 00000000..5dfd1131 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifierTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class RepositoryAdvisoryIdentifierTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.RepositoryAdvisoryIdentifierType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.RepositoryAdvisoryIdentifierTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.RepositoryAdvisoryIdentifierType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.RepositoryAdvisoryIdentifierType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.RepositoryAdvisoryIdentifierTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifiersType.g.cs b/src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifiersType.g.cs deleted file mode 100644 index cdab6630..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifiersType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class RepositoryAdvisoryIdentifiersTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.RepositoryAdvisoryIdentifiersType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.RepositoryAdvisoryIdentifiersTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.RepositoryAdvisoryIdentifiersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.RepositoryAdvisoryIdentifiersType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.RepositoryAdvisoryIdentifiersTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifiersTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifiersTypeNullable.g.cs deleted file mode 100644 index 65029b85..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.RepositoryAdvisoryIdentifiersTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class RepositoryAdvisoryIdentifiersTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.RepositoryAdvisoryIdentifiersType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.RepositoryAdvisoryIdentifiersTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.RepositoryAdvisoryIdentifiersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.RepositoryAdvisoryIdentifiersType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.RepositoryAdvisoryIdentifiersTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.RepositoryRuleDetailed.g.cs b/src/libs/GitHub/Generated/JsonConverters.RepositoryRuleDetailed.g.cs index 92a885ed..5bcd4a98 100644 --- a/src/libs/GitHub/Generated/JsonConverters.RepositoryRuleDetailed.g.cs +++ b/src/libs/GitHub/Generated/JsonConverters.RepositoryRuleDetailed.g.cs @@ -17,11 +17,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri var readerCopy = reader; - global::System.AllOf? value1 = default; + global::System.AllOf? value1 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value1 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -29,11 +29,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value2 = default; + global::System.AllOf? value2 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value2 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -41,11 +41,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value3 = default; + global::System.AllOf? value3 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value3 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -53,11 +53,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value4 = default; + global::System.AllOf? value4 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value4 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -65,11 +65,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value5 = default; + global::System.AllOf? value5 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value5 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -77,11 +77,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value6 = default; + global::System.AllOf? value6 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value6 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -89,11 +89,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value7 = default; + global::System.AllOf? value7 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value7 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -101,11 +101,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value8 = default; + global::System.AllOf? value8 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value8 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -113,11 +113,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value9 = default; + global::System.AllOf? value9 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value9 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -125,11 +125,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value10 = default; + global::System.AllOf? value10 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value10 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -137,11 +137,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value11 = default; + global::System.AllOf? value11 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value11 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -149,11 +149,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value12 = default; + global::System.AllOf? value12 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value12 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -161,11 +161,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value13 = default; + global::System.AllOf? value13 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value13 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -173,11 +173,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value14 = default; + global::System.AllOf? value14 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value14 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -185,11 +185,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value15 = default; + global::System.AllOf? value15 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value15 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -197,11 +197,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value16 = default; + global::System.AllOf? value16 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value16 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -209,11 +209,11 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri } readerCopy = reader; - global::System.AllOf? value17 = default; + global::System.AllOf? value17 = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); value17 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) @@ -256,125 +256,125 @@ public class RepositoryRuleDetailedJsonConverter : global::System.Text.Json.Seri ); if (!result.Validate()) { - throw new global::System.Text.Json.JsonException($"Invalid JSON format for OneOf<{typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}>"); + throw new global::System.Text.Json.JsonException($"Invalid JSON format for OneOf<{typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}>"); } if (value1 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value2 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value3 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value4 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value5 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value6 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value7 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value8 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value9 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value10 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value11 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value12 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value13 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value14 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value15 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value16 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } else if (value17 != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } return result; @@ -391,125 +391,125 @@ public override void Write( if (!value.Validate()) { - throw new global::System.Text.Json.JsonException($"Invalid OneOf<{typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}> object."); + throw new global::System.Text.Json.JsonException($"Invalid OneOf<{typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}, {typeof(global::System.AllOf).Name}> object."); } if (value.IsValue1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo); } else if (value.IsValue2) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo); } else if (value.IsValue3) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3, typeInfo); } else if (value.IsValue4) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value4, typeInfo); } else if (value.IsValue5) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5, typeInfo); } else if (value.IsValue6) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value6, typeInfo); } else if (value.IsValue7) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value7, typeInfo); } else if (value.IsValue8) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value8, typeInfo); } else if (value.IsValue9) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value9, typeInfo); } else if (value.IsValue10) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value10, typeInfo); } else if (value.IsValue11) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value11, typeInfo); } else if (value.IsValue12) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value12, typeInfo); } else if (value.IsValue13) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value13, typeInfo); } else if (value.IsValue14) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value14, typeInfo); } else if (value.IsValue15) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value15, typeInfo); } else if (value.IsValue16) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value16, typeInfo); } else if (value.IsValue17) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.AllOf), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.AllOf).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value17, typeInfo); } } diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteEvaluationResult2.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteEvaluationResult2.g.cs new file mode 100644 index 00000000..e8dfe5fd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteEvaluationResult2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class RuleSuiteEvaluationResult2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.RuleSuiteEvaluationResult2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.RuleSuiteEvaluationResult2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.RuleSuiteEvaluationResult2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.RuleSuiteEvaluationResult2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.RuleSuiteEvaluationResult2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteEvaluationResult2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteEvaluationResult2Nullable.g.cs new file mode 100644 index 00000000..b168cd2c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteEvaluationResult2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class RuleSuiteEvaluationResult2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.RuleSuiteEvaluationResult2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.RuleSuiteEvaluationResult2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.RuleSuiteEvaluationResult2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.RuleSuiteEvaluationResult2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.RuleSuiteEvaluationResult2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteResult2.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteResult2.g.cs new file mode 100644 index 00000000..a56667cf --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteResult2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class RuleSuiteResult2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.RuleSuiteResult2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.RuleSuiteResult2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.RuleSuiteResult2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.RuleSuiteResult2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.RuleSuiteResult2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteResult2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteResult2Nullable.g.cs new file mode 100644 index 00000000..83a21f8c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteResult2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class RuleSuiteResult2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.RuleSuiteResult2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.RuleSuiteResult2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.RuleSuiteResult2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.RuleSuiteResult2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.RuleSuiteResult2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationEnforcement.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationEnforcement.g.cs new file mode 100644 index 00000000..0ae4c3b5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationEnforcement.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class RuleSuiteRuleEvaluationEnforcementJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.RuleSuiteRuleEvaluationEnforcement Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.RuleSuiteRuleEvaluationEnforcementExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.RuleSuiteRuleEvaluationEnforcement)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.RuleSuiteRuleEvaluationEnforcement value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.RuleSuiteRuleEvaluationEnforcementExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationEnforcementNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationEnforcementNullable.g.cs new file mode 100644 index 00000000..0fa03935 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationEnforcementNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class RuleSuiteRuleEvaluationEnforcementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.RuleSuiteRuleEvaluationEnforcement? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.RuleSuiteRuleEvaluationEnforcementExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.RuleSuiteRuleEvaluationEnforcement)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.RuleSuiteRuleEvaluationEnforcement? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.RuleSuiteRuleEvaluationEnforcementExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationResult.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationResult.g.cs new file mode 100644 index 00000000..8f2f3005 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationResult.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class RuleSuiteRuleEvaluationResultJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.RuleSuiteRuleEvaluationResult Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.RuleSuiteRuleEvaluationResultExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.RuleSuiteRuleEvaluationResult)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.RuleSuiteRuleEvaluationResult value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.RuleSuiteRuleEvaluationResultExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationResultNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationResultNullable.g.cs new file mode 100644 index 00000000..94fc4931 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationResultNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class RuleSuiteRuleEvaluationResultNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.RuleSuiteRuleEvaluationResult? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.RuleSuiteRuleEvaluationResultExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.RuleSuiteRuleEvaluationResult)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.RuleSuiteRuleEvaluationResult? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.RuleSuiteRuleEvaluationResultExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsEnforcement.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsEnforcement.g.cs deleted file mode 100644 index 2f1531ac..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsEnforcement.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class RuleSuiteRuleEvaluationsEnforcementJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.RuleSuiteRuleEvaluationsEnforcement Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.RuleSuiteRuleEvaluationsEnforcementExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.RuleSuiteRuleEvaluationsEnforcement)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.RuleSuiteRuleEvaluationsEnforcement value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.RuleSuiteRuleEvaluationsEnforcementExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsEnforcementNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsEnforcementNullable.g.cs deleted file mode 100644 index 40aee781..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsEnforcementNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class RuleSuiteRuleEvaluationsEnforcementNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.RuleSuiteRuleEvaluationsEnforcement? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.RuleSuiteRuleEvaluationsEnforcementExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.RuleSuiteRuleEvaluationsEnforcement)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.RuleSuiteRuleEvaluationsEnforcement? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.RuleSuiteRuleEvaluationsEnforcementExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsResult.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsResult.g.cs deleted file mode 100644 index b01f3c5b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsResult.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class RuleSuiteRuleEvaluationsResultJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.RuleSuiteRuleEvaluationsResult Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.RuleSuiteRuleEvaluationsResultExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.RuleSuiteRuleEvaluationsResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.RuleSuiteRuleEvaluationsResult value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.RuleSuiteRuleEvaluationsResultExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsResultNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsResultNullable.g.cs deleted file mode 100644 index 92534b61..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.RuleSuiteRuleEvaluationsResultNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class RuleSuiteRuleEvaluationsResultNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.RuleSuiteRuleEvaluationsResult? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.RuleSuiteRuleEvaluationsResultExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.RuleSuiteRuleEvaluationsResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.RuleSuiteRuleEvaluationsResult? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.RuleSuiteRuleEvaluationsResultExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuitesEvaluationResult.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuitesEvaluationResult.g.cs deleted file mode 100644 index b4541a1c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.RuleSuitesEvaluationResult.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class RuleSuitesEvaluationResultJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.RuleSuitesEvaluationResult Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.RuleSuitesEvaluationResultExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.RuleSuitesEvaluationResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.RuleSuitesEvaluationResult value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.RuleSuitesEvaluationResultExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuitesEvaluationResultNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuitesEvaluationResultNullable.g.cs deleted file mode 100644 index 2e69cd31..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.RuleSuitesEvaluationResultNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class RuleSuitesEvaluationResultNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.RuleSuitesEvaluationResult? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.RuleSuitesEvaluationResultExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.RuleSuitesEvaluationResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.RuleSuitesEvaluationResult? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.RuleSuitesEvaluationResultExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuitesResult.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuitesResult.g.cs deleted file mode 100644 index b81a6583..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.RuleSuitesResult.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class RuleSuitesResultJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.RuleSuitesResult Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.RuleSuitesResultExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.RuleSuitesResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.RuleSuitesResult value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.RuleSuitesResultExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.RuleSuitesResultNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.RuleSuitesResultNullable.g.cs deleted file mode 100644 index 94b62d52..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.RuleSuitesResultNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class RuleSuitesResultNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.RuleSuitesResult? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.RuleSuitesResultExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.RuleSuitesResult)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.RuleSuitesResult? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.RuleSuitesResultExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesEcosystem.g.cs b/src/libs/GitHub/Generated/JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesEcosystem.g.cs deleted file mode 100644 index 31daeff0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesEcosystem.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class SecurityAdvisoriesListGlobalAdvisoriesEcosystemJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesEcosystem Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesEcosystemExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesEcosystem)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesEcosystem value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesEcosystemExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesEcosystemNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesEcosystemNullable.g.cs deleted file mode 100644 index d6f81503..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesEcosystemNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class SecurityAdvisoriesListGlobalAdvisoriesEcosystemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesEcosystem? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesEcosystemExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesEcosystem)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesEcosystem? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesEcosystemExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEvent.g.cs new file mode 100644 index 00000000..c5896845 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookCheckSuiteCompletedCheckSuiteAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEventNullable.g.cs new file mode 100644 index 00000000..963dc097 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookCheckSuiteCompletedCheckSuiteAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEvents.g.cs deleted file mode 100644 index 7ac5cea2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookCheckSuiteCompletedCheckSuiteAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEventsNullable.g.cs deleted file mode 100644 index 505e3fd8..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookCheckSuiteCompletedCheckSuiteAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEvent.g.cs new file mode 100644 index 00000000..33def94c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookCheckSuiteRequestedCheckSuiteAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEventNullable.g.cs new file mode 100644 index 00000000..fe0661a3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookCheckSuiteRequestedCheckSuiteAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEvents.g.cs deleted file mode 100644 index 4be98eea..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookCheckSuiteRequestedCheckSuiteAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEventsNullable.g.cs deleted file mode 100644 index d48b7b86..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookCheckSuiteRequestedCheckSuiteAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEvent.g.cs new file mode 100644 index 00000000..9a353b38 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookCheckSuiteRerequestedCheckSuiteAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEventNullable.g.cs new file mode 100644 index 00000000..029381e2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookCheckSuiteRerequestedCheckSuiteAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEvents.g.cs deleted file mode 100644 index 14101dd3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookCheckSuiteRerequestedCheckSuiteAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEventsNullable.g.cs deleted file mode 100644 index afb50834..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookCheckSuiteRerequestedCheckSuiteAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..00cadb14 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..0a51b765 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 23acadc9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index 772be499..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersReviewerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersReviewerType.g.cs deleted file mode 100644 index c19293d5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersReviewerType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentReviewApprovedReviewersReviewerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewerType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewerTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewerType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewerTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersReviewerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersReviewerTypeNullable.g.cs deleted file mode 100644 index c8e01f6a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersReviewerTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentReviewApprovedReviewersReviewerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewerType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewerTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewerType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewerTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersType.g.cs deleted file mode 100644 index 38e3e1a5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentReviewApprovedReviewersTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentReviewApprovedReviewersType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentReviewApprovedReviewersTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentReviewApprovedReviewersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentReviewApprovedReviewersType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewApprovedReviewersTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersTypeNullable.g.cs deleted file mode 100644 index d006c260..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewApprovedReviewersTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentReviewApprovedReviewersTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentReviewApprovedReviewersType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentReviewApprovedReviewersTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentReviewApprovedReviewersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentReviewApprovedReviewersType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewApprovedReviewersTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersReviewerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersReviewerType.g.cs deleted file mode 100644 index 83be2f32..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersReviewerType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentReviewRejectedReviewersReviewerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewerType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewerTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewerType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewerTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersReviewerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersReviewerTypeNullable.g.cs deleted file mode 100644 index 3162d75a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersReviewerTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentReviewRejectedReviewersReviewerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewerType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewerTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewerType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewerTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersType.g.cs deleted file mode 100644 index caf8ed9d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentReviewRejectedReviewersTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentReviewRejectedReviewersType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentReviewRejectedReviewersTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentReviewRejectedReviewersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentReviewRejectedReviewersType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewRejectedReviewersTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersTypeNullable.g.cs deleted file mode 100644 index ebdaa4ec..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRejectedReviewersTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentReviewRejectedReviewersTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentReviewRejectedReviewersType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentReviewRejectedReviewersTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentReviewRejectedReviewersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentReviewRejectedReviewersType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewRejectedReviewersTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerReviewerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerReviewerType.g.cs new file mode 100644 index 00000000..03a89aee --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerReviewerType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookDeploymentReviewRequestedReviewerReviewerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewerType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewerTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewerType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewerTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerReviewerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerReviewerTypeNullable.g.cs new file mode 100644 index 00000000..d01d86a0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerReviewerTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookDeploymentReviewRequestedReviewerReviewerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewerType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewerTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewerType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewerTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerType.g.cs new file mode 100644 index 00000000..b0ef3339 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookDeploymentReviewRequestedReviewerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookDeploymentReviewRequestedReviewerType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookDeploymentReviewRequestedReviewerTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookDeploymentReviewRequestedReviewerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookDeploymentReviewRequestedReviewerType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewRequestedReviewerTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerTypeNullable.g.cs new file mode 100644 index 00000000..fc718d50 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewerTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookDeploymentReviewRequestedReviewerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookDeploymentReviewRequestedReviewerType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookDeploymentReviewRequestedReviewerTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookDeploymentReviewRequestedReviewerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookDeploymentReviewRequestedReviewerType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewRequestedReviewerTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersReviewerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersReviewerType.g.cs deleted file mode 100644 index 293cfcde..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersReviewerType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentReviewRequestedReviewersReviewerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewerType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewerTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewerType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewerTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersReviewerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersReviewerTypeNullable.g.cs deleted file mode 100644 index 4a7ae401..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersReviewerTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentReviewRequestedReviewersReviewerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewerType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewerTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewerType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewerTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersType.g.cs deleted file mode 100644 index 53b79793..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentReviewRequestedReviewersTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentReviewRequestedReviewersType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentReviewRequestedReviewersTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentReviewRequestedReviewersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentReviewRequestedReviewersType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewRequestedReviewersTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersTypeNullable.g.cs deleted file mode 100644 index bd5e634c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentReviewRequestedReviewersTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentReviewRequestedReviewersTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentReviewRequestedReviewersType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentReviewRequestedReviewersTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentReviewRequestedReviewersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentReviewRequestedReviewersType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookDeploymentReviewRequestedReviewersTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..197cbeca --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..2529b4a0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 6fd55744..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index eefcdd27..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..20908e54 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..f0e5fbdc --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 024d22df..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index e476adab..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeOwnerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeOwnerType.g.cs deleted file mode 100644 index d6f04eac..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeOwnerType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookForkForkeeOwnerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookForkForkeeOwnerType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookForkForkeeOwnerTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookForkForkeeOwnerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookForkForkeeOwnerType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookForkForkeeOwnerTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeOwnerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeOwnerTypeNullable.g.cs deleted file mode 100644 index 31fd74d6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeOwnerTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookForkForkeeOwnerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookForkForkeeOwnerType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookForkForkeeOwnerTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookForkForkeeOwnerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookForkForkeeOwnerType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookForkForkeeOwnerTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1OwnerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1OwnerType.g.cs new file mode 100644 index 00000000..1e90ff25 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1OwnerType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookForkForkeeVariant1OwnerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookForkForkeeVariant1OwnerType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookForkForkeeVariant1OwnerTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookForkForkeeVariant1OwnerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookForkForkeeVariant1OwnerType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookForkForkeeVariant1OwnerTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1OwnerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1OwnerTypeNullable.g.cs new file mode 100644 index 00000000..a353a17a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1OwnerTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookForkForkeeVariant1OwnerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookForkForkeeVariant1OwnerType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookForkForkeeVariant1OwnerTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookForkForkeeVariant1OwnerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookForkForkeeVariant1OwnerType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookForkForkeeVariant1OwnerTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1Visibility.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1Visibility.g.cs new file mode 100644 index 00000000..afbdf602 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1Visibility.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookForkForkeeVariant1VisibilityJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookForkForkeeVariant1Visibility Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookForkForkeeVariant1VisibilityExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookForkForkeeVariant1Visibility)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookForkForkeeVariant1Visibility value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookForkForkeeVariant1VisibilityExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1VisibilityNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1VisibilityNullable.g.cs new file mode 100644 index 00000000..4c8594d6 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVariant1VisibilityNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookForkForkeeVariant1VisibilityNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookForkForkeeVariant1Visibility? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookForkForkeeVariant1VisibilityExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookForkForkeeVariant1Visibility)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookForkForkeeVariant1Visibility? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookForkForkeeVariant1VisibilityExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVisibility.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVisibility.g.cs deleted file mode 100644 index e308a2ab..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVisibility.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookForkForkeeVisibilityJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookForkForkeeVisibility Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookForkForkeeVisibilityExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookForkForkeeVisibility)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookForkForkeeVisibility value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookForkForkeeVisibilityExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVisibilityNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVisibilityNullable.g.cs deleted file mode 100644 index 32455772..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookForkForkeeVisibilityNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookForkForkeeVisibilityNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookForkForkeeVisibility? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookForkForkeeVisibilityExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookForkForkeeVisibility)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookForkForkeeVisibility? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookForkForkeeVisibilityExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookGollumPageAction.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookGollumPageAction.g.cs new file mode 100644 index 00000000..a1df5a07 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookGollumPageAction.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookGollumPageActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookGollumPageAction Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookGollumPageActionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookGollumPageAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookGollumPageAction value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookGollumPageActionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookGollumPageActionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookGollumPageActionNullable.g.cs new file mode 100644 index 00000000..68a35e95 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookGollumPageActionNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookGollumPageActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookGollumPageAction? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookGollumPageActionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookGollumPageAction)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookGollumPageAction? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookGollumPageActionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookGollumPagesAction.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookGollumPagesAction.g.cs deleted file mode 100644 index 360b7f66..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookGollumPagesAction.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookGollumPagesActionJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookGollumPagesAction Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookGollumPagesActionExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookGollumPagesAction)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookGollumPagesAction value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookGollumPagesActionExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookGollumPagesActionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookGollumPagesActionNullable.g.cs deleted file mode 100644 index c900b0d3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookGollumPagesActionNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookGollumPagesActionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookGollumPagesAction? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookGollumPagesActionExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookGollumPagesAction)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookGollumPagesAction? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookGollumPagesActionExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueActiveLockReason.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueActiveLockReason.g.cs deleted file mode 100644 index adc184fe..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueActiveLockReason.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueActiveLockReasonJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueActiveLockReason Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueActiveLockReasonExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueActiveLockReason)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueActiveLockReason value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueActiveLockReasonExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueActiveLockReasonNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueActiveLockReasonNullable.g.cs deleted file mode 100644 index b6c98542..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueActiveLockReasonNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueActiveLockReasonNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueActiveLockReason? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueActiveLockReasonExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueActiveLockReason)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueActiveLockReason? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueActiveLockReasonExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneeType.g.cs deleted file mode 100644 index 5eca87be..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneeType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueAssigneeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueAssigneeType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueAssigneeTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueAssigneeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueAssigneeType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueAssigneeTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneeTypeNullable.g.cs deleted file mode 100644 index e4e992c0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneeTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueAssigneeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueAssigneeType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueAssigneeTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueAssigneeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueAssigneeType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueAssigneeTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneesType.g.cs deleted file mode 100644 index 67ee6be9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index 1d2e1348..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAuthorAssociation.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAuthorAssociation.g.cs deleted file mode 100644 index d2ea2cec..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAuthorAssociation.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueAuthorAssociationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueAuthorAssociation Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueAuthorAssociationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueAuthorAssociation)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueAuthorAssociation value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueAuthorAssociationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAuthorAssociationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAuthorAssociationNullable.g.cs deleted file mode 100644 index b62abd63..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueAuthorAssociationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueAuthorAssociationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueAuthorAssociation? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueAuthorAssociationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueAuthorAssociation)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueAuthorAssociation? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueAuthorAssociationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneCreatorType.g.cs deleted file mode 100644 index be90fe4e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneCreatorType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueMilestoneCreatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreatorType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreatorTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreatorType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreatorType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreatorTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneCreatorTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneCreatorTypeNullable.g.cs deleted file mode 100644 index 7a26de02..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneCreatorTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueMilestoneCreatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreatorType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreatorTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreatorType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreatorType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreatorTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneState.g.cs deleted file mode 100644 index dacd0b24..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneState.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueMilestoneStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueMilestoneState Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueMilestoneStateExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueMilestoneState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueMilestoneState value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueMilestoneStateExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneStateNullable.g.cs deleted file mode 100644 index f1e338db..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueMilestoneStateNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueMilestoneStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueMilestoneState? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueMilestoneStateExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueMilestoneState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueMilestoneState? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueMilestoneStateExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index dac91f53..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index 2d543382..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.g.cs deleted file mode 100644 index 520d6a00..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs deleted file mode 100644 index 0e934d2d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions.g.cs deleted file mode 100644 index 600e9b95..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs deleted file mode 100644 index ab4e6e3e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration.g.cs deleted file mode 100644 index 522e87ca..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs deleted file mode 100644 index d13fc170..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks.g.cs deleted file mode 100644 index 07d81052..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs deleted file mode 100644 index 18c86bf5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs deleted file mode 100644 index 10a26ce9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs deleted file mode 100644 index 76d5a77c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents.g.cs deleted file mode 100644 index 1a083d03..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs deleted file mode 100644 index 4a31d412..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments.g.cs deleted file mode 100644 index c95090f3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs deleted file mode 100644 index 4bfac5c3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs deleted file mode 100644 index 5723dac3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs deleted file mode 100644 index 7ae99c09..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails.g.cs deleted file mode 100644 index 34db2817..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs deleted file mode 100644 index 616e5009..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs deleted file mode 100644 index de3343e0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs deleted file mode 100644 index 90accd1e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues.g.cs deleted file mode 100644 index 8df0ad54..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs deleted file mode 100644 index 5b9ccde5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys.g.cs deleted file mode 100644 index 65154003..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs deleted file mode 100644 index d9a0d32c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers.g.cs deleted file mode 100644 index f653634b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs deleted file mode 100644 index 496b3e96..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata.g.cs deleted file mode 100644 index 1f093637..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs deleted file mode 100644 index afd94df7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs deleted file mode 100644 index e09c8936..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs deleted file mode 100644 index 25605444..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs deleted file mode 100644 index 0b230fed..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs deleted file mode 100644 index 8ad06b4d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs deleted file mode 100644 index 6d5d36e5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs deleted file mode 100644 index d4c156e7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs deleted file mode 100644 index b1242a51..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs deleted file mode 100644 index bfabd039..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs deleted file mode 100644 index f9c09b0c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs deleted file mode 100644 index 209ee3e1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs deleted file mode 100644 index 276eaddf..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs deleted file mode 100644 index 12132613..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs deleted file mode 100644 index be961c32..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs deleted file mode 100644 index 8abe852e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs deleted file mode 100644 index 4c223cf1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs deleted file mode 100644 index 64e40722..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages.g.cs deleted file mode 100644 index 0560771f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs deleted file mode 100644 index 86302636..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages.g.cs deleted file mode 100644 index b97b5d59..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs deleted file mode 100644 index 179fc231..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs deleted file mode 100644 index ec36ca7d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs deleted file mode 100644 index 7bb89b92..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs deleted file mode 100644 index e8370d54..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs deleted file mode 100644 index 50316aae..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs deleted file mode 100644 index 0e040108..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs deleted file mode 100644 index d8f7972f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs deleted file mode 100644 index 472ce593..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs deleted file mode 100644 index 17a24608..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets.g.cs deleted file mode 100644 index 763133ad..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs deleted file mode 100644 index 98b81cb2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs deleted file mode 100644 index 2367d804..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs deleted file mode 100644 index 4e78e2f1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs deleted file mode 100644 index a052e421..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs deleted file mode 100644 index f03f2147..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs deleted file mode 100644 index a2987354..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs deleted file mode 100644 index e908fd6f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses.g.cs deleted file mode 100644 index 529ff649..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs deleted file mode 100644 index 9e610eb2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs deleted file mode 100644 index 18326f08..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs deleted file mode 100644 index 12ef2607..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs deleted file mode 100644 index ab99f323..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs deleted file mode 100644 index ac3d904c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs deleted file mode 100644 index 0521c47e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs deleted file mode 100644 index 39e9e2d7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueState.g.cs deleted file mode 100644 index 559ee8b5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueState.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueState Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueStateExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueState value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueStateExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueStateNullable.g.cs deleted file mode 100644 index 12c584ed..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueStateNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueState? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueStateExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueState? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueStateExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueUserType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueUserType.g.cs deleted file mode 100644 index affc76da..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueUserType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueUserTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueUserType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueUserTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueUserType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueUserType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueUserTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueUserTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueUserTypeNullable.g.cs deleted file mode 100644 index 344e8bad..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueUserTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentCreatedIssueUserTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentCreatedIssueUserType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentCreatedIssueUserTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentCreatedIssueUserType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentCreatedIssueUserType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueUserTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.g.cs new file mode 100644 index 00000000..2ddab3a6 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonNullable.g.cs new file mode 100644 index 00000000..4864ad97 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType.g.cs new file mode 100644 index 00000000..0eedbfdf --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1AssigneeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType2.g.cs new file mode 100644 index 00000000..8a9e3a20 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1AssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType2Nullable.g.cs new file mode 100644 index 00000000..ce874d40 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1AssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeTypeNullable.g.cs new file mode 100644 index 00000000..c4ac6d25 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1AssigneeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.g.cs new file mode 100644 index 00000000..280f83ec --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1AuthorAssociationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1AuthorAssociationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1AuthorAssociationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AuthorAssociationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AuthorAssociationNullable.g.cs new file mode 100644 index 00000000..4a4da750 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1AuthorAssociationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1AuthorAssociationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1AuthorAssociationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1AuthorAssociationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.g.cs new file mode 100644 index 00000000..06f391ff --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeNullable.g.cs new file mode 100644 index 00000000..0322e3d7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneState.g.cs new file mode 100644 index 00000000..a90b6a51 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneState.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1MilestoneStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneState Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneStateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneState value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneStateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneStateNullable.g.cs new file mode 100644 index 00000000..3fe70138 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneStateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1MilestoneStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneState? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneStateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneState? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneStateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..a935a0f2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..47b40ea1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.g.cs new file mode 100644 index 00000000..3e45d381 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs new file mode 100644 index 00000000..0b1ecd78 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs new file mode 100644 index 00000000..2a77a8dd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs new file mode 100644 index 00000000..1b8e4b23 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs new file mode 100644 index 00000000..09b5288a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs new file mode 100644 index 00000000..10bdac74 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs new file mode 100644 index 00000000..04690d58 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs new file mode 100644 index 00000000..e4b62c8f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs new file mode 100644 index 00000000..d8c96028 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs new file mode 100644 index 00000000..22938752 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs new file mode 100644 index 00000000..fad8b9fc --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs new file mode 100644 index 00000000..02d8d642 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs new file mode 100644 index 00000000..67d3b8b8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs new file mode 100644 index 00000000..956a84c3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs new file mode 100644 index 00000000..22be3cec --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs new file mode 100644 index 00000000..048b62a9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs new file mode 100644 index 00000000..f5d2ba76 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs new file mode 100644 index 00000000..c16ce317 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs new file mode 100644 index 00000000..c5d59fbd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs new file mode 100644 index 00000000..c36b9461 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs new file mode 100644 index 00000000..44944399 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs new file mode 100644 index 00000000..de18911a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs new file mode 100644 index 00000000..6bac9de9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs new file mode 100644 index 00000000..a09d06bf --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs new file mode 100644 index 00000000..0364f5bc --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs new file mode 100644 index 00000000..ecad34b9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs new file mode 100644 index 00000000..ec8f4436 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs new file mode 100644 index 00000000..83355fed --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs new file mode 100644 index 00000000..5a4c3b7a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs new file mode 100644 index 00000000..50fef14f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs new file mode 100644 index 00000000..34972fd6 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs new file mode 100644 index 00000000..ff6d6c2d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs new file mode 100644 index 00000000..2b566105 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs new file mode 100644 index 00000000..3f2538f8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs new file mode 100644 index 00000000..e9d76bdc --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs new file mode 100644 index 00000000..f66aade5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs new file mode 100644 index 00000000..30193218 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs new file mode 100644 index 00000000..a154e8a3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs new file mode 100644 index 00000000..32509af1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs new file mode 100644 index 00000000..955bd72e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs new file mode 100644 index 00000000..826c6c21 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs new file mode 100644 index 00000000..8b366eaf --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs new file mode 100644 index 00000000..b3debb3a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs new file mode 100644 index 00000000..3e49fd86 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs new file mode 100644 index 00000000..79cc9057 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs new file mode 100644 index 00000000..53925a0b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs new file mode 100644 index 00000000..d9c4b9f4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs new file mode 100644 index 00000000..0cc10652 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs new file mode 100644 index 00000000..72da972b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs new file mode 100644 index 00000000..5489d9be --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs new file mode 100644 index 00000000..c6fe843b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs new file mode 100644 index 00000000..9e29e82c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs new file mode 100644 index 00000000..7fbdb625 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs new file mode 100644 index 00000000..01170fc8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs new file mode 100644 index 00000000..bc6220bf --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs new file mode 100644 index 00000000..af273b94 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs new file mode 100644 index 00000000..cf52a814 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs new file mode 100644 index 00000000..94e74889 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs new file mode 100644 index 00000000..e803ca4e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs new file mode 100644 index 00000000..8c52b886 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs new file mode 100644 index 00000000..69d30634 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs new file mode 100644 index 00000000..a94abc86 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs new file mode 100644 index 00000000..d457fafd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs new file mode 100644 index 00000000..8b30e31f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs new file mode 100644 index 00000000..9fa7092a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs new file mode 100644 index 00000000..4ae6db78 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs new file mode 100644 index 00000000..7d9b6a95 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs new file mode 100644 index 00000000..e67fb9c0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs new file mode 100644 index 00000000..a6da899d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs new file mode 100644 index 00000000..416978ea --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs new file mode 100644 index 00000000..c89df0ac --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs new file mode 100644 index 00000000..b4e4ff0c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1State.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1State.g.cs new file mode 100644 index 00000000..b00cdf5e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1State.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1StateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1State Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1StateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1State value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1StateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1StateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1StateNullable.g.cs new file mode 100644 index 00000000..faf844c8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1StateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1StateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1State? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1StateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1State? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1StateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1UserType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1UserType.g.cs new file mode 100644 index 00000000..5325b11c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1UserType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1UserTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1UserType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1UserTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1UserType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1UserType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1UserTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1UserTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1UserTypeNullable.g.cs new file mode 100644 index 00000000..aa38c60f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant1UserTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant1UserTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant1UserType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant1UserTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant1UserType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant1UserType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant1UserTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2AssigneeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2AssigneeType.g.cs new file mode 100644 index 00000000..e50301e3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2AssigneeType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant2AssigneeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant2AssigneeType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant2AssigneeTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant2AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant2AssigneeType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant2AssigneeTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2AssigneeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2AssigneeTypeNullable.g.cs new file mode 100644 index 00000000..6ce6a5f0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2AssigneeTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant2AssigneeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant2AssigneeType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant2AssigneeTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant2AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant2AssigneeType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant2AssigneeTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2State.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2State.g.cs new file mode 100644 index 00000000..2ccb688e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2State.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant2StateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant2State Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant2StateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant2State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant2State value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant2StateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2StateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2StateNullable.g.cs new file mode 100644 index 00000000..4518e3dd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentCreatedIssueVariant2StateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentCreatedIssueVariant2StateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentCreatedIssueVariant2State? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentCreatedIssueVariant2StateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentCreatedIssueVariant2State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentCreatedIssueVariant2State? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentCreatedIssueVariant2StateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueActiveLockReason.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueActiveLockReason.g.cs deleted file mode 100644 index 04cd40d5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueActiveLockReason.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueActiveLockReasonJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueActiveLockReason Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueActiveLockReasonExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueActiveLockReason)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueActiveLockReason value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueActiveLockReasonExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueActiveLockReasonNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueActiveLockReasonNullable.g.cs deleted file mode 100644 index 31b36126..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueActiveLockReasonNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueActiveLockReasonNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueActiveLockReason? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueActiveLockReasonExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueActiveLockReason)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueActiveLockReason? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueActiveLockReasonExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneeType.g.cs deleted file mode 100644 index 6a6ed74f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneeType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueAssigneeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueAssigneeType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueAssigneeTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueAssigneeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueAssigneeType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueAssigneeTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneeTypeNullable.g.cs deleted file mode 100644 index 6dd0ccae..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneeTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueAssigneeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueAssigneeType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueAssigneeTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueAssigneeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueAssigneeType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueAssigneeTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneesType.g.cs deleted file mode 100644 index 26fcd4e1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index 3c07ae55..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAuthorAssociation.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAuthorAssociation.g.cs deleted file mode 100644 index 25a388ed..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAuthorAssociation.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueAuthorAssociationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueAuthorAssociation Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueAuthorAssociationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueAuthorAssociation)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueAuthorAssociation value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueAuthorAssociationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAuthorAssociationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAuthorAssociationNullable.g.cs deleted file mode 100644 index ed692b0f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueAuthorAssociationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueAuthorAssociationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueAuthorAssociation? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueAuthorAssociationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueAuthorAssociation)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueAuthorAssociation? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueAuthorAssociationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneCreatorType.g.cs deleted file mode 100644 index 30d2c915..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneCreatorType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueMilestoneCreatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreatorType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreatorTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreatorType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreatorType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreatorTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneCreatorTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneCreatorTypeNullable.g.cs deleted file mode 100644 index acf08352..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneCreatorTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueMilestoneCreatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreatorType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreatorTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreatorType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreatorType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreatorTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneState.g.cs deleted file mode 100644 index dbf76c79..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneState.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueMilestoneStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueMilestoneState Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueMilestoneStateExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueMilestoneState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueMilestoneState value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueMilestoneStateExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneStateNullable.g.cs deleted file mode 100644 index c281c922..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueMilestoneStateNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueMilestoneStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueMilestoneState? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueMilestoneStateExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueMilestoneState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueMilestoneState? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueMilestoneStateExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index b47fd0b0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index 9cd48e74..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.g.cs deleted file mode 100644 index 1ab59f93..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs deleted file mode 100644 index efcde77e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions.g.cs deleted file mode 100644 index 6f04e583..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs deleted file mode 100644 index d17137b6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration.g.cs deleted file mode 100644 index 9a714bf6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs deleted file mode 100644 index 835e2db1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks.g.cs deleted file mode 100644 index 761eee60..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs deleted file mode 100644 index 7f81925c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs deleted file mode 100644 index daeb51d1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs deleted file mode 100644 index 73857bc9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents.g.cs deleted file mode 100644 index b2498164..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs deleted file mode 100644 index e571fa4a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments.g.cs deleted file mode 100644 index 63d13c64..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs deleted file mode 100644 index 0f2b3c76..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs deleted file mode 100644 index 0588662b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs deleted file mode 100644 index 9ffe2547..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails.g.cs deleted file mode 100644 index 4059d471..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs deleted file mode 100644 index 7873b478..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs deleted file mode 100644 index a6f3eed4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs deleted file mode 100644 index 81369952..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues.g.cs deleted file mode 100644 index 9f1b6cf7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs deleted file mode 100644 index 75b5f48a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys.g.cs deleted file mode 100644 index a9221f5f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs deleted file mode 100644 index 80eca117..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers.g.cs deleted file mode 100644 index 0abba2b5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs deleted file mode 100644 index 244ccdda..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata.g.cs deleted file mode 100644 index 326c6244..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs deleted file mode 100644 index 8f4818c7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs deleted file mode 100644 index 9fcbf2fc..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs deleted file mode 100644 index cc7d54f2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs deleted file mode 100644 index fdf4e75d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs deleted file mode 100644 index b4bf0ca0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs deleted file mode 100644 index 7210743e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs deleted file mode 100644 index 6b3e4e9d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs deleted file mode 100644 index a71e737e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs deleted file mode 100644 index 4b876982..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs deleted file mode 100644 index ba52fdc2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs deleted file mode 100644 index 82543f00..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs deleted file mode 100644 index fdd2ebc4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs deleted file mode 100644 index 5e81a8bf..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs deleted file mode 100644 index db9a9a14..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs deleted file mode 100644 index dcce9b49..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs deleted file mode 100644 index 77596001..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs deleted file mode 100644 index 74878de0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages.g.cs deleted file mode 100644 index 22d6231c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs deleted file mode 100644 index 6932d99d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages.g.cs deleted file mode 100644 index b7ca6190..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs deleted file mode 100644 index 3cd0015b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs deleted file mode 100644 index cccdb45a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs deleted file mode 100644 index 4634a925..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs deleted file mode 100644 index 6f0b7067..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs deleted file mode 100644 index 01ee9594..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs deleted file mode 100644 index 75d40a39..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs deleted file mode 100644 index cd79819c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs deleted file mode 100644 index 1fd827b0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs deleted file mode 100644 index 9f19c30f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets.g.cs deleted file mode 100644 index d7c92cf5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs deleted file mode 100644 index 6e9dfed4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs deleted file mode 100644 index 41402c0e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs deleted file mode 100644 index 93dce807..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs deleted file mode 100644 index ec565dc1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs deleted file mode 100644 index 748d4416..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs deleted file mode 100644 index d493babe..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs deleted file mode 100644 index f3a8808a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses.g.cs deleted file mode 100644 index c288661c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs deleted file mode 100644 index c2fbcc61..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs deleted file mode 100644 index 01a6a0de..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs deleted file mode 100644 index aa716e2a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs deleted file mode 100644 index f4025bcb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs deleted file mode 100644 index 0a35e16e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs deleted file mode 100644 index a38e932b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs deleted file mode 100644 index 5e87c94e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueState.g.cs deleted file mode 100644 index 3461f7c4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueState.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueState Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueStateExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueState value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueStateExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueStateNullable.g.cs deleted file mode 100644 index 56981499..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueStateNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueState? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueStateExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueState? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueStateExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueUserType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueUserType.g.cs deleted file mode 100644 index 8919dc07..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueUserType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueUserTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueUserType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueUserTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueUserType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueUserType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueUserTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueUserTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueUserTypeNullable.g.cs deleted file mode 100644 index a24b56b9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueUserTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentDeletedIssueUserTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentDeletedIssueUserType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentDeletedIssueUserTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentDeletedIssueUserType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentDeletedIssueUserType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueUserTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.g.cs new file mode 100644 index 00000000..d0fea99c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonNullable.g.cs new file mode 100644 index 00000000..46c37b98 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType.g.cs new file mode 100644 index 00000000..207f14c5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1AssigneeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType2.g.cs new file mode 100644 index 00000000..80c029b9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1AssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType2Nullable.g.cs new file mode 100644 index 00000000..29b34a9c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1AssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeTypeNullable.g.cs new file mode 100644 index 00000000..40ab95c0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1AssigneeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.g.cs new file mode 100644 index 00000000..68ad958a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1AuthorAssociationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1AuthorAssociationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1AuthorAssociationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AuthorAssociationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AuthorAssociationNullable.g.cs new file mode 100644 index 00000000..6f4034b0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1AuthorAssociationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1AuthorAssociationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1AuthorAssociationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1AuthorAssociationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.g.cs new file mode 100644 index 00000000..97559803 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeNullable.g.cs new file mode 100644 index 00000000..0466a7c1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneState.g.cs new file mode 100644 index 00000000..27fca5a8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneState.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1MilestoneStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneState Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneStateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneState value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneStateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneStateNullable.g.cs new file mode 100644 index 00000000..79ac69c0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneStateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1MilestoneStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneState? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneStateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneState? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneStateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..6b660449 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..b2e6ea47 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.g.cs new file mode 100644 index 00000000..63ce4638 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs new file mode 100644 index 00000000..66457851 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs new file mode 100644 index 00000000..763c3ee7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs new file mode 100644 index 00000000..23040d17 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs new file mode 100644 index 00000000..f061abeb --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs new file mode 100644 index 00000000..5e03da89 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs new file mode 100644 index 00000000..a75c39d7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs new file mode 100644 index 00000000..82f1f79a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs new file mode 100644 index 00000000..02ac45e5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs new file mode 100644 index 00000000..0f1c2872 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs new file mode 100644 index 00000000..ad375bdf --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs new file mode 100644 index 00000000..ce9a92b3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs new file mode 100644 index 00000000..2334d84b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs new file mode 100644 index 00000000..30ce723f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs new file mode 100644 index 00000000..d8e26dc0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs new file mode 100644 index 00000000..2e27938c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs new file mode 100644 index 00000000..9c1cfd5e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs new file mode 100644 index 00000000..f798d064 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs new file mode 100644 index 00000000..41aeef88 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs new file mode 100644 index 00000000..e9cd0b66 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs new file mode 100644 index 00000000..f34a55b4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs new file mode 100644 index 00000000..a767cde1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs new file mode 100644 index 00000000..faab05c4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs new file mode 100644 index 00000000..7c39d41a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs new file mode 100644 index 00000000..970da165 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs new file mode 100644 index 00000000..d931fb18 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs new file mode 100644 index 00000000..87305c8c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs new file mode 100644 index 00000000..1489b39c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs new file mode 100644 index 00000000..a3e38a55 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs new file mode 100644 index 00000000..d598c9fe --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs new file mode 100644 index 00000000..ad8ab92d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs new file mode 100644 index 00000000..7bf3dc6c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs new file mode 100644 index 00000000..e532d83e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs new file mode 100644 index 00000000..f90cecfe --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs new file mode 100644 index 00000000..ac0920c0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs new file mode 100644 index 00000000..f292055a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs new file mode 100644 index 00000000..848e34b7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs new file mode 100644 index 00000000..cb416606 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs new file mode 100644 index 00000000..b2293b3c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs new file mode 100644 index 00000000..b7f7444b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs new file mode 100644 index 00000000..5a0079c3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs new file mode 100644 index 00000000..165bdf8a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs new file mode 100644 index 00000000..92674430 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs new file mode 100644 index 00000000..fe3d575c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs new file mode 100644 index 00000000..6bfe1799 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs new file mode 100644 index 00000000..1d9424f4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs new file mode 100644 index 00000000..026bed2a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs new file mode 100644 index 00000000..bf386d60 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs new file mode 100644 index 00000000..a103f182 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs new file mode 100644 index 00000000..4d511365 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs new file mode 100644 index 00000000..c13cf7f2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs new file mode 100644 index 00000000..efec400d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs new file mode 100644 index 00000000..e726af24 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs new file mode 100644 index 00000000..37cfacd3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs new file mode 100644 index 00000000..b137906a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs new file mode 100644 index 00000000..0db3b7bb --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs new file mode 100644 index 00000000..1fe683e0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs new file mode 100644 index 00000000..2b9d430e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs new file mode 100644 index 00000000..8babd174 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs new file mode 100644 index 00000000..5cae4632 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs new file mode 100644 index 00000000..a75ecf71 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs new file mode 100644 index 00000000..614e5721 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs new file mode 100644 index 00000000..23e5f60a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs new file mode 100644 index 00000000..ff9dad86 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs new file mode 100644 index 00000000..2442822f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs new file mode 100644 index 00000000..cdcae80f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs new file mode 100644 index 00000000..399f23df --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs new file mode 100644 index 00000000..44e0641c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs new file mode 100644 index 00000000..bbe7c232 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs new file mode 100644 index 00000000..474d9fba --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs new file mode 100644 index 00000000..aed455d0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs new file mode 100644 index 00000000..dcf64eba --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1State.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1State.g.cs new file mode 100644 index 00000000..5b10c122 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1State.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1StateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1State Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1StateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1State value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1StateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1StateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1StateNullable.g.cs new file mode 100644 index 00000000..df27d160 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1StateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1StateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1State? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1StateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1State? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1StateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1UserType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1UserType.g.cs new file mode 100644 index 00000000..2394a015 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1UserType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1UserTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1UserType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1UserTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1UserType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1UserType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1UserTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1UserTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1UserTypeNullable.g.cs new file mode 100644 index 00000000..8b5d6365 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant1UserTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant1UserTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant1UserType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant1UserTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant1UserType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant1UserType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant1UserTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2AssigneeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2AssigneeType.g.cs new file mode 100644 index 00000000..70d5c706 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2AssigneeType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant2AssigneeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant2AssigneeType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant2AssigneeTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant2AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant2AssigneeType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant2AssigneeTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2AssigneeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2AssigneeTypeNullable.g.cs new file mode 100644 index 00000000..5394c1e8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2AssigneeTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant2AssigneeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant2AssigneeType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant2AssigneeTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant2AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant2AssigneeType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant2AssigneeTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2State.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2State.g.cs new file mode 100644 index 00000000..68233caa --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2State.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant2StateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant2State Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant2StateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant2State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant2State value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant2StateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2StateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2StateNullable.g.cs new file mode 100644 index 00000000..ccd0dd7c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentDeletedIssueVariant2StateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentDeletedIssueVariant2StateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentDeletedIssueVariant2State? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentDeletedIssueVariant2StateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentDeletedIssueVariant2State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentDeletedIssueVariant2State? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentDeletedIssueVariant2StateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueActiveLockReason.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueActiveLockReason.g.cs deleted file mode 100644 index fcffdb03..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueActiveLockReason.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueActiveLockReasonJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueActiveLockReason Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueActiveLockReasonExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueActiveLockReason)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueActiveLockReason value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueActiveLockReasonExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueActiveLockReasonNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueActiveLockReasonNullable.g.cs deleted file mode 100644 index 74d46f72..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueActiveLockReasonNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueActiveLockReasonNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueActiveLockReason? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueActiveLockReasonExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueActiveLockReason)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueActiveLockReason? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueActiveLockReasonExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneeType.g.cs deleted file mode 100644 index 123433c0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneeType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueAssigneeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueAssigneeType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueAssigneeTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueAssigneeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueAssigneeType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueAssigneeTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneeTypeNullable.g.cs deleted file mode 100644 index 418488f7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneeTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueAssigneeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueAssigneeType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueAssigneeTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueAssigneeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueAssigneeType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueAssigneeTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneesType.g.cs deleted file mode 100644 index a1cf100b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index 81de98f9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAuthorAssociation.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAuthorAssociation.g.cs deleted file mode 100644 index 018d0bcb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAuthorAssociation.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueAuthorAssociationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueAuthorAssociation Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueAuthorAssociationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueAuthorAssociation)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueAuthorAssociation value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueAuthorAssociationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAuthorAssociationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAuthorAssociationNullable.g.cs deleted file mode 100644 index 6d9db0a3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueAuthorAssociationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueAuthorAssociationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueAuthorAssociation? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueAuthorAssociationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueAuthorAssociation)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueAuthorAssociation? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueAuthorAssociationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneCreatorType.g.cs deleted file mode 100644 index e85a9f9f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneCreatorType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueMilestoneCreatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreatorType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreatorTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreatorType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreatorType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreatorTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneCreatorTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneCreatorTypeNullable.g.cs deleted file mode 100644 index 50d9215f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneCreatorTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueMilestoneCreatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreatorType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreatorTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreatorType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreatorType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreatorTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneState.g.cs deleted file mode 100644 index e278ff45..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneState.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueMilestoneStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueMilestoneState Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueMilestoneStateExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueMilestoneState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueMilestoneState value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueMilestoneStateExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneStateNullable.g.cs deleted file mode 100644 index 5db46d67..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueMilestoneStateNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueMilestoneStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueMilestoneState? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueMilestoneStateExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueMilestoneState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueMilestoneState? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueMilestoneStateExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 78d935ad..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index 469b984d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.g.cs deleted file mode 100644 index 71af0217..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs deleted file mode 100644 index 60c3bd3e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions.g.cs deleted file mode 100644 index 574c58d8..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs deleted file mode 100644 index ff7526c5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration.g.cs deleted file mode 100644 index e638a962..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs deleted file mode 100644 index 2fcd36ce..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks.g.cs deleted file mode 100644 index bbffbe0f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs deleted file mode 100644 index 0b37ecab..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs deleted file mode 100644 index 1f3b5265..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs deleted file mode 100644 index 614b9436..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents.g.cs deleted file mode 100644 index 1a7b3361..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs deleted file mode 100644 index 49bce6a3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments.g.cs deleted file mode 100644 index 1e91addc..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs deleted file mode 100644 index ce10e2d8..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs deleted file mode 100644 index cf7e647a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs deleted file mode 100644 index ce437385..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails.g.cs deleted file mode 100644 index 678f5d2c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs deleted file mode 100644 index 971b8107..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs deleted file mode 100644 index b07fe971..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs deleted file mode 100644 index 6141d671..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues.g.cs deleted file mode 100644 index 3b0422cb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs deleted file mode 100644 index 6a3721a2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys.g.cs deleted file mode 100644 index a5f245e3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs deleted file mode 100644 index 65c41428..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers.g.cs deleted file mode 100644 index 12ecb568..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs deleted file mode 100644 index ea704bd5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata.g.cs deleted file mode 100644 index b2d34584..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs deleted file mode 100644 index 42c977da..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs deleted file mode 100644 index 6492c165..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs deleted file mode 100644 index 62a2d3e2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs deleted file mode 100644 index 8e9adfb0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs deleted file mode 100644 index 8d709597..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs deleted file mode 100644 index 07205257..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs deleted file mode 100644 index 4237bc57..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs deleted file mode 100644 index 7844c8b0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs deleted file mode 100644 index 3dd2c458..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs deleted file mode 100644 index f2fc2c20..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs deleted file mode 100644 index b5a9ad77..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs deleted file mode 100644 index 32a9fd92..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs deleted file mode 100644 index d7fffe8f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs deleted file mode 100644 index 93a26a91..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs deleted file mode 100644 index 6bed09c6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs deleted file mode 100644 index 07ac07ac..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs deleted file mode 100644 index 9836fa1c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages.g.cs deleted file mode 100644 index 3be2e836..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs deleted file mode 100644 index 94115009..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages.g.cs deleted file mode 100644 index 5efdef21..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs deleted file mode 100644 index 5f9a357b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs deleted file mode 100644 index 6f508d69..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs deleted file mode 100644 index a38ef0fe..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs deleted file mode 100644 index 51f06ad9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs deleted file mode 100644 index dc667ad8..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs deleted file mode 100644 index b4f1cad1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs deleted file mode 100644 index 276b6a2f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs deleted file mode 100644 index 0c0da4a3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs deleted file mode 100644 index 2353beae..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets.g.cs deleted file mode 100644 index 68be6e62..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs deleted file mode 100644 index fd921e1e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs deleted file mode 100644 index fe7c74b3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs deleted file mode 100644 index 32956d36..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs deleted file mode 100644 index 343b61ba..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs deleted file mode 100644 index 81ef7257..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs deleted file mode 100644 index c83e432a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs deleted file mode 100644 index eb102b27..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses.g.cs deleted file mode 100644 index 405e339c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs deleted file mode 100644 index 8d839ca0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs deleted file mode 100644 index 3c1b9eec..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs deleted file mode 100644 index a82cf14e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs deleted file mode 100644 index 912d4c98..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs deleted file mode 100644 index 96d5a2b4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs deleted file mode 100644 index cd3ffcb6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs deleted file mode 100644 index e1c6cd38..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueState.g.cs deleted file mode 100644 index 8d277efc..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueState.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueState Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueStateExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueState value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueStateExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueStateNullable.g.cs deleted file mode 100644 index 54053070..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueStateNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueState? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueStateExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueState? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueStateExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueUserType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueUserType.g.cs deleted file mode 100644 index 129b70bd..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueUserType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueUserTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueUserType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueUserTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueUserType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueUserType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueUserTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueUserTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueUserTypeNullable.g.cs deleted file mode 100644 index 57b64a2c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueUserTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssueCommentEditedIssueUserTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssueCommentEditedIssueUserType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssueCommentEditedIssueUserTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssueCommentEditedIssueUserType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssueCommentEditedIssueUserType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueUserTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1ActiveLockReason.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1ActiveLockReason.g.cs new file mode 100644 index 00000000..16a8c078 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1ActiveLockReason.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1ActiveLockReasonJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1ActiveLockReason Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1ActiveLockReasonExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1ActiveLockReason)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1ActiveLockReason value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1ActiveLockReasonExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1ActiveLockReasonNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1ActiveLockReasonNullable.g.cs new file mode 100644 index 00000000..3cbb6a3c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1ActiveLockReasonNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1ActiveLockReasonNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1ActiveLockReason? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1ActiveLockReasonExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1ActiveLockReason)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1ActiveLockReason? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1ActiveLockReasonExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType.g.cs new file mode 100644 index 00000000..0cd2b15d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1AssigneeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType2.g.cs new file mode 100644 index 00000000..742b244c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1AssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType2Nullable.g.cs new file mode 100644 index 00000000..38c6dec0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1AssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeTypeNullable.g.cs new file mode 100644 index 00000000..b9964332 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1AssigneeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AuthorAssociation.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AuthorAssociation.g.cs new file mode 100644 index 00000000..603f8d1d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AuthorAssociation.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1AuthorAssociationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1AuthorAssociation Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1AuthorAssociationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1AuthorAssociation)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1AuthorAssociation value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1AuthorAssociationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AuthorAssociationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AuthorAssociationNullable.g.cs new file mode 100644 index 00000000..3f176a40 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1AuthorAssociationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1AuthorAssociationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1AuthorAssociation? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1AuthorAssociationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1AuthorAssociation)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1AuthorAssociation? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1AuthorAssociationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.g.cs new file mode 100644 index 00000000..fa5a44ce --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeNullable.g.cs new file mode 100644 index 00000000..0f4d4298 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneState.g.cs new file mode 100644 index 00000000..93b878fd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneState.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1MilestoneStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneState Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneStateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneState value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneStateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneStateNullable.g.cs new file mode 100644 index 00000000..4367f589 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneStateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1MilestoneStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneState? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneStateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneState? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneStateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..2e19a345 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..1d0bef9c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.g.cs new file mode 100644 index 00000000..d77c2582 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs new file mode 100644 index 00000000..887bd86d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs new file mode 100644 index 00000000..7b66fce0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs new file mode 100644 index 00000000..f2c9af64 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs new file mode 100644 index 00000000..f7632524 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs new file mode 100644 index 00000000..a7f67cad --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs new file mode 100644 index 00000000..08d2728d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs new file mode 100644 index 00000000..bb6ea320 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs new file mode 100644 index 00000000..79cc9390 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs new file mode 100644 index 00000000..9ad6ef54 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs new file mode 100644 index 00000000..3970eb4e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs new file mode 100644 index 00000000..ce63da21 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs new file mode 100644 index 00000000..d4c52466 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs new file mode 100644 index 00000000..af454632 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs new file mode 100644 index 00000000..318edb36 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs new file mode 100644 index 00000000..a5b4b495 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs new file mode 100644 index 00000000..f54051fb --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs new file mode 100644 index 00000000..fddba604 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs new file mode 100644 index 00000000..66dc9242 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs new file mode 100644 index 00000000..a6309b78 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs new file mode 100644 index 00000000..3399b0f2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs new file mode 100644 index 00000000..d9562819 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs new file mode 100644 index 00000000..057af5b0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs new file mode 100644 index 00000000..34194266 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs new file mode 100644 index 00000000..0dfa16c4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs new file mode 100644 index 00000000..9de66570 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs new file mode 100644 index 00000000..18df017a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs new file mode 100644 index 00000000..35d458ef --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs new file mode 100644 index 00000000..9ba54544 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs new file mode 100644 index 00000000..04b105f4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs new file mode 100644 index 00000000..14ab9be6 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs new file mode 100644 index 00000000..e4bbe0c7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs new file mode 100644 index 00000000..9a1a1836 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs new file mode 100644 index 00000000..3636c109 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs new file mode 100644 index 00000000..1bab9577 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs new file mode 100644 index 00000000..7819126d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs new file mode 100644 index 00000000..c84a8a3f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs new file mode 100644 index 00000000..91980d97 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs new file mode 100644 index 00000000..aebfe427 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs new file mode 100644 index 00000000..82fd1d74 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs new file mode 100644 index 00000000..f60bf5de --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs new file mode 100644 index 00000000..11fab390 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs new file mode 100644 index 00000000..56aa5eac --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs new file mode 100644 index 00000000..e165bd6c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs new file mode 100644 index 00000000..2fe07b22 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs new file mode 100644 index 00000000..5356ae49 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs new file mode 100644 index 00000000..d1778a1f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs new file mode 100644 index 00000000..9554c272 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs new file mode 100644 index 00000000..6fc9e35c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs new file mode 100644 index 00000000..3f719cd9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs new file mode 100644 index 00000000..495e4a77 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs new file mode 100644 index 00000000..939f1f08 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs new file mode 100644 index 00000000..dd802a89 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs new file mode 100644 index 00000000..7b51e90c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs new file mode 100644 index 00000000..aa0ea875 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs new file mode 100644 index 00000000..77f2caa1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs new file mode 100644 index 00000000..91cd37be --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs new file mode 100644 index 00000000..9ad4fe27 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs new file mode 100644 index 00000000..9682ac53 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs new file mode 100644 index 00000000..15315480 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs new file mode 100644 index 00000000..05d32c68 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs new file mode 100644 index 00000000..53abb3b6 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs new file mode 100644 index 00000000..dd29c7fc --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs new file mode 100644 index 00000000..4b13f235 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs new file mode 100644 index 00000000..0a7ffc17 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs new file mode 100644 index 00000000..0d5fd947 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs new file mode 100644 index 00000000..f164b1f8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs new file mode 100644 index 00000000..6d75aa49 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs new file mode 100644 index 00000000..c1846176 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs new file mode 100644 index 00000000..7a97e2d6 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs new file mode 100644 index 00000000..f5dbb589 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs new file mode 100644 index 00000000..f63abdb1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1State.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1State.g.cs new file mode 100644 index 00000000..f7712d8d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1State.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1StateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1State Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1StateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1State value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1StateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1StateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1StateNullable.g.cs new file mode 100644 index 00000000..a65cd086 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1StateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1StateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1State? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1StateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1State? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1StateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1UserType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1UserType.g.cs new file mode 100644 index 00000000..84ce2d1e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1UserType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1UserTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1UserType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1UserTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1UserType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1UserType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1UserTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1UserTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1UserTypeNullable.g.cs new file mode 100644 index 00000000..ae9e35ca --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant1UserTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant1UserTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant1UserType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant1UserTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant1UserType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant1UserType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant1UserTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2AssigneeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2AssigneeType.g.cs new file mode 100644 index 00000000..d98e8a7d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2AssigneeType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant2AssigneeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant2AssigneeType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant2AssigneeTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant2AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant2AssigneeType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant2AssigneeTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2AssigneeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2AssigneeTypeNullable.g.cs new file mode 100644 index 00000000..66d575a0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2AssigneeTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant2AssigneeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant2AssigneeType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant2AssigneeTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant2AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant2AssigneeType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant2AssigneeTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2State.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2State.g.cs new file mode 100644 index 00000000..7e8e3aba --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2State.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant2StateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant2State Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant2StateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant2State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant2State value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant2StateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2StateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2StateNullable.g.cs new file mode 100644 index 00000000..17cd63a2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssueCommentEditedIssueVariant2StateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssueCommentEditedIssueVariant2StateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssueCommentEditedIssueVariant2State? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssueCommentEditedIssueVariant2StateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssueCommentEditedIssueVariant2State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssueCommentEditedIssueVariant2State? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssueCommentEditedIssueVariant2StateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueActiveLockReason.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueActiveLockReason.g.cs deleted file mode 100644 index bd5985b7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueActiveLockReason.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueActiveLockReasonJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueActiveLockReason Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueActiveLockReasonExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueActiveLockReason)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueActiveLockReason value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueActiveLockReasonExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueActiveLockReasonNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueActiveLockReasonNullable.g.cs deleted file mode 100644 index bb20b9ec..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueActiveLockReasonNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueActiveLockReasonNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueActiveLockReason? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueActiveLockReasonExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueActiveLockReason)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueActiveLockReason? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueActiveLockReasonExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneeType.g.cs deleted file mode 100644 index 2e646e1a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneeType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueAssigneeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueAssigneeType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueAssigneeTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueAssigneeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueAssigneeType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueAssigneeTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneeTypeNullable.g.cs deleted file mode 100644 index 91a024cb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneeTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueAssigneeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueAssigneeType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueAssigneeTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueAssigneeType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueAssigneeType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueAssigneeTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneesType.g.cs deleted file mode 100644 index 2c5c4512..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index eb123c94..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAuthorAssociation.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAuthorAssociation.g.cs deleted file mode 100644 index 3ce4d9e4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAuthorAssociation.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueAuthorAssociationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueAuthorAssociation Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueAuthorAssociationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueAuthorAssociation)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueAuthorAssociation value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueAuthorAssociationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAuthorAssociationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAuthorAssociationNullable.g.cs deleted file mode 100644 index 6b74b189..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueAuthorAssociationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueAuthorAssociationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueAuthorAssociation? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueAuthorAssociationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueAuthorAssociation)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueAuthorAssociation? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueAuthorAssociationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneCreatorType.g.cs deleted file mode 100644 index f95fa133..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneCreatorType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueMilestoneCreatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueMilestoneCreatorType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueMilestoneCreatorTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueMilestoneCreatorType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueMilestoneCreatorType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueMilestoneCreatorTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneCreatorTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneCreatorTypeNullable.g.cs deleted file mode 100644 index 96887781..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneCreatorTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueMilestoneCreatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueMilestoneCreatorType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueMilestoneCreatorTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueMilestoneCreatorType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueMilestoneCreatorType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueMilestoneCreatorTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneState.g.cs deleted file mode 100644 index c0f8287d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneState.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueMilestoneStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueMilestoneState Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueMilestoneStateExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueMilestoneState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueMilestoneState value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueMilestoneStateExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneStateNullable.g.cs deleted file mode 100644 index a44061ad..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueMilestoneStateNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueMilestoneStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueMilestoneState? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueMilestoneStateExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueMilestoneState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueMilestoneState? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueMilestoneStateExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 20a389cd..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index 4ab92a5e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.g.cs deleted file mode 100644 index 1e6d776e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs deleted file mode 100644 index 79479e5f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions.g.cs deleted file mode 100644 index 0cb334e2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs deleted file mode 100644 index 9e43c9d5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration.g.cs deleted file mode 100644 index 7ec44e49..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs deleted file mode 100644 index af5a24c5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks.g.cs deleted file mode 100644 index d7090b75..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs deleted file mode 100644 index 02fef881..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs deleted file mode 100644 index 238377e9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs deleted file mode 100644 index cb49c9df..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents.g.cs deleted file mode 100644 index 9e232700..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs deleted file mode 100644 index f2a675b2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments.g.cs deleted file mode 100644 index b74de299..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs deleted file mode 100644 index 59fee75b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs deleted file mode 100644 index be7fa656..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs deleted file mode 100644 index 11a49776..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails.g.cs deleted file mode 100644 index 720728a4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs deleted file mode 100644 index 5d867b64..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs deleted file mode 100644 index a71cd020..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs deleted file mode 100644 index e1c2eb06..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues.g.cs deleted file mode 100644 index 7544450e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs deleted file mode 100644 index 977363d4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys.g.cs deleted file mode 100644 index bfd56a60..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs deleted file mode 100644 index 58e2eabb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers.g.cs deleted file mode 100644 index 2ec4fd42..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs deleted file mode 100644 index 5e2e806c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata.g.cs deleted file mode 100644 index 3ea03d3e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs deleted file mode 100644 index 9bd2aadf..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs deleted file mode 100644 index 123f8a45..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs deleted file mode 100644 index 1d4b2435..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs deleted file mode 100644 index b51aa3c3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs deleted file mode 100644 index 343c170b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs deleted file mode 100644 index 36862c61..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs deleted file mode 100644 index 5f290e7a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs deleted file mode 100644 index c3748b7b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs deleted file mode 100644 index d13dbe67..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs deleted file mode 100644 index 00a73990..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs deleted file mode 100644 index 811f01d5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs deleted file mode 100644 index f95ef70b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs deleted file mode 100644 index e5135b13..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs deleted file mode 100644 index 57b29d56..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs deleted file mode 100644 index 12cd71d0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs deleted file mode 100644 index d854bde9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs deleted file mode 100644 index 50acecf7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages.g.cs deleted file mode 100644 index 1c2658cf..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs deleted file mode 100644 index e15b6a9c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages.g.cs deleted file mode 100644 index 60970118..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs deleted file mode 100644 index 508eb5e0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs deleted file mode 100644 index eb82fec6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs deleted file mode 100644 index a24c1e18..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs deleted file mode 100644 index 8cc16134..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs deleted file mode 100644 index f17db31c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs deleted file mode 100644 index 3cc7e75d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs deleted file mode 100644 index 40b2f6a3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs deleted file mode 100644 index 6fab5419..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs deleted file mode 100644 index d7faf404..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets.g.cs deleted file mode 100644 index b7087290..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs deleted file mode 100644 index 825cfe52..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs deleted file mode 100644 index 299e75c1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs deleted file mode 100644 index 6917828b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs deleted file mode 100644 index 2612c8e8..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs deleted file mode 100644 index e3324065..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs deleted file mode 100644 index 256e4b06..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs deleted file mode 100644 index c1a32065..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses.g.cs deleted file mode 100644 index bc043b90..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs deleted file mode 100644 index 998d505a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs deleted file mode 100644 index b3e35d47..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs deleted file mode 100644 index 99038afa..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs deleted file mode 100644 index f64ae57b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs deleted file mode 100644 index 85137abd..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs deleted file mode 100644 index f3549fbf..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs deleted file mode 100644 index 9f0e2e31..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueState.g.cs deleted file mode 100644 index 38a6510b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueState.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueState Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueStateExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueState value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueStateExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueStateNullable.g.cs deleted file mode 100644 index 91482328..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueStateNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueState? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueStateExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueState? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueStateExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueUserType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueUserType.g.cs deleted file mode 100644 index 543b5ffd..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueUserType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueUserTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueUserType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueUserTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueUserType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueUserType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueUserTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueUserTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueUserTypeNullable.g.cs deleted file mode 100644 index 32fdf14a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueUserTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesClosedIssueUserTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesClosedIssueUserType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesClosedIssueUserTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesClosedIssueUserType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesClosedIssueUserType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueUserTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1ActiveLockReason.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1ActiveLockReason.g.cs new file mode 100644 index 00000000..ee40199b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1ActiveLockReason.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1ActiveLockReasonJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1ActiveLockReason Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1ActiveLockReasonExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1ActiveLockReason)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1ActiveLockReason value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1ActiveLockReasonExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1ActiveLockReasonNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1ActiveLockReasonNullable.g.cs new file mode 100644 index 00000000..e3019c82 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1ActiveLockReasonNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1ActiveLockReasonNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1ActiveLockReason? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1ActiveLockReasonExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1ActiveLockReason)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1ActiveLockReason? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1ActiveLockReasonExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType.g.cs new file mode 100644 index 00000000..382627cb --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1AssigneeTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType2.g.cs new file mode 100644 index 00000000..d8ac6822 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1AssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType2Nullable.g.cs new file mode 100644 index 00000000..f2c9d94e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1AssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeTypeNullable.g.cs new file mode 100644 index 00000000..4d747db1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1AssigneeTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AuthorAssociation.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AuthorAssociation.g.cs new file mode 100644 index 00000000..c223df6b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AuthorAssociation.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1AuthorAssociationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1AuthorAssociation Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1AuthorAssociationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1AuthorAssociation)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1AuthorAssociation value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1AuthorAssociationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AuthorAssociationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AuthorAssociationNullable.g.cs new file mode 100644 index 00000000..14e4fdc8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1AuthorAssociationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1AuthorAssociationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1AuthorAssociation? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1AuthorAssociationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1AuthorAssociation)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1AuthorAssociation? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1AuthorAssociationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneCreatorType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneCreatorType.g.cs new file mode 100644 index 00000000..afd40861 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneCreatorType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeNullable.g.cs new file mode 100644 index 00000000..aad05727 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneState.g.cs new file mode 100644 index 00000000..8c514e76 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneState.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1MilestoneStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneState Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneStateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneState value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneStateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneStateNullable.g.cs new file mode 100644 index 00000000..f982bde0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneStateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1MilestoneStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneState? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneStateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneState? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneStateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..c3ca35b1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..cd48c8b0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.g.cs new file mode 100644 index 00000000..cfb50f16 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs new file mode 100644 index 00000000..e4db6af3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs new file mode 100644 index 00000000..aba01dc9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs new file mode 100644 index 00000000..ccb26e42 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs new file mode 100644 index 00000000..3645d845 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs new file mode 100644 index 00000000..8874622e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs new file mode 100644 index 00000000..12e38b26 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs new file mode 100644 index 00000000..af0ff34b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs new file mode 100644 index 00000000..494b0e80 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs new file mode 100644 index 00000000..32e868c4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs new file mode 100644 index 00000000..096a22e6 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs new file mode 100644 index 00000000..e1fb3c46 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs new file mode 100644 index 00000000..97bc2ad8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs new file mode 100644 index 00000000..2f9ebd23 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs new file mode 100644 index 00000000..8b0b142a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs new file mode 100644 index 00000000..dacd6ed2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs new file mode 100644 index 00000000..3598d97a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs new file mode 100644 index 00000000..dac23a6f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs new file mode 100644 index 00000000..5cc2d801 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs new file mode 100644 index 00000000..54889179 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs new file mode 100644 index 00000000..a42eb857 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs new file mode 100644 index 00000000..274b8210 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs new file mode 100644 index 00000000..25a30ca3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs new file mode 100644 index 00000000..9ae437ab --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs new file mode 100644 index 00000000..9584bf9d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs new file mode 100644 index 00000000..19702a2c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs new file mode 100644 index 00000000..5398f7c8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs new file mode 100644 index 00000000..8f52e2ed --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs new file mode 100644 index 00000000..da3c313c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs new file mode 100644 index 00000000..3a6aff0d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs new file mode 100644 index 00000000..baa3a21b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs new file mode 100644 index 00000000..52852be4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs new file mode 100644 index 00000000..39570011 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs new file mode 100644 index 00000000..9c676a71 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs new file mode 100644 index 00000000..ac7df0f2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs new file mode 100644 index 00000000..5af08ee5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs new file mode 100644 index 00000000..d8c1e78f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs new file mode 100644 index 00000000..ebe78e6a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs new file mode 100644 index 00000000..b325e0a7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs new file mode 100644 index 00000000..12bce5a9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs new file mode 100644 index 00000000..cd49eb48 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs new file mode 100644 index 00000000..64fc1c84 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs new file mode 100644 index 00000000..c5492a80 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs new file mode 100644 index 00000000..7772dac0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs new file mode 100644 index 00000000..3b0eb801 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs new file mode 100644 index 00000000..8e907517 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs new file mode 100644 index 00000000..8843dbbc --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs new file mode 100644 index 00000000..54083037 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs new file mode 100644 index 00000000..dc113dce --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs new file mode 100644 index 00000000..07aab493 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs new file mode 100644 index 00000000..d5804a56 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs new file mode 100644 index 00000000..973ddb42 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs new file mode 100644 index 00000000..e17d4752 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs new file mode 100644 index 00000000..68561f73 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs new file mode 100644 index 00000000..7441b1fd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs new file mode 100644 index 00000000..d596e813 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs new file mode 100644 index 00000000..12d91887 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs new file mode 100644 index 00000000..1c9a762f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs new file mode 100644 index 00000000..053d4d39 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs new file mode 100644 index 00000000..ae474492 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs new file mode 100644 index 00000000..e88d857c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs new file mode 100644 index 00000000..46558a9b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs new file mode 100644 index 00000000..83d651ee --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs new file mode 100644 index 00000000..8b93e90f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs new file mode 100644 index 00000000..c3b26639 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs new file mode 100644 index 00000000..5d0dcc28 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs new file mode 100644 index 00000000..24e61005 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs new file mode 100644 index 00000000..b83f89dd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs new file mode 100644 index 00000000..7fbdc9b0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs new file mode 100644 index 00000000..2651479a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs new file mode 100644 index 00000000..1ae981e0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs new file mode 100644 index 00000000..a48d1b55 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1State.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1State.g.cs new file mode 100644 index 00000000..0d058d87 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1State.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1StateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1State Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1StateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1State value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1StateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1StateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1StateNullable.g.cs new file mode 100644 index 00000000..a9037d81 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1StateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1StateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1State? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1StateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1State? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1StateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1UserType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1UserType.g.cs new file mode 100644 index 00000000..ee895d4d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1UserType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1UserTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1UserType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1UserTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1UserType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1UserType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1UserTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1UserTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1UserTypeNullable.g.cs new file mode 100644 index 00000000..4acfba78 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant1UserTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant1UserTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant1UserType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant1UserTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant1UserType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant1UserType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant1UserTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant2State.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant2State.g.cs new file mode 100644 index 00000000..7c4a2e02 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant2State.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant2StateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant2State Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant2StateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant2State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant2State value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant2StateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant2StateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant2StateNullable.g.cs new file mode 100644 index 00000000..302cd151 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesClosedIssueVariant2StateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesClosedIssueVariant2StateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesClosedIssueVariant2State? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesClosedIssueVariant2StateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesClosedIssueVariant2State)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesClosedIssueVariant2State? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesClosedIssueVariant2StateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..c15a5b25 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesDeletedIssueAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesDeletedIssueAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesDeletedIssueAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesDeletedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesDeletedIssueAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesDeletedIssueAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..12746ab4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesDeletedIssueAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesDeletedIssueAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesDeletedIssueAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesDeletedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesDeletedIssueAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesDeletedIssueAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneesType.g.cs deleted file mode 100644 index 966bfc09..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesDeletedIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesDeletedIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesDeletedIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesDeletedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesDeletedIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesDeletedIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index ee8737db..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesDeletedIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesDeletedIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesDeletedIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesDeletedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesDeletedIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesDeletedIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..3ec9dd5e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesDeletedIssuePerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..cbdc8744 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesDeletedIssuePerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 0e5660c3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesDeletedIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index 51459d8d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesDeletedIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..1e5c4365 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesDemilestonedIssueAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..72a7e56d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesDemilestonedIssueAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneesType.g.cs deleted file mode 100644 index 11fe91ce..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesDemilestonedIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesDemilestonedIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesDemilestonedIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesDemilestonedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesDemilestonedIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesDemilestonedIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index 172fe4f6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesDemilestonedIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesDemilestonedIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesDemilestonedIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesDemilestonedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesDemilestonedIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesDemilestonedIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..3c2ae15e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..456db566 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 5a9de2cd..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index e5d66c51..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..3adec629 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesEditedIssueAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesEditedIssueAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesEditedIssueAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesEditedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesEditedIssueAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesEditedIssueAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..0eabeae1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesEditedIssueAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesEditedIssueAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesEditedIssueAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesEditedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesEditedIssueAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesEditedIssueAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneesType.g.cs deleted file mode 100644 index 698aa1de..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesEditedIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesEditedIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesEditedIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesEditedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesEditedIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesEditedIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index cab0809b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesEditedIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesEditedIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesEditedIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesEditedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesEditedIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesEditedIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..4778b755 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesEditedIssuePerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..e36352e7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesEditedIssuePerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 5b10b162..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesEditedIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index 3b0047e5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesEditedIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneeType2.g.cs new file mode 100644 index 00000000..b5866113 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesLabeledIssueAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesLabeledIssueAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesLabeledIssueAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesLabeledIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesLabeledIssueAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesLabeledIssueAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..8986063e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesLabeledIssueAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesLabeledIssueAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesLabeledIssueAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesLabeledIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesLabeledIssueAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesLabeledIssueAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneesType.g.cs deleted file mode 100644 index 8ae0d74a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesLabeledIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesLabeledIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesLabeledIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesLabeledIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesLabeledIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesLabeledIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index 72b739f3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesLabeledIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesLabeledIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesLabeledIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesLabeledIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesLabeledIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesLabeledIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..5c2b27c8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesLabeledIssuePerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..4e302536 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesLabeledIssuePerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 15e17906..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesLabeledIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index 4b97578e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesLabeledIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..80a78cfa --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesLockedIssueAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesLockedIssueAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesLockedIssueAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesLockedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesLockedIssueAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesLockedIssueAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..6f0fb197 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesLockedIssueAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesLockedIssueAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesLockedIssueAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesLockedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesLockedIssueAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesLockedIssueAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneesType.g.cs deleted file mode 100644 index a1e55c48..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesLockedIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesLockedIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesLockedIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesLockedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesLockedIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesLockedIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index 89fd206a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesLockedIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesLockedIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesLockedIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesLockedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesLockedIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesLockedIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..ce34fdf7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesLockedIssuePerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..60fec44b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesLockedIssuePerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index be27dada..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesLockedIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index 48c4760b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesLockedIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..ac0d4034 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesMilestonedIssueAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesMilestonedIssueAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesMilestonedIssueAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesMilestonedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesMilestonedIssueAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesMilestonedIssueAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..59dfb433 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesMilestonedIssueAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesMilestonedIssueAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesMilestonedIssueAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesMilestonedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesMilestonedIssueAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesMilestonedIssueAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneesType.g.cs deleted file mode 100644 index 0069da39..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesMilestonedIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesMilestonedIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesMilestonedIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesMilestonedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesMilestonedIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesMilestonedIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index f4b7a32c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesMilestonedIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesMilestonedIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesMilestonedIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesMilestonedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesMilestonedIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesMilestonedIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..b2e6ff49 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesMilestonedIssuePerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..446052ab --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesMilestonedIssuePerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index c966b9aa..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesMilestonedIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index 3c069fbe..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesMilestonedIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneeType2.g.cs new file mode 100644 index 00000000..09c1b00a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesOpenedChangesOldIssueAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..f882158b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesOpenedChangesOldIssueAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneesType.g.cs deleted file mode 100644 index 034f1aa6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesOpenedChangesOldIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index bcb00f94..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesOpenedChangesOldIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..7b8dae55 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..b4d4d3a7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index aa19f3a8..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index 085bfda2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..15b184dd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesOpenedIssueAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesOpenedIssueAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesOpenedIssueAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesOpenedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesOpenedIssueAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedIssueAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..0b702774 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesOpenedIssueAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesOpenedIssueAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesOpenedIssueAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesOpenedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesOpenedIssueAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedIssueAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneesType.g.cs deleted file mode 100644 index 6266d31f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesOpenedIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesOpenedIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesOpenedIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesOpenedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesOpenedIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index 2ad96d2c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesOpenedIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesOpenedIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesOpenedIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesOpenedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesOpenedIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..6e0466ea --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesOpenedIssuePerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..0f1fede3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesOpenedIssuePerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 4ff5bc41..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesOpenedIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index 33aabcba..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesOpenedIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..a74a626c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesReopenedIssueAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesReopenedIssueAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesReopenedIssueAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesReopenedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesReopenedIssueAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesReopenedIssueAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..e34ffabd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesReopenedIssueAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesReopenedIssueAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesReopenedIssueAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesReopenedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesReopenedIssueAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesReopenedIssueAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneesType.g.cs deleted file mode 100644 index c3bd3252..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesReopenedIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesReopenedIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesReopenedIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesReopenedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesReopenedIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesReopenedIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index 8fa5a8b7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesReopenedIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesReopenedIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesReopenedIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesReopenedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesReopenedIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesReopenedIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..083264f9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesReopenedIssuePerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..faff8c58 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesReopenedIssuePerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 322141bb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesReopenedIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index a7b46f7d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesReopenedIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneeType2.g.cs new file mode 100644 index 00000000..fd4faefd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesTransferredChangesNewIssueAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..6a2f3e60 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesTransferredChangesNewIssueAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneesType.g.cs deleted file mode 100644 index 88a73dbb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesTransferredChangesNewIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index e02e44ff..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesTransferredChangesNewIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..24cd43fd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..e9d1cde6 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index a1eafaeb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index e19404b5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneeType2.g.cs new file mode 100644 index 00000000..b1d2a3fe --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesUnlockedIssueAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesUnlockedIssueAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesUnlockedIssueAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesUnlockedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesUnlockedIssueAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesUnlockedIssueAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..452f6c49 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesUnlockedIssueAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesUnlockedIssueAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesUnlockedIssueAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesUnlockedIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesUnlockedIssueAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesUnlockedIssueAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneesType.g.cs deleted file mode 100644 index 871676fd..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesUnlockedIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesUnlockedIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesUnlockedIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesUnlockedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesUnlockedIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesUnlockedIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index 2d407088..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesUnlockedIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesUnlockedIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesUnlockedIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesUnlockedIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesUnlockedIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesUnlockedIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..98fea4b3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesUnlockedIssuePerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..dbc08082 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookIssuesUnlockedIssuePerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 80904fba..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesUnlockedIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index aa575dc5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookIssuesUnlockedIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEvent.g.cs new file mode 100644 index 00000000..f2eb2691 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookMetaDeletedHookEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookMetaDeletedHookEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookMetaDeletedHookEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookMetaDeletedHookEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookMetaDeletedHookEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookMetaDeletedHookEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEventNullable.g.cs new file mode 100644 index 00000000..79422c48 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookMetaDeletedHookEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookMetaDeletedHookEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookMetaDeletedHookEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookMetaDeletedHookEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookMetaDeletedHookEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookMetaDeletedHookEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEvents.g.cs deleted file mode 100644 index 26b99037..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookMetaDeletedHookEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookMetaDeletedHookEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookMetaDeletedHookEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookMetaDeletedHookEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookMetaDeletedHookEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookMetaDeletedHookEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEventsNullable.g.cs deleted file mode 100644 index ac39fd35..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookMetaDeletedHookEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookMetaDeletedHookEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookMetaDeletedHookEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookMetaDeletedHookEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookMetaDeletedHookEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookMetaDeletedHookEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookMetaDeletedHookEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardCreatorType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardCreatorType.g.cs deleted file mode 100644 index 8023ab62..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardCreatorType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookProjectCardMovedProjectCardCreatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookProjectCardMovedProjectCardCreatorType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookProjectCardMovedProjectCardCreatorTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookProjectCardMovedProjectCardCreatorType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookProjectCardMovedProjectCardCreatorType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookProjectCardMovedProjectCardCreatorTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardCreatorTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardCreatorTypeNullable.g.cs deleted file mode 100644 index e0eaeb7f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardCreatorTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookProjectCardMovedProjectCardCreatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookProjectCardMovedProjectCardCreatorType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookProjectCardMovedProjectCardCreatorTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookProjectCardMovedProjectCardCreatorType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookProjectCardMovedProjectCardCreatorType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookProjectCardMovedProjectCardCreatorTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardVariant1CreatorType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardVariant1CreatorType.g.cs new file mode 100644 index 00000000..69b603ea --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardVariant1CreatorType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookProjectCardMovedProjectCardVariant1CreatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookProjectCardMovedProjectCardVariant1CreatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookProjectCardMovedProjectCardVariant1CreatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookProjectCardMovedProjectCardVariant1CreatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookProjectCardMovedProjectCardVariant1CreatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookProjectCardMovedProjectCardVariant1CreatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardVariant1CreatorTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardVariant1CreatorTypeNullable.g.cs new file mode 100644 index 00000000..bd47572f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookProjectCardMovedProjectCardVariant1CreatorTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookProjectCardMovedProjectCardVariant1CreatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookProjectCardMovedProjectCardVariant1CreatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookProjectCardMovedProjectCardVariant1CreatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookProjectCardMovedProjectCardVariant1CreatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookProjectCardMovedProjectCardVariant1CreatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookProjectCardMovedProjectCardVariant1CreatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..670bea66 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAssignedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..8d24ba84 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAssignedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneesType.g.cs deleted file mode 100644 index 6d1cea5f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAssignedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAssignedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAssignedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAssignedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAssignedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 7a145492..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAssignedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAssignedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAssignedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAssignedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAssignedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..5292e611 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..e0210ebe --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..1808b551 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..c313a5cc --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..b6496c45 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..1a46ba4e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..5a3f8e15 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..04895100 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..ca13cdb6 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..3e5989b7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 1c53b60a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 2a464e23..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 02a892b0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 7f821cad..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..2ca1b4a8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..270fd953 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.g.cs deleted file mode 100644 index 972f9b86..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 6b4c1be7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..9b9b1bad --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..2b4dbf5a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..8d559f3e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..0df8ead8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..945220d4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..b5030abd --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..dd85a532 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..a7ac8d21 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..b4d6f5de --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..6c43a4dc --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index e650b673..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index ddec536e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 8f2db21e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index bc0bf2cc..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..ef9abb41 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..6d7c8cf6 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.g.cs deleted file mode 100644 index 78fa6306..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 225e0166..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..1de0af9e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..92038f99 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..91559631 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..f278e168 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..33f962d3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..c9484253 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..c7c49e4e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..86f68d67 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..1cc26fff --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..a3bd71ed --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 5485c347..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 583bffa4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index dfda3580..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 9fac55c2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitMessage.g.cs deleted file mode 100644 index e8cb7d7a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitMessage.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestClosedPullRequestMergeCommitMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitMessage Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitMessageExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitMessage value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitMessageExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitMessageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitMessageNullable.g.cs deleted file mode 100644 index 7eed1985..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitMessageNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestClosedPullRequestMergeCommitMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitMessage? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitMessageExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitMessage? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitMessageExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitTitle.g.cs deleted file mode 100644 index a28a7a11..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitTitle.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestClosedPullRequestMergeCommitTitleJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitTitle Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitTitleExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitTitle value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitTitleExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitTitleNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitTitleNullable.g.cs deleted file mode 100644 index eb624a7c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitTitleNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestClosedPullRequestMergeCommitTitleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitTitle? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitTitleExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitTitle? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitTitleExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.g.cs deleted file mode 100644 index 14cdf263..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestClosedPullRequestSquashMergeCommitMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitMessageExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitMessageExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitMessageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitMessageNullable.g.cs deleted file mode 100644 index e072f471..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitMessageNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestClosedPullRequestSquashMergeCommitMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitMessageExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitMessageExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle.g.cs deleted file mode 100644 index 45f7a541..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestClosedPullRequestSquashMergeCommitTitleJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitTitleExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitTitleExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitTitleNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitTitleNullable.g.cs deleted file mode 100644 index c2568887..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitTitleNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestClosedPullRequestSquashMergeCommitTitleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitTitleExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitTitleExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.g.cs deleted file mode 100644 index 8ba934be..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageNullable.g.cs deleted file mode 100644 index 68b22db2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle.g.cs deleted file mode 100644 index 70a65480..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleNullable.g.cs deleted file mode 100644 index b90c4389..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.g.cs deleted file mode 100644 index 39dd8da6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageNullable.g.cs deleted file mode 100644 index 64439987..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle.g.cs deleted file mode 100644 index fd83fba8..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleNullable.g.cs deleted file mode 100644 index 319c1459..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..2d2b9530 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..893c0d8e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneesType.g.cs deleted file mode 100644 index 73cb9616..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestDequeuedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index b0098b2a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestDequeuedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..bef70da8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..054d6cb9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..92065a21 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..48ff69e3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..f2934fee --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..92c0acba --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..89b49231 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..6697a84e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..9b476725 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..8d80fb43 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 5163365b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 327aab8d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 5d6f3f0d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 5df703f0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitMessage.g.cs deleted file mode 100644 index 95ccb208..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitMessage.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEditedPullRequestMergeCommitMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitMessage Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitMessageExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitMessage value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitMessageExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitMessageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitMessageNullable.g.cs deleted file mode 100644 index 5e2f2793..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitMessageNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEditedPullRequestMergeCommitMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitMessage? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitMessageExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitMessage? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitMessageExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitTitle.g.cs deleted file mode 100644 index 16f3ed11..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitTitle.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEditedPullRequestMergeCommitTitleJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitTitle Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitTitleExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitTitle value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitTitleExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitTitleNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitTitleNullable.g.cs deleted file mode 100644 index 17b8887d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitTitleNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEditedPullRequestMergeCommitTitleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitTitle? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitTitleExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitTitle? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitTitleExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.g.cs deleted file mode 100644 index 6c94e628..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEditedPullRequestSquashMergeCommitMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitMessageExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitMessageExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitMessageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitMessageNullable.g.cs deleted file mode 100644 index 1291e90d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitMessageNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEditedPullRequestSquashMergeCommitMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitMessageExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitMessageExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle.g.cs deleted file mode 100644 index e73ae802..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEditedPullRequestSquashMergeCommitTitleJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitTitleExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitTitleExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitTitleNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitTitleNullable.g.cs deleted file mode 100644 index 3c7e03b2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitTitleNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEditedPullRequestSquashMergeCommitTitleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitTitleExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitTitleExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..4c2132a2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestEnqueuedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..abc01d8e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestEnqueuedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneesType.g.cs deleted file mode 100644 index 69e93771..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEnqueuedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 2e12fa34..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEnqueuedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..fd4d1dd3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..1b160178 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..0d1a118e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..2105576d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..e70fbb71 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..75201d0f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..dd4cd7b1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..96cd4067 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..c72f2522 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..b7c8a15f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 30e7c0b7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 09b04914..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index bfab38a2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index f57a0fe4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..a1257263 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLabeledPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..a704543a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLabeledPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneesType.g.cs deleted file mode 100644 index 8863de30..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestLabeledPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestLabeledPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestLabeledPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestLabeledPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestLabeledPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 0231b5f3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestLabeledPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestLabeledPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestLabeledPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestLabeledPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestLabeledPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..1efe4fac --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..9d7513b5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..4b95d880 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..6d94edd7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..c616b812 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..6e863bb5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..5495f3b2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..ef1fe614 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..10914d94 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..cda4868b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 81f0c105..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 8491273b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 0351c167..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 871cfd0f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..a38519e9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLockedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..a0eba295 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLockedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneesType.g.cs deleted file mode 100644 index cedb8101..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestLockedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestLockedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestLockedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestLockedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestLockedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 92fa1e26..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestLockedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestLockedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestLockedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestLockedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestLockedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..2f40f3da --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..5408a38e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..e582d518 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..ab6fdad0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..d1912b81 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..3004c17c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..2c56d6bf --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..f8e5ecc3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..7a12dd74 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLockedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..574d853c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestLockedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 362fd242..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index ed269390..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 978319d7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 7538a0ff..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitMessage.g.cs deleted file mode 100644 index 21b5b70e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitMessage.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestOpenedPullRequestMergeCommitMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitMessage Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitMessageExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitMessage value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitMessageExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitMessageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitMessageNullable.g.cs deleted file mode 100644 index 243ac8c0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitMessageNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestOpenedPullRequestMergeCommitMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitMessage? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitMessageExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitMessage? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitMessageExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitTitle.g.cs deleted file mode 100644 index e0883c3f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitTitle.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestOpenedPullRequestMergeCommitTitleJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitTitle Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitTitleExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitTitle value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitTitleExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitTitleNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitTitleNullable.g.cs deleted file mode 100644 index b0f19154..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitTitleNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestOpenedPullRequestMergeCommitTitleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitTitle? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitTitleExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitTitle? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitTitleExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.g.cs deleted file mode 100644 index 75046658..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageNullable.g.cs deleted file mode 100644 index 21dc5606..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle.g.cs deleted file mode 100644 index 567d130b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleNullable.g.cs deleted file mode 100644 index afbb7d5d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.g.cs deleted file mode 100644 index ea9d4e66..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageNullable.g.cs deleted file mode 100644 index feffdb89..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle.g.cs deleted file mode 100644 index 9369187b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleNullable.g.cs deleted file mode 100644 index ec82e906..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.g.cs deleted file mode 100644 index 51964b1d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageNullable.g.cs deleted file mode 100644 index ae865285..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle.g.cs deleted file mode 100644 index d4ed83ca..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleNullable.g.cs deleted file mode 100644 index 296779f0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitMessage.g.cs deleted file mode 100644 index c549f18b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitMessage.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReopenedPullRequestMergeCommitMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitMessage Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitMessageExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitMessage value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitMessageExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitMessageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitMessageNullable.g.cs deleted file mode 100644 index 85a23ad4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitMessageNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReopenedPullRequestMergeCommitMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitMessage? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitMessageExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitMessage? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitMessageExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitTitle.g.cs deleted file mode 100644 index 16a98f07..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitTitle.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReopenedPullRequestMergeCommitTitleJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitTitle Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitTitleExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitTitle value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitTitleExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitTitleNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitTitleNullable.g.cs deleted file mode 100644 index 927aea6f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitTitleNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReopenedPullRequestMergeCommitTitleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitTitle? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitTitleExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitTitle? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitTitleExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.g.cs deleted file mode 100644 index 2348b5e4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageNullable.g.cs deleted file mode 100644 index d6615861..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle.g.cs deleted file mode 100644 index 5dd18018..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleNullable.g.cs deleted file mode 100644 index c0d88a90..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..98fb9bc9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..8b0c8fa7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.g.cs deleted file mode 100644 index e7d2d2a7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index f2881457..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..34b49527 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..70a1be0f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..daa98291 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..2e5f1a5e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..e4c8a976 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..c9b9fe3f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..ec6dd49c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..e1f0f9cf --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..6da17ede --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..894a48d0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index f3fa3f05..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 9f8e5eee..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index f3f4b684..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 211d26dd..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..45108e66 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..afc65044 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.g.cs deleted file mode 100644 index f07bd4d9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 0dcd660f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..7a9414ea --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..8dc8ef79 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..b2a7353e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..379594ee --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..da7552d0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..29951c36 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..b5bb2889 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..f7a50657 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..3a247e1d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..27afc4e9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 16bbfa66..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index d0c42f64..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 39a02704..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index dacda457..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..375d4179 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..15f14c9d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.g.cs deleted file mode 100644 index 846ce531..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 27f70fae..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..de6cf3f4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..d3ad85f5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..39f83f2e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..a2b167f4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..c9f480c8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..abd6fc89 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..f2b8f661 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..757a055d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..249ef55d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..38c16978 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 3840d43b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 5493a8da..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 34513ee5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index a0c845f1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..9b9e6cf5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewDismissedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..bcf2b526 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewDismissedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneesType.g.cs deleted file mode 100644 index dbc6fa42..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewDismissedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 467da643..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewDismissedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..e5e82bc6 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..3d83907d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..646f6d3c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..c4155a10 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..4a958d66 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..1e93e4dc --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..ecc265a4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..daae0796 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..22726134 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..532d55ee --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index fbcd75c5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 42a2005a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index ae7b9c6a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 777c08b8..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..f0dba126 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewEditedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..82b1c31c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewEditedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneesType.g.cs deleted file mode 100644 index 81bcaee8..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewEditedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 882f4f53..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewEditedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..4d03ca7e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..ebc067c5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..2fc12227 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..0b53e3c9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..365f0a7e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..bc8a6a11 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..2629845f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..ab744e39 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..e2db3ac3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..c4a555ea --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index f0a15a07..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index e5a5175b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 2119b3bc..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 7444ae41..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..1b4e2fc1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..7e1528c2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.g.cs deleted file mode 100644 index 664e86c7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 968f99b7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..f61bfc8a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..f17e94f7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..2fb66918 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..8cb5a7c8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..154c84c0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..81148923 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..ce91d0e3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..2b58ae5a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..bf2f57ef --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..d69dd15b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 985c8f4f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 6c6f94e6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 65bea79b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 3864ee3c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..d63e0786 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..483ce343 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.g.cs deleted file mode 100644 index a4b53661..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 244122e1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..9f43d31f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..fb0c939d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..627b32f4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..3a1017e6 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..49402448 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..658c63c8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..c3817da6 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..2c30dcef --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..c797e438 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..eddf1c69 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index ec63740c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 656f0399..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 9bedf2c2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 87e2fe61..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..52fa09a2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..96fa4052 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.g.cs deleted file mode 100644 index 802a69c1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 383ddb51..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..410885ff --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..25e6b0cc --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..e054f183 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..fe3539db --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..662cb076 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..4209a1c5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..4c8d62c4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..0b7d4bb3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..dfa1630a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..16374743 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 29c4b237..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 7ad093ba..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 324d3497..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index c55b5c7b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..53b1b7c7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..3bb69468 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.g.cs deleted file mode 100644 index 11f6d3e9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index e18f48bf..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..58d3548c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..3a0bffb1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..d68ef95b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..4add97f4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..3242a9a2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..6c28ba5e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..490aab41 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..100b2f05 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..8d50e99d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..e131d324 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index b7738aa5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index f4458d46..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 470b55d2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index c47dac67..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..a2d7a554 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewSubmittedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..025f7514 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewSubmittedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneesType.g.cs deleted file mode 100644 index d77694c5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index f7344ef6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..7874b093 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..ed2ff74e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..39e82d33 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..586619e2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..74e1c972 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..bcb04c3f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..f3a80629 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..122f48fb --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..8fb1665d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..edd1eee8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index d09bc375..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 73ced17f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 6a57bd94..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 3a6bf593..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..5a5354fa --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..45c2c0bf --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.g.cs deleted file mode 100644 index adf4c9dd..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index f3d7265f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..c87e7788 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..f5278026 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..73d5abcf --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..37263923 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..42e0b150 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..4cfb248b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..4a9ad52a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..756f5f0c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..8f303cd8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..ebe06370 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index f3536813..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 53e1f5fa..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 811e4d1d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 7b4304bc..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.g.cs new file mode 100644 index 00000000..ccc29250 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationNullable.g.cs new file mode 100644 index 00000000..4df5b1f4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSide.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSide.g.cs new file mode 100644 index 00000000..b0e4c26b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSide.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentSideJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSide Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSideExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSide)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSide value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSideExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSideNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSideNullable.g.cs new file mode 100644 index 00000000..5bb303ed --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSideNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentSideNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSide? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSideExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSide)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSide? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSideExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide.g.cs new file mode 100644 index 00000000..9db70137 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentStartSideJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentStartSideExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentStartSideExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentStartSideNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentStartSideNullable.g.cs new file mode 100644 index 00000000..53e96f8b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentStartSideNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentStartSideNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentStartSideExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentStartSideExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType.g.cs new file mode 100644 index 00000000..d9b46f3e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeNullable.g.cs new file mode 100644 index 00000000..0d59c752 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentUserType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentUserType.g.cs new file mode 100644 index 00000000..1928bf5f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentUserType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUserType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUserType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUserType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeNullable.g.cs new file mode 100644 index 00000000..8c7767e0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUserType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUserType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUserType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.g.cs deleted file mode 100644 index c182a4f2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationNullable.g.cs deleted file mode 100644 index a10a96bd..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSide.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSide.g.cs deleted file mode 100644 index f7bb5182..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSide.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentsSideJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSide Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSideExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSide)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSide value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSideExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSideNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSideNullable.g.cs deleted file mode 100644 index 08ec2898..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSideNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentsSideNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSide? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSideExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSide)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSide? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSideExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide.g.cs deleted file mode 100644 index 63b3b78f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideNullable.g.cs deleted file mode 100644 index b4db7e86..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType.g.cs deleted file mode 100644 index 6b8af521..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeNullable.g.cs deleted file mode 100644 index 156969c1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.g.cs deleted file mode 100644 index 92904ceb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeNullable.g.cs deleted file mode 100644 index e061c0b0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..0508a4c7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..d9b76400 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.g.cs deleted file mode 100644 index 0f5cf2f6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index 1981f30e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..9c56fead --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..69da10dc --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..91d289c8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..56bdc022 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..097bb417 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..a5d5dd29 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..2c0e2f6e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..1ad8103b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..861b73b5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..bc09067d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index b60f1ce0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 5229fa96..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 27f45392..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 4a51a276..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.g.cs new file mode 100644 index 00000000..62156689 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationNullable.g.cs new file mode 100644 index 00000000..5f91511a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide.g.cs new file mode 100644 index 00000000..2ec2fd5f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentSideJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSideExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSideExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSideNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSideNullable.g.cs new file mode 100644 index 00000000..199d1193 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSideNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentSideNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSideExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSideExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide.g.cs new file mode 100644 index 00000000..330df904 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideNullable.g.cs new file mode 100644 index 00000000..36d529f9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType.g.cs new file mode 100644 index 00000000..316227eb --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeNullable.g.cs new file mode 100644 index 00000000..d8405a91 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.g.cs new file mode 100644 index 00000000..1b31af9e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeNullable.g.cs new file mode 100644 index 00000000..b678cef5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.g.cs deleted file mode 100644 index 02a27698..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationNullable.g.cs deleted file mode 100644 index b322dcf2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide.g.cs deleted file mode 100644 index f1265de1..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideNullable.g.cs deleted file mode 100644 index 62165c4f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide.g.cs deleted file mode 100644 index 29dc74e3..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideNullable.g.cs deleted file mode 100644 index fc18de1b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType.g.cs deleted file mode 100644 index 61206344..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeNullable.g.cs deleted file mode 100644 index e5a0eee2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.g.cs deleted file mode 100644 index e3d53b41..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeNullable.g.cs deleted file mode 100644 index 33d00e6e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..38125b34 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestSynchronizePullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..0fbf113f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestSynchronizePullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneesType.g.cs deleted file mode 100644 index 5de5b065..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestSynchronizePullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index b7420e8f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestSynchronizePullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..dd06e54c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..fe1094d8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..63b59996 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..53eeb0c0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..0e724e83 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..b67793eb --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..22df6add --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..82e0d5b5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..c05f7db1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..bbbcf654 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 76eb4775..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 95e699fa..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 0c801044..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 9d6593bb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..754cc556 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnassignedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..e80348af --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnassignedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneesType.g.cs deleted file mode 100644 index 0a8c8923..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnassignedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index abbd61a4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnassignedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..c8b5a51b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..f5af2284 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..9b09d3fb --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..bdf45590 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..1e6de019 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..5a603cc5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..fbbbde76 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..af0b4435 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..09833512 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..1cde7480 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index c53c8094..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 4344f77f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index b2cff74d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 720bb18d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..6733b84d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlabeledPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..cf9df90c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlabeledPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneesType.g.cs deleted file mode 100644 index 71e0978a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnlabeledPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index bef87e22..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnlabeledPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..37fe8159 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..e7a8040a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..77f96894 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..a3ce9fb5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..d29fabaa --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..da2fad14 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..73e83f15 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..0d703ad7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..8580b6ef --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..2f323e4f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index 7d362228..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index 42b673ac..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index e9d78e3d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index beddfa01..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneeType2.g.cs new file mode 100644 index 00000000..79f33a73 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlockedPullRequestAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..62abcc31 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlockedPullRequestAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneesType.g.cs deleted file mode 100644 index 2ab6e45f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnlockedPullRequestAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneesTypeNullable.g.cs deleted file mode 100644 index e1e166a9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnlockedPullRequestAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..9c392b0a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..92752927 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..1b96f251 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..42a9c90b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..7f487366 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..83a4f87a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..186f914d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..e8b60197 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..5207c36f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..b6ef9ca0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index ff82f40a..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index c445f04b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.g.cs deleted file mode 100644 index 3b03bd7b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index 666b297b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetState.g.cs new file mode 100644 index 00000000..434f5d2c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetState.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookReleasePrereleasedReleaseAssetStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookReleasePrereleasedReleaseAssetState Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookReleasePrereleasedReleaseAssetStateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookReleasePrereleasedReleaseAssetState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookReleasePrereleasedReleaseAssetState value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookReleasePrereleasedReleaseAssetStateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetStateNullable.g.cs new file mode 100644 index 00000000..92fe2dfa --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetStateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookReleasePrereleasedReleaseAssetStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookReleasePrereleasedReleaseAssetState? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookReleasePrereleasedReleaseAssetStateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookReleasePrereleasedReleaseAssetState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookReleasePrereleasedReleaseAssetState? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookReleasePrereleasedReleaseAssetStateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetUploaderType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetUploaderType.g.cs new file mode 100644 index 00000000..ff05a8e2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetUploaderType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookReleasePrereleasedReleaseAssetUploaderTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookReleasePrereleasedReleaseAssetUploaderType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookReleasePrereleasedReleaseAssetUploaderTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookReleasePrereleasedReleaseAssetUploaderType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookReleasePrereleasedReleaseAssetUploaderType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookReleasePrereleasedReleaseAssetUploaderTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetUploaderTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetUploaderTypeNullable.g.cs new file mode 100644 index 00000000..c77e4e54 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetUploaderTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookReleasePrereleasedReleaseAssetUploaderTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookReleasePrereleasedReleaseAssetUploaderType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookReleasePrereleasedReleaseAssetUploaderTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookReleasePrereleasedReleaseAssetUploaderType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookReleasePrereleasedReleaseAssetUploaderType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookReleasePrereleasedReleaseAssetUploaderTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsState.g.cs deleted file mode 100644 index c9267130..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsState.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookReleasePrereleasedReleaseAssetsStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookReleasePrereleasedReleaseAssetsState Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookReleasePrereleasedReleaseAssetsStateExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookReleasePrereleasedReleaseAssetsState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookReleasePrereleasedReleaseAssetsState value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookReleasePrereleasedReleaseAssetsStateExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsStateNullable.g.cs deleted file mode 100644 index 5de0ccc7..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsStateNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookReleasePrereleasedReleaseAssetsStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookReleasePrereleasedReleaseAssetsState? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookReleasePrereleasedReleaseAssetsStateExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookReleasePrereleasedReleaseAssetsState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookReleasePrereleasedReleaseAssetsState? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookReleasePrereleasedReleaseAssetsStateExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsUploaderType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsUploaderType.g.cs deleted file mode 100644 index 343b5ec5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsUploaderType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookReleasePrereleasedReleaseAssetsUploaderTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploaderType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploaderTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploaderType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploaderType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploaderTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsUploaderTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsUploaderTypeNullable.g.cs deleted file mode 100644 index 1ae9c172..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookReleasePrereleasedReleaseAssetsUploaderTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookReleasePrereleasedReleaseAssetsUploaderTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploaderType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploaderTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploaderType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploaderType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploaderTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType.g.cs deleted file mode 100644 index bd8a9cd0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeNullable.g.cs deleted file mode 100644 index a5d33647..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobConclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobConclusion.g.cs deleted file mode 100644 index 3cd9b2ac..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobConclusion.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobCompletedWorkflowJobConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobConclusion Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobConclusionExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobConclusion)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobCompletedWorkflowJobConclusion value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobConclusionExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobConclusionNullable.g.cs deleted file mode 100644 index 4ff2e7b6..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobConclusionNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobCompletedWorkflowJobConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobConclusion? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobConclusionExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobConclusion)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobCompletedWorkflowJobConclusion? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobConclusionExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStatus.g.cs deleted file mode 100644 index 91de95ee..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStatus.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobCompletedWorkflowJobStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStatus Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStatusExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStatus value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStatusExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStatusNullable.g.cs deleted file mode 100644 index 7e3349c5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStatusNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobCompletedWorkflowJobStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStatus? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStatusExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStatus? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStatusExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.g.cs deleted file mode 100644 index abf8032c..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobCompletedWorkflowJobStepsConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsConclusionExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsConclusionExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsConclusionNullable.g.cs deleted file mode 100644 index 4ca70254..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsConclusionNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobCompletedWorkflowJobStepsConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsConclusionExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsConclusionExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsStatus.g.cs deleted file mode 100644 index 9d851e4b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsStatus.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobCompletedWorkflowJobStepsStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsStatus Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsStatusExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsStatus value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsStatusExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsStatusNullable.g.cs deleted file mode 100644 index 3f8da113..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsStatusNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobCompletedWorkflowJobStepsStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsStatus? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsStatusExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsStatus? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsStatusExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.g.cs new file mode 100644 index 00000000..c607629a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionNullable.g.cs new file mode 100644 index 00000000..ed8fde1e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1Status.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1Status.g.cs new file mode 100644 index 00000000..c91b1de4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1Status.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobCompletedWorkflowJobVariant1StatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Status Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Status)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Status value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StatusNullable.g.cs new file mode 100644 index 00000000..5f29bdb0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobCompletedWorkflowJobVariant1StatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Status? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Status)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Status? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.g.cs new file mode 100644 index 00000000..a7d2e4b8 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionNullable.g.cs new file mode 100644 index 00000000..e6062132 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.g.cs new file mode 100644 index 00000000..d890687e --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusNullable.g.cs new file mode 100644 index 00000000..9a0b0ba9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.g.cs new file mode 100644 index 00000000..77370db7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionNullable.g.cs new file mode 100644 index 00000000..8770cb7f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobConclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobConclusion.g.cs deleted file mode 100644 index e7c11135..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobConclusion.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobInProgressWorkflowJobConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobConclusion Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobConclusionExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobConclusion)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobInProgressWorkflowJobConclusion value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobConclusionExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobConclusionNullable.g.cs deleted file mode 100644 index 5f581232..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobConclusionNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobInProgressWorkflowJobConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobConclusion? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobConclusionExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobConclusion)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobInProgressWorkflowJobConclusion? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobConclusionExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStatus.g.cs deleted file mode 100644 index 14c1f094..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStatus.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobInProgressWorkflowJobStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStatus Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStatusExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStatus value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStatusExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStatusNullable.g.cs deleted file mode 100644 index 230baeff..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStatusNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobInProgressWorkflowJobStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStatus? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStatusExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStatus? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStatusExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.g.cs deleted file mode 100644 index 774216c9..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobInProgressWorkflowJobStepsConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsConclusionExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsConclusionExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsConclusionNullable.g.cs deleted file mode 100644 index 138c5def..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsConclusionNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobInProgressWorkflowJobStepsConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsConclusionExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsConclusionExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsStatus.g.cs deleted file mode 100644 index 26fd6ffb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsStatus.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobInProgressWorkflowJobStepsStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsStatus Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsStatusExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsStatus value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsStatusExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsStatusNullable.g.cs deleted file mode 100644 index 16dc8ee5..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsStatusNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobInProgressWorkflowJobStepsStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsStatus? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsStatusExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsStatus? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsStatusExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.g.cs new file mode 100644 index 00000000..2089538b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionNullable.g.cs new file mode 100644 index 00000000..5cda373a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1Status.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1Status.g.cs new file mode 100644 index 00000000..b445c11d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1Status.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobInProgressWorkflowJobVariant1StatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Status Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Status)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Status value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StatusNullable.g.cs new file mode 100644 index 00000000..5940af75 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobInProgressWorkflowJobVariant1StatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Status? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Status)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Status? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.g.cs new file mode 100644 index 00000000..9b2ffa45 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionNullable.g.cs new file mode 100644 index 00000000..6f24d74a --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.g.cs new file mode 100644 index 00000000..c9082e68 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusNullable.g.cs new file mode 100644 index 00000000..f3f266ff --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2Status.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2Status.g.cs new file mode 100644 index 00000000..f2788676 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2Status.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobInProgressWorkflowJobVariant2StatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2Status Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2Status)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2Status value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StatusNullable.g.cs new file mode 100644 index 00000000..0e8c0d60 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobInProgressWorkflowJobVariant2StatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2Status? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2Status)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2Status? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.g.cs new file mode 100644 index 00000000..296c906f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusNullable.g.cs new file mode 100644 index 00000000..2cd37785 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepConclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepConclusion.g.cs new file mode 100644 index 00000000..55d4502c --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepConclusion.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobQueuedWorkflowJobStepConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepConclusion Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepConclusionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepConclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepConclusion value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepConclusionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepConclusionNullable.g.cs new file mode 100644 index 00000000..5e28077d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepConclusionNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobQueuedWorkflowJobStepConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepConclusion? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepConclusionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepConclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepConclusion? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepConclusionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepStatus.g.cs new file mode 100644 index 00000000..f571721b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobQueuedWorkflowJobStepStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepStatusNullable.g.cs new file mode 100644 index 00000000..98ca3520 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobQueuedWorkflowJobStepStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.g.cs deleted file mode 100644 index bf40de6d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobQueuedWorkflowJobStepsConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsConclusionExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsConclusionExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsConclusionNullable.g.cs deleted file mode 100644 index 1da0b92b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsConclusionNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobQueuedWorkflowJobStepsConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsConclusionExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsConclusionExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsStatus.g.cs deleted file mode 100644 index b5d3b20d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsStatus.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobQueuedWorkflowJobStepsStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsStatus Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsStatusExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsStatus value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsStatusExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsStatusNullable.g.cs deleted file mode 100644 index 88926876..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsStatusNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobQueuedWorkflowJobStepsStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsStatus? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsStatusExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsStatus? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsStatusExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepConclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepConclusion.g.cs new file mode 100644 index 00000000..712881b4 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepConclusion.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobWaitingWorkflowJobStepConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepConclusion Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepConclusionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepConclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepConclusion value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepConclusionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepConclusionNullable.g.cs new file mode 100644 index 00000000..c0ed169d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepConclusionNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobWaitingWorkflowJobStepConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepConclusion? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepConclusionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepConclusion)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepConclusion? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepConclusionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepStatus.g.cs new file mode 100644 index 00000000..9c0ba81f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepStatus.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobWaitingWorkflowJobStepStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepStatusNullable.g.cs new file mode 100644 index 00000000..a773cbf1 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepStatusNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhookWorkflowJobWaitingWorkflowJobStepStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.g.cs deleted file mode 100644 index 05dd749b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobWaitingWorkflowJobStepsConclusionJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsConclusionExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsConclusionExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsConclusionNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsConclusionNullable.g.cs deleted file mode 100644 index 50f3c2ee..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsConclusionNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobWaitingWorkflowJobStepsConclusionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsConclusionExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsConclusionExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsStatus.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsStatus.g.cs deleted file mode 100644 index cecb1e8e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsStatus.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobWaitingWorkflowJobStepsStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsStatus Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsStatusExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsStatus value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsStatusExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsStatusNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsStatusNullable.g.cs deleted file mode 100644 index 58d427db..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsStatusNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhookWorkflowJobWaitingWorkflowJobStepsStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsStatus? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsStatusExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsStatus)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsStatus? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsStatusExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneeType2.g.cs new file mode 100644 index 00000000..f5cb4eb0 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksIssue2AssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksIssue2AssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksIssue2AssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksIssue2AssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksIssue2AssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksIssue2AssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneeType2Nullable.g.cs new file mode 100644 index 00000000..f6cc10ec --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksIssue2AssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksIssue2AssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksIssue2AssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksIssue2AssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksIssue2AssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksIssue2AssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneesType.g.cs deleted file mode 100644 index 09e39fbb..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksIssue2AssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksIssue2AssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksIssue2AssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksIssue2AssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksIssue2AssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhooksIssue2AssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneesTypeNullable.g.cs deleted file mode 100644 index fe13def0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2AssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksIssue2AssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksIssue2AssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksIssue2AssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksIssue2AssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksIssue2AssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhooksIssue2AssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..778d73aa --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksIssue2PerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksIssue2PerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksIssue2PerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksIssue2PerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksIssue2PerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksIssue2PerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..b08c2118 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksIssue2PerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksIssue2PerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksIssue2PerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksIssue2PerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksIssue2PerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksIssue2PerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEvents.g.cs deleted file mode 100644 index 3ed08570..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksIssue2PerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksIssue2PerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksIssue2PerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksIssue2PerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksIssue2PerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhooksIssue2PerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index 3ea9c604..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssue2PerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksIssue2PerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksIssue2PerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksIssue2PerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksIssue2PerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksIssue2PerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhooksIssue2PerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneeType2.g.cs new file mode 100644 index 00000000..06677374 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksIssueAssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksIssueAssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksIssueAssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksIssueAssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksIssueAssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneeType2Nullable.g.cs new file mode 100644 index 00000000..2c91be7f --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksIssueAssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksIssueAssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksIssueAssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksIssueAssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksIssueAssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksIssueAssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneesType.g.cs deleted file mode 100644 index 6260759b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksIssueAssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksIssueAssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksIssueAssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksIssueAssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhooksIssueAssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneesTypeNullable.g.cs deleted file mode 100644 index d7af1e4b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssueAssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksIssueAssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksIssueAssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksIssueAssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksIssueAssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksIssueAssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhooksIssueAssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEvent.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEvent.g.cs new file mode 100644 index 00000000..7b30fc39 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEvent.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksIssuePerformedViaGithubAppEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksIssuePerformedViaGithubAppEvent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksIssuePerformedViaGithubAppEvent value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksIssuePerformedViaGithubAppEventExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEventNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEventNullable.g.cs new file mode 100644 index 00000000..62ab98ef --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEventNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksIssuePerformedViaGithubAppEventNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksIssuePerformedViaGithubAppEvent? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksIssuePerformedViaGithubAppEventExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksIssuePerformedViaGithubAppEvent)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksIssuePerformedViaGithubAppEvent? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksIssuePerformedViaGithubAppEventExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEvents.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEvents.g.cs deleted file mode 100644 index f0778f4f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEvents.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksIssuePerformedViaGithubAppEventsJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksIssuePerformedViaGithubAppEvents Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksIssuePerformedViaGithubAppEvents value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhooksIssuePerformedViaGithubAppEventsExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEventsNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEventsNullable.g.cs deleted file mode 100644 index d6d4e23e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksIssuePerformedViaGithubAppEventsNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksIssuePerformedViaGithubAppEventsNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksIssuePerformedViaGithubAppEvents? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksIssuePerformedViaGithubAppEventsExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksIssuePerformedViaGithubAppEvents)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksIssuePerformedViaGithubAppEvents? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhooksIssuePerformedViaGithubAppEventsExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneeType2.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneeType2.g.cs new file mode 100644 index 00000000..bc73a520 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneeType2.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksPullRequest5AssigneeType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksPullRequest5AssigneeType2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksPullRequest5AssigneeType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksPullRequest5AssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksPullRequest5AssigneeType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksPullRequest5AssigneeType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneeType2Nullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneeType2Nullable.g.cs new file mode 100644 index 00000000..bb3a11e7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneeType2Nullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksPullRequest5AssigneeType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksPullRequest5AssigneeType2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksPullRequest5AssigneeType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksPullRequest5AssigneeType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksPullRequest5AssigneeType2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksPullRequest5AssigneeType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneesType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneesType.g.cs deleted file mode 100644 index b2d82d58..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneesType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksPullRequest5AssigneesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksPullRequest5AssigneesType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksPullRequest5AssigneesTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksPullRequest5AssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksPullRequest5AssigneesType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhooksPullRequest5AssigneesTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneesTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneesTypeNullable.g.cs deleted file mode 100644 index d6b2577d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5AssigneesTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksPullRequest5AssigneesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksPullRequest5AssigneesType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksPullRequest5AssigneesTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksPullRequest5AssigneesType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksPullRequest5AssigneesType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhooksPullRequest5AssigneesTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant1Type.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant1Type.g.cs new file mode 100644 index 00000000..f5ea13ff --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant1Type.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksPullRequest5RequestedReviewerVariant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksPullRequest5RequestedReviewerVariant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksPullRequest5RequestedReviewerVariant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksPullRequest5RequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksPullRequest5RequestedReviewerVariant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedReviewerVariant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant1TypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant1TypeNullable.g.cs new file mode 100644 index 00000000..74aafbc2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant1TypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksPullRequest5RequestedReviewerVariant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksPullRequest5RequestedReviewerVariant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksPullRequest5RequestedReviewerVariant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksPullRequest5RequestedReviewerVariant1Type)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksPullRequest5RequestedReviewerVariant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedReviewerVariant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.g.cs new file mode 100644 index 00000000..520520f3 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyNullable.g.cs new file mode 100644 index 00000000..6372c289 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2Privacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2Privacy.g.cs new file mode 100644 index 00000000..e0609dd9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2Privacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksPullRequest5RequestedReviewerVariant2PrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2Privacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2Privacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2PrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2PrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2PrivacyNullable.g.cs new file mode 100644 index 00000000..506c3261 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2PrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksPullRequest5RequestedReviewerVariant2PrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2Privacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2PrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2Privacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2Privacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2PrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamParentPrivacy.g.cs new file mode 100644 index 00000000..78af7775 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamParentPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksPullRequest5RequestedTeamParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksPullRequest5RequestedTeamParentPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksPullRequest5RequestedTeamParentPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksPullRequest5RequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksPullRequest5RequestedTeamParentPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedTeamParentPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamParentPrivacyNullable.g.cs new file mode 100644 index 00000000..6bd599c7 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamParentPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksPullRequest5RequestedTeamParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksPullRequest5RequestedTeamParentPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksPullRequest5RequestedTeamParentPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksPullRequest5RequestedTeamParentPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksPullRequest5RequestedTeamParentPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedTeamParentPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamPrivacy.g.cs new file mode 100644 index 00000000..d16953f2 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamPrivacy.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksPullRequest5RequestedTeamPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksPullRequest5RequestedTeamPrivacy Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksPullRequest5RequestedTeamPrivacyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksPullRequest5RequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksPullRequest5RequestedTeamPrivacy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedTeamPrivacyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamPrivacyNullable.g.cs new file mode 100644 index 00000000..3a1987d9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamPrivacyNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksPullRequest5RequestedTeamPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksPullRequest5RequestedTeamPrivacy? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksPullRequest5RequestedTeamPrivacyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksPullRequest5RequestedTeamPrivacy)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksPullRequest5RequestedTeamPrivacy? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedTeamPrivacyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsParentPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsParentPrivacy.g.cs deleted file mode 100644 index c359968d..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsParentPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksPullRequest5RequestedTeamsParentPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksPullRequest5RequestedTeamsParentPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksPullRequest5RequestedTeamsParentPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksPullRequest5RequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksPullRequest5RequestedTeamsParentPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedTeamsParentPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsParentPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsParentPrivacyNullable.g.cs deleted file mode 100644 index c4b0aea0..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsParentPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksPullRequest5RequestedTeamsParentPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksPullRequest5RequestedTeamsParentPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksPullRequest5RequestedTeamsParentPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksPullRequest5RequestedTeamsParentPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksPullRequest5RequestedTeamsParentPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedTeamsParentPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsPrivacy.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsPrivacy.g.cs deleted file mode 100644 index 617e2233..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsPrivacy.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksPullRequest5RequestedTeamsPrivacyJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksPullRequest5RequestedTeamsPrivacy Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksPullRequest5RequestedTeamsPrivacyExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksPullRequest5RequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksPullRequest5RequestedTeamsPrivacy value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedTeamsPrivacyExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsPrivacyNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsPrivacyNullable.g.cs deleted file mode 100644 index c738ab48..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksPullRequest5RequestedTeamsPrivacyNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksPullRequest5RequestedTeamsPrivacyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksPullRequest5RequestedTeamsPrivacy? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksPullRequest5RequestedTeamsPrivacyExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksPullRequest5RequestedTeamsPrivacy)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksPullRequest5RequestedTeamsPrivacy? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhooksPullRequest5RequestedTeamsPrivacyExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetState.g.cs new file mode 100644 index 00000000..8110d997 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetState.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksRelease1AssetStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksRelease1AssetState Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksRelease1AssetStateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksRelease1AssetState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksRelease1AssetState value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksRelease1AssetStateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetStateNullable.g.cs new file mode 100644 index 00000000..61ad5e58 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetStateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksRelease1AssetStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksRelease1AssetState? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksRelease1AssetStateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksRelease1AssetState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksRelease1AssetState? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksRelease1AssetStateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetUploaderType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetUploaderType.g.cs new file mode 100644 index 00000000..0c6889f9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetUploaderType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksRelease1AssetUploaderTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksRelease1AssetUploaderType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksRelease1AssetUploaderTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksRelease1AssetUploaderType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksRelease1AssetUploaderType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksRelease1AssetUploaderTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetUploaderTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetUploaderTypeNullable.g.cs new file mode 100644 index 00000000..4d92cc74 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetUploaderTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksRelease1AssetUploaderTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksRelease1AssetUploaderType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksRelease1AssetUploaderTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksRelease1AssetUploaderType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksRelease1AssetUploaderType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksRelease1AssetUploaderTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsState.g.cs deleted file mode 100644 index c120900f..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsState.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksRelease1AssetsStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksRelease1AssetsState Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksRelease1AssetsStateExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksRelease1AssetsState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksRelease1AssetsState value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhooksRelease1AssetsStateExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsStateNullable.g.cs deleted file mode 100644 index 60772df4..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsStateNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksRelease1AssetsStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksRelease1AssetsState? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksRelease1AssetsStateExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksRelease1AssetsState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksRelease1AssetsState? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhooksRelease1AssetsStateExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsUploaderType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsUploaderType.g.cs deleted file mode 100644 index 7960c38b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsUploaderType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksRelease1AssetsUploaderTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksRelease1AssetsUploaderType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksRelease1AssetsUploaderTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksRelease1AssetsUploaderType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksRelease1AssetsUploaderType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhooksRelease1AssetsUploaderTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsUploaderTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsUploaderTypeNullable.g.cs deleted file mode 100644 index 75ba1ea2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksRelease1AssetsUploaderTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksRelease1AssetsUploaderTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksRelease1AssetsUploaderType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksRelease1AssetsUploaderTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksRelease1AssetsUploaderType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksRelease1AssetsUploaderType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhooksRelease1AssetsUploaderTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetState.g.cs new file mode 100644 index 00000000..510d090b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetState.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksReleaseAssetStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksReleaseAssetState Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksReleaseAssetStateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksReleaseAssetState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksReleaseAssetState value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksReleaseAssetStateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetStateNullable.g.cs new file mode 100644 index 00000000..5d795d7b --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetStateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksReleaseAssetStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksReleaseAssetState? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksReleaseAssetStateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksReleaseAssetState)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksReleaseAssetState? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksReleaseAssetStateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetUploaderType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetUploaderType.g.cs new file mode 100644 index 00000000..03f00a43 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetUploaderType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksReleaseAssetUploaderTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksReleaseAssetUploaderType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksReleaseAssetUploaderTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksReleaseAssetUploaderType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksReleaseAssetUploaderType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksReleaseAssetUploaderTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetUploaderTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetUploaderTypeNullable.g.cs new file mode 100644 index 00000000..0a878a3d --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetUploaderTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksReleaseAssetUploaderTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksReleaseAssetUploaderType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksReleaseAssetUploaderTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksReleaseAssetUploaderType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksReleaseAssetUploaderType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksReleaseAssetUploaderTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsState.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsState.g.cs deleted file mode 100644 index 5ac74f51..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsState.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksReleaseAssetsStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksReleaseAssetsState Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksReleaseAssetsStateExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksReleaseAssetsState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksReleaseAssetsState value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhooksReleaseAssetsStateExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsStateNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsStateNullable.g.cs deleted file mode 100644 index ba24ae17..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsStateNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksReleaseAssetsStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksReleaseAssetsState? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksReleaseAssetsStateExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksReleaseAssetsState)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksReleaseAssetsState? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhooksReleaseAssetsStateExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsUploaderType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsUploaderType.g.cs deleted file mode 100644 index 633784bd..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsUploaderType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksReleaseAssetsUploaderTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksReleaseAssetsUploaderType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksReleaseAssetsUploaderTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksReleaseAssetsUploaderType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksReleaseAssetsUploaderType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhooksReleaseAssetsUploaderTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsUploaderTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsUploaderTypeNullable.g.cs deleted file mode 100644 index 7da96a4e..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksReleaseAssetsUploaderTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksReleaseAssetsUploaderTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksReleaseAssetsUploaderType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksReleaseAssetsUploaderTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksReleaseAssetsUploaderType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksReleaseAssetsUploaderType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhooksReleaseAssetsUploaderTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerReviewerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerReviewerType.g.cs new file mode 100644 index 00000000..c709e446 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerReviewerType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksReviewerReviewerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksReviewerReviewerType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksReviewerReviewerTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksReviewerReviewerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksReviewerReviewerType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksReviewerReviewerTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerReviewerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerReviewerTypeNullable.g.cs new file mode 100644 index 00000000..74a9b7f5 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerReviewerTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksReviewerReviewerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksReviewerReviewerType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksReviewerReviewerTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksReviewerReviewerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksReviewerReviewerType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksReviewerReviewerTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerType.g.cs new file mode 100644 index 00000000..8c3d79e9 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksReviewerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksReviewerType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksReviewerTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksReviewerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksReviewerType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::GitHub.WebhooksReviewerTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerTypeNullable.g.cs new file mode 100644 index 00000000..95492928 --- /dev/null +++ b/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewerTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenApiGenerator.JsonConverters +{ + /// + public sealed class WebhooksReviewerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::GitHub.WebhooksReviewerType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::GitHub.WebhooksReviewerTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::GitHub.WebhooksReviewerType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::GitHub.WebhooksReviewerType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::GitHub.WebhooksReviewerTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersReviewerType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersReviewerType.g.cs deleted file mode 100644 index c409edee..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersReviewerType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksReviewersReviewerTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksReviewersReviewerType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksReviewersReviewerTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksReviewersReviewerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksReviewersReviewerType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhooksReviewersReviewerTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersReviewerTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersReviewerTypeNullable.g.cs deleted file mode 100644 index 56b8ccf2..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersReviewerTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksReviewersReviewerTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksReviewersReviewerType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksReviewersReviewerTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksReviewersReviewerType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksReviewersReviewerType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhooksReviewersReviewerTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersType.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersType.g.cs deleted file mode 100644 index f5610b7b..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersType.g.cs +++ /dev/null @@ -1,49 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksReviewersTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksReviewersType Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksReviewersTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksReviewersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksReviewersType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::GitHub.WebhooksReviewersTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersTypeNullable.g.cs b/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersTypeNullable.g.cs deleted file mode 100644 index 332e83fc..00000000 --- a/src/libs/GitHub/Generated/JsonConverters.WebhooksReviewersTypeNullable.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -namespace OpenApiGenerator.JsonConverters -{ - /// - public sealed class WebhooksReviewersTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::GitHub.WebhooksReviewersType? Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - switch (reader.TokenType) - { - case global::System.Text.Json.JsonTokenType.String: - { - var stringValue = reader.GetString(); - if (stringValue != null) - { - return global::GitHub.WebhooksReviewersTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::GitHub.WebhooksReviewersType)numValue; - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::GitHub.WebhooksReviewersType? value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - if (value == null) - { - writer.WriteNullValue(); - } - else - { - writer.WriteStringValue(global::GitHub.WebhooksReviewersTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/GitHub/Generated/JsonSerializerContext.g.cs b/src/libs/GitHub/Generated/JsonSerializerContext.g.cs index 9e0bac8c..d3c5d049 100644 --- a/src/libs/GitHub/Generated/JsonSerializerContext.g.cs +++ b/src/libs/GitHub/Generated/JsonSerializerContext.g.cs @@ -14,12 +14,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryEcosystemsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryCreditTypesJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoryCreditTypesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.GlobalAdvisoryIdentifiersTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.GlobalAdvisoryIdentifiersTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.GlobalAdvisoryTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.GlobalAdvisoryTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.GlobalAdvisorySeverityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.GlobalAdvisorySeverityNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.GlobalAdvisoryIdentifierTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.GlobalAdvisoryIdentifierTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.AppPermissionsActionsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.AppPermissionsActionsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.AppPermissionsAdministrationJsonConverter), @@ -136,14 +136,14 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.SimpleClassroomAssignmentTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertSecurityVulnerabilitySeverityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertSecurityVulnerabilitySeverityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertSecurityAdvisoryIdentifiersTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertSecurityAdvisoryIdentifiersTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertSecurityAdvisorySeverityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertSecurityAdvisorySeverityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertWithRepositoryDependencyScopeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertWithRepositoryDependencyScopeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertSecurityAdvisoryIdentifierTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertSecurityAdvisoryIdentifierTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertWithRepositoryStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertWithRepositoryStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertWithRepositoryDependencyScopeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertWithRepositoryDependencyScopeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertWithRepositoryDismissedReasonJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertWithRepositoryDismissedReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SecretScanningAlertStateJsonConverter), @@ -198,8 +198,6 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.CodeScanningAlertRuleSummarySecuritySeverityLevelNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningAlertClassificationJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningAlertClassificationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningAlertInstanceClassificationsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningAlertInstanceClassificationsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeSecurityConfigurationTargetTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeSecurityConfigurationTargetTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeSecurityConfigurationAdvancedSecurityJsonConverter), @@ -300,12 +298,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleDeletionTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleRequiredLinearHistoryTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleRequiredLinearHistoryTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleMergeQueueTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleMergeQueueTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategyJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleMergeQueueParametersGroupingStrategyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleMergeQueueParametersMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleMergeQueueParametersMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleMergeQueueTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleMergeQueueTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleRequiredDeploymentsTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleRequiredDeploymentsTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleRequiredSignaturesTypeJsonConverter), @@ -316,26 +314,26 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleRequiredStatusChecksTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleNonFastForwardTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleNonFastForwardTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitMessagePatternParametersOperatorJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitMessagePatternParametersOperatorNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitMessagePatternTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitMessagePatternTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitAuthorEmailPatternParametersOperatorJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitAuthorEmailPatternParametersOperatorNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitMessagePatternParametersOperatorJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitMessagePatternParametersOperatorNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitAuthorEmailPatternTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitAuthorEmailPatternTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitterEmailPatternParametersOperatorJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitterEmailPatternParametersOperatorNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitAuthorEmailPatternParametersOperatorJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitAuthorEmailPatternParametersOperatorNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitterEmailPatternTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitterEmailPatternTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleBranchNamePatternParametersOperatorJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleBranchNamePatternParametersOperatorNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitterEmailPatternParametersOperatorJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleCommitterEmailPatternParametersOperatorNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleBranchNamePatternTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleBranchNamePatternTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleTagNamePatternParametersOperatorJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleTagNamePatternParametersOperatorNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleBranchNamePatternParametersOperatorJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleBranchNamePatternParametersOperatorNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleTagNamePatternTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleTagNamePatternTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleTagNamePatternParametersOperatorJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleTagNamePatternParametersOperatorNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleWorkflowsTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleWorkflowsTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleParamsCodeScanningToolAlertsThresholdJsonConverter), @@ -358,24 +356,24 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.RepositoryRulesetSourceTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRulesetCurrentUserCanBypassJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRulesetCurrentUserCanBypassNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RuleSuitesResultJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RuleSuitesResultNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RuleSuitesEvaluationResultJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RuleSuitesEvaluationResultNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteRuleEvaluationsEnforcementJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteRuleEvaluationsEnforcementNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteRuleEvaluationsResultJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteRuleEvaluationsResultNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteResultJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteResultNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteEvaluationResultJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteEvaluationResultNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteResult2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteResult2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteEvaluationResult2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteEvaluationResult2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteRuleEvaluationEnforcementJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteRuleEvaluationEnforcementNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteRuleEvaluationResultJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RuleSuiteRuleEvaluationResultNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryAdvisoryCreditStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryAdvisoryCreditStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryAdvisoryIdentifiersTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.RepositoryAdvisoryIdentifiersTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryAdvisorySeverityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryAdvisorySeverityNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryAdvisoryIdentifierTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.RepositoryAdvisoryIdentifierTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryAdvisoryStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryAdvisoryStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamFullPrivacyJsonConverter), @@ -388,12 +386,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.TeamMembershipRoleNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamMembershipStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamMembershipStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.JobStepsStatusJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.JobStepsStatusNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.JobStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.JobStatusNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.JobConclusionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.JobConclusionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.JobStepStatusJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.JobStepStatusNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActionsWorkflowAccessToRepositoryAccessLevelJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActionsWorkflowAccessToRepositoryAccessLevelNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.EnvironmentApprovalsStateJsonConverter), @@ -426,22 +424,24 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.CodeScanningVariantAnalysisLanguageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningVariantAnalysisStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningVariantAnalysisStatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeScanningVariantAnalysisStatus2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeScanningVariantAnalysisStatus2NullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningVariantAnalysisFailureReasonJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningVariantAnalysisFailureReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupLanguageJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupLanguageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupQuerySuiteJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupQuerySuiteNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupScheduleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupScheduleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupLanguagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupLanguagesNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupUpdateStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupUpdateStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupUpdateQuerySuiteJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupUpdateQuerySuiteNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupUpdateLanguagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupUpdateLanguagesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupUpdateLanguageJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeScanningDefaultSetupUpdateLanguageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningSarifsStatusProcessingStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningSarifsStatusProcessingStatusNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodespaceMachinePrebuildAvailabilityJsonConverter), @@ -452,24 +452,24 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.AutoMergeMergeMethodNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CommitComparisonStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CommitComparisonStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ContentDirectoryTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ContentDirectoryTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ContentDirectoryItemTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ContentDirectoryItemTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ContentFileTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ContentFileTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ContentSymlinkTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ContentSymlinkTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ContentSubmoduleTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ContentSubmoduleTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertDependencyScopeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertDependencyScopeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertDependencyScopeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertDependencyScopeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertDismissedReasonJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotAlertDismissedReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffChangeTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffChangeTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffScopeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffScopeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffItemChangeTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffItemChangeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffItemScopeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffItemScopeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependencyRelationshipJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependencyRelationshipNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependencyScopeJsonConverter), @@ -576,42 +576,50 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.CheckRunWithSimpleCheckSuiteConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CheckRunWithSimpleCheckSuiteStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CheckRunWithSimpleCheckSuiteStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewersReviewerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewersReviewerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewersTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewersTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewerReviewerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewerReviewerTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksAnswerUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksAnswerUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksAnswerAuthorAssociationJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksAnswerAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksAnswerUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksAnswerUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DiscussionAnswerChosenByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DiscussionAnswerChosenByTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DiscussionUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DiscussionUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DiscussionAuthorAssociationJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DiscussionAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DiscussionStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DiscussionStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DiscussionStateReasonJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DiscussionStateReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksCommentUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksCommentUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DiscussionUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DiscussionUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksCommentAuthorAssociationJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksCommentAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksCommentUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksCommentUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksRepositorySelectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksRepositorySelectionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueCommentUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueCommentUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueCommentAuthorAssociationJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueCommentAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueCommentUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueCommentUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueMilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueMilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssuePerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssuePerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssuePerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssuePerformedViaGithubAppPermissionsActionsJsonConverter), @@ -684,28 +692,28 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssueUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksMilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksMilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2ActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2ActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2AssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2AssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2AssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2AssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2AuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2AuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2MilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2MilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2MilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2MilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2PerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2PerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2PerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2PerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2PerformedViaGithubAppPermissionsActionsJsonConverter), @@ -778,18 +786,10 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2PerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2PerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2PerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2PerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2PerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2UserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2UserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2AssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2AssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2ActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2ActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2AuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2AuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2StateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2StateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2UserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksIssue2UserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksUserMannequinTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksUserMannequinTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksMarketplacePurchasePlanPriceModelJsonConverter), @@ -846,18 +846,24 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.PullRequestWebhookVariant2SquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.PullRequestWebhookVariant2SquashMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.PullRequestWebhookVariant2SquashMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5ActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5ActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseRepoSquashMergeCommitTitleJsonConverter), @@ -866,12 +872,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5BaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5HeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5HeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5HeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5HeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5HeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5HeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5HeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5HeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5HeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5HeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5HeadRepoSquashMergeCommitTitleJsonConverter), @@ -886,22 +892,20 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5MilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5MilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5MilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5UserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5UserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5ActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5ActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5AuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5RequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5StateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5StateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewCommentUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewCommentUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5UserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksPullRequest5UserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewCommentAuthorAssociationJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewCommentAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewCommentSideJsonConverter), @@ -910,22 +914,24 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewCommentStartSideNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewCommentSubjectTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewCommentSubjectTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewCommentUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewCommentUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewAuthorAssociationJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksReviewUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAssetStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAssetStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAssetUploaderTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAssetUploaderTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAuthorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAuthorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAssetsUploaderTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAssetsUploaderTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAssetsStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksReleaseAssetsStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AssetStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AssetStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AssetUploaderTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AssetUploaderTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AuthorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AuthorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AssetsUploaderTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AssetsUploaderTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AssetsStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhooksRelease1AssetsStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksAlertDismisserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksAlertDismisserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhooksAlertStateJsonConverter), @@ -954,6 +960,8 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookBranchProtectionRuleCreatedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookBranchProtectionRuleDeletedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookBranchProtectionRuleDeletedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookBranchProtectionRuleEditedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookBranchProtectionRuleEditedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevelFromJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevelFromNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFromJsonConverter), @@ -962,8 +970,6 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFromNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevelFromJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevelFromNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookBranchProtectionRuleEditedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookBranchProtectionRuleEditedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckRunCompletedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckRunCompletedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckRunCreatedActionJsonConverter), @@ -972,6 +978,10 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckRunRequestedActionActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckRunRerequestedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckRunRerequestedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsActionsJsonConverter), @@ -1044,14 +1054,14 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteAppEventsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteConclusionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedCheckSuiteStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteCompletedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsActionsJsonConverter), @@ -1124,14 +1134,14 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteAppEventsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteConclusionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedCheckSuiteStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRequestedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsActionsJsonConverter), @@ -1204,80 +1214,76 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteAppEventsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteConclusionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedCheckSuiteStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCheckSuiteRerequestedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchAlertDismissedByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchAlertDismissedByTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchAlertDismissedReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchAlertDismissedReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchAlertRuleSeverityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchAlertRuleSeverityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchAlertDismissedReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchAlertDismissedReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchAlertStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchAlertStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertAppearedInBranchActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserAlertDismissedByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserAlertDismissedByTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserAlertDismissedReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserAlertDismissedReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserAlertRuleSeverityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserAlertRuleSeverityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserAlertDismissedReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserAlertDismissedReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserAlertStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserAlertStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertClosedByUserActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertCreatedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertCreatedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertCreatedAlertRuleSeverityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertCreatedAlertRuleSeverityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertCreatedAlertStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertCreatedAlertStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertCreatedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertCreatedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedAlertDismissedByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedAlertDismissedByTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedAlertDismissedReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedAlertDismissedReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedAlertMostRecentInstanceStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedAlertMostRecentInstanceStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedAlertRuleSeverityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedAlertRuleSeverityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedAlertDismissedReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedAlertDismissedReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedAlertStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedAlertStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertFixedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedAlertRuleSeverityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedAlertRuleSeverityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedAlertStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedAlertStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedByUserActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedByUserActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedByUserAlertRuleSeverityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedByUserAlertRuleSeverityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedByUserAlertStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedByUserAlertStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedByUserActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCodeScanningAlertReopenedByUserActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCommitCommentCreatedCommentUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCommitCommentCreatedCommentUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCommitCommentCreatedCommentAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookCommitCommentCreatedCommentAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCommitCommentCreatedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCommitCommentCreatedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCommitCommentCreatedCommentAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCommitCommentCreatedCommentAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCommitCommentCreatedCommentUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookCommitCommentCreatedCommentUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCreateRefTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCreateRefTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookCustomPropertyCreatedActionJsonConverter), @@ -1308,8 +1314,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookDeployKeyCreatedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeployKeyDeletedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeployKeyDeletedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedDeploymentCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedDeploymentCreatorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsActionsJsonConverter), @@ -1382,68 +1392,60 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEventsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedWorkflowRunActorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedWorkflowRunActorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedWorkflowRunTriggeringActorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedWorkflowRunTriggeringActorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedWorkflowRunConclusionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedWorkflowRunConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedWorkflowRunStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedWorkflowRunStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedWorkflowRunTriggeringActorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentCreatedWorkflowRunTriggeringActorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentProtectionRuleRequestedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentProtectionRuleRequestedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedWorkflowRunActorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedWorkflowRunActorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedWorkflowRunTriggeringActorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedWorkflowRunTriggeringActorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedWorkflowRunConclusionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedWorkflowRunConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedWorkflowRunStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedWorkflowRunStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedReviewersReviewerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedReviewersReviewerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedReviewersTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedReviewersTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedWorkflowRunTriggeringActorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewApprovedWorkflowRunTriggeringActorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedWorkflowRunActorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedWorkflowRunActorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedWorkflowRunTriggeringActorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedWorkflowRunTriggeringActorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedWorkflowRunConclusionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedWorkflowRunConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedWorkflowRunStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedWorkflowRunStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedReviewersReviewerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedReviewersReviewerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedReviewersTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedReviewersTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedWorkflowRunTriggeringActorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRejectedWorkflowRunTriggeringActorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedReviewerReviewerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedReviewerReviewerTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedReviewerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedReviewerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedWorkflowRunActorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedWorkflowRunActorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedWorkflowRunTriggeringActorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedWorkflowRunTriggeringActorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedWorkflowRunConclusionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedWorkflowRunConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedWorkflowRunStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedWorkflowRunStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedReviewersReviewerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedReviewersReviewerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedReviewersTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedReviewersTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedWorkflowRunTriggeringActorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentReviewRequestedWorkflowRunTriggeringActorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedCheckRunConclusionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedCheckRunConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedCheckRunStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedCheckRunStatusNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentCreatorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsActionsJsonConverter), @@ -1516,10 +1518,10 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEventsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusCreatorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsActionsJsonConverter), @@ -1592,18 +1594,14 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEventsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedWorkflowRunActorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedWorkflowRunActorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedWorkflowRunTriggeringActorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedWorkflowRunTriggeringActorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedWorkflowRunConclusionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedWorkflowRunConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedWorkflowRunStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedWorkflowRunStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedWorkflowRunTriggeringActorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookDeploymentStatusCreatedWorkflowRunTriggeringActorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDiscussionAnsweredActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDiscussionAnsweredActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDiscussionCategoryChangedActionJsonConverter), @@ -1640,14 +1638,14 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookDiscussionUnlockedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDiscussionUnpinnedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookDiscussionUnpinnedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookForkForkeeOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookForkForkeeOwnerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookForkForkeeVisibilityJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookForkForkeeVisibilityNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookForkForkeeVariant1OwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookForkForkeeVariant1OwnerTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookForkForkeeVariant1VisibilityJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookForkForkeeVariant1VisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookGithubAppAuthorizationRevokedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookGithubAppAuthorizationRevokedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookGollumPagesActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookGollumPagesActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookGollumPageActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookGollumPageActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookInstallationCreatedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookInstallationCreatedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookInstallationDeletedActionJsonConverter), @@ -1664,386 +1662,410 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookInstallationTargetRenamedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookInstallationUnsuspendActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookInstallationUnsuspendActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedCommentUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedCommentUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedCommentAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedCommentAuthorAssociationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueAssigneeTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueAssigneeTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueMilestoneCreatorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueMilestoneCreatorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueMilestoneStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActionsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministrationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecksNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmailsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssuesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeysNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembersNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadataNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackagesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPagesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFileNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatusesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueAuthorAssociationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueAssigneeTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueAssigneeTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueMilestoneCreatorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueMilestoneCreatorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueMilestoneStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActionsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministrationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecksNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmailsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssuesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeysNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembersNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadataNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackagesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPagesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFileNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatusesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueAuthorAssociationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedCommentAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedCommentAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedCommentUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedCommentUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1ActiveLockReasonNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1AssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1AuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1AuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1MilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEventNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActionsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecksNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeysNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembersNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPagesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1StateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1StateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1UserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant1UserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant2AssigneeTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant2AssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant2StateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentCreatedIssueVariant2StateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueAssigneeTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueAssigneeTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueMilestoneCreatorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueMilestoneCreatorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueMilestoneStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActionsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministrationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecksNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmailsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssuesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeysNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembersNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadataNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackagesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPagesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFileNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatusesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueAuthorAssociationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1ActiveLockReasonNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1AssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1AuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1AuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1MilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEventNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActionsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecksNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeysNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembersNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPagesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1StateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1StateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1UserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant1UserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant2AssigneeTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant2AssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant2StateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentDeletedIssueVariant2StateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1ActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1ActiveLockReasonNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1AssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1AuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1AuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1MilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEventNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActionsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecksNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeysNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembersNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPagesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1StateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1StateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1UserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant1UserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant2AssigneeTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant2AssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant2StateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssueCommentEditedIssueVariant2StateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesAssignedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesAssignedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueAssigneeTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueAssigneeTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueMilestoneCreatorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueMilestoneCreatorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueMilestoneStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActionsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministrationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecksNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmailsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssuesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeysNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembersNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadataNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackagesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPagesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFileNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatusesNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueAuthorAssociationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1ActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1ActiveLockReasonNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1AssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1AuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1AuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneCreatorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1MilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEventNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActionsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministrationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecksNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferencesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeploymentsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussionsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmailsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironmentsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssuesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeysNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembersNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadataNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministrationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooksNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackagesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlanNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjectsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecretsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunnersNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlockingNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackagesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPagesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequestsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooksNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjectsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlertsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEventsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlertNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFileNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatusesNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussionsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1StateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1StateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1UserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant1UserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant2StateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesClosedIssueVariant2StateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueMilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueMilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsActionsJsonConverter), @@ -2116,26 +2138,26 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDeletedIssueUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueMilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueMilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsActionsJsonConverter), @@ -2208,26 +2230,26 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesDemilestonedIssueUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueMilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueMilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsActionsJsonConverter), @@ -2300,26 +2322,26 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAssigneeTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesEditedIssueUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueActiveLockReasonNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAssigneeTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueMilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueMilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsActionsJsonConverter), @@ -2392,26 +2414,26 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLabeledIssueUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueMilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueMilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsActionsJsonConverter), @@ -2484,26 +2506,26 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesLockedIssueUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueMilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueMilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsActionsJsonConverter), @@ -2576,26 +2598,26 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesMilestonedIssueUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueMilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueMilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsActionsJsonConverter), @@ -2668,28 +2690,28 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldIssueUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldRepositoryOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldRepositoryVisibilityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedChangesOldRepositoryVisibilityNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueMilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueMilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsActionsJsonConverter), @@ -2762,28 +2784,28 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesOpenedIssueUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesPinnedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesPinnedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueMilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueMilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsActionsJsonConverter), @@ -2856,26 +2878,26 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesReopenedIssueUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueMilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueMilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsActionsJsonConverter), @@ -2948,34 +2970,34 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewIssueUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewRepositoryOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewRepositoryVisibilityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredChangesNewRepositoryVisibilityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesTransferredActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnassignedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnassignedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlabeledActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlabeledActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueMilestoneCreatorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueMilestoneStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsActionsJsonConverter), @@ -3048,20 +3070,10 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsVulnerabilityAlertsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsWorkflowsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsWorkflowsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssuePerformedViaGithubAppEventsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnlockedIssueUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnpinnedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookIssuesUnpinnedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookLabelCreatedActionJsonConverter), @@ -3072,52 +3084,52 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookLabelEditedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchaseCancelledActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchaseCancelledActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchasePlanPriceModelJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchasePlanPriceModelNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchaseChangedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchaseChangedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchasePlanPriceModelJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchasePlanPriceModelNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchasePlanPriceModelJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchasePlanPriceModelNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePendingChangeActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePendingChangeActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchasePlanPriceModelJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchasePlanPriceModelNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchasePlanPriceModelJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchasePlanPriceModelNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePendingChangeCancelledActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePendingChangeCancelledActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchasePlanPriceModelJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchasePlanPriceModelNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePurchasedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMarketplacePurchasePurchasedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMemberAddedChangesPermissionToJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMemberAddedChangesPermissionToNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMemberAddedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMemberAddedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMemberAddedChangesPermissionToJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMemberAddedChangesPermissionToNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMemberEditedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMemberEditedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMemberRemovedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMemberRemovedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipAddedSenderTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipAddedSenderTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipAddedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipAddedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipAddedScopeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipAddedScopeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipRemovedSenderTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipRemovedSenderTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipAddedSenderTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipAddedSenderTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipRemovedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipRemovedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipRemovedScopeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipRemovedScopeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipRemovedSenderTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMembershipRemovedSenderTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMergeGroupChecksRequestedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMergeGroupChecksRequestedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMergeGroupDestroyedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMergeGroupDestroyedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMergeGroupDestroyedReasonJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMergeGroupDestroyedReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMetaDeletedHookConfigContentTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMetaDeletedHookConfigContentTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMetaDeletedHookEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookMetaDeletedHookEventsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMetaDeletedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMetaDeletedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMetaDeletedHookConfigContentTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMetaDeletedHookConfigContentTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMetaDeletedHookEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookMetaDeletedHookEventNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMilestoneClosedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMilestoneClosedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookMilestoneCreatedActionJsonConverter), @@ -3136,30 +3148,30 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookOrganizationDeletedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookOrganizationMemberAddedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookOrganizationMemberAddedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookOrganizationMemberInvitedInvitationInviterTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookOrganizationMemberInvitedInvitationInviterTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookOrganizationMemberInvitedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookOrganizationMemberInvitedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookOrganizationMemberInvitedInvitationInviterTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookOrganizationMemberInvitedInvitationInviterTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookOrganizationMemberRemovedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookOrganizationMemberRemovedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookOrganizationRenamedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookOrganizationRenamedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPackagePublishedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPackagePublishedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPackagePublishedPackageOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPackagePublishedPackageOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPackagePublishedPackagePackageVersionAuthorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPackagePublishedPackagePackageVersionAuthorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPackagePublishedPackagePackageVersionReleaseAuthorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPackagePublishedPackagePackageVersionReleaseAuthorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPackagePublishedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPackagePublishedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPackageUpdatedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPackageUpdatedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPackageUpdatedPackageOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPackageUpdatedPackageOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPackageUpdatedPackagePackageVersionAuthorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPackageUpdatedPackagePackageVersionAuthorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPackageUpdatedPackagePackageVersionReleaseAuthorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPackageUpdatedPackagePackageVersionReleaseAuthorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPackageUpdatedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPackageUpdatedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPageBuildBuildPusherTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPageBuildBuildPusherTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPersonalAccessTokenRequestApprovedActionJsonConverter), @@ -3176,16 +3188,16 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardConvertedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardCreatedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardCreatedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardDeletedProjectCardCreatorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardDeletedProjectCardCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardDeletedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardDeletedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardDeletedProjectCardCreatorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardDeletedProjectCardCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardEditedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardEditedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardMovedProjectCardCreatorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardMovedProjectCardCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardMovedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardMovedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardMovedProjectCardVariant1CreatorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectCardMovedProjectCardVariant1CreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectClosedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectClosedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectColumnCreatedActionJsonConverter), @@ -3232,24 +3244,32 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectsV2StatusUpdateCreatedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectsV2StatusUpdateDeletedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectsV2StatusUpdateDeletedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectsV2StatusUpdateEditedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectsV2StatusUpdateEditedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFromJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusFromNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusToJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectsV2StatusUpdateEditedChangesStatusToNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectsV2StatusUpdateEditedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookProjectsV2StatusUpdateEditedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -3258,12 +3278,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -3278,34 +3298,40 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAssignedPullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -3314,12 +3340,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -3334,34 +3360,40 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeDisabledPullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -3370,12 +3402,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -3390,56 +3422,46 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedPullRequestMergeCommitTitleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedPullRequestSquashMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestAutoMergeEnabledPullRequestUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestClosedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitleNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestConvertedToDraftActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDemilestonedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDemilestonedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -3448,12 +3470,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -3468,44 +3490,42 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedPullRequestMergeCommitTitleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedPullRequestSquashMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestDequeuedPullRequestUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEditedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -3514,12 +3534,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -3534,34 +3554,40 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestEnqueuedPullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -3570,12 +3596,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -3590,34 +3616,40 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLabeledPullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -3626,12 +3658,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -3646,56 +3678,30 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestLockedPullRequestUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestMilestonedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestMilestonedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedPullRequestMergeCommitTitleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitleNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestOpenedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitleNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReadyForReviewActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedPullRequestMergeCommitTitleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitleNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReopenedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedCommentUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedCommentUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedCommentAuthorAssociationJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedCommentAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedCommentSideJsonConverter), @@ -3704,18 +3710,26 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedCommentStartSideNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedCommentSubjectTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedCommentSubjectTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedCommentUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedCommentUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -3724,12 +3738,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -3742,34 +3756,40 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentCreatedPullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -3778,12 +3798,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -3796,34 +3816,40 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentDeletedPullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -3832,12 +3858,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -3850,34 +3876,40 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewCommentEditedPullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -3886,12 +3918,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -3904,30 +3936,36 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedReviewUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedReviewUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedPullRequestUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedReviewAuthorAssociationJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedReviewAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedReviewStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedReviewStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedReviewUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewDismissedReviewUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAutoMergeMergeMethodJsonConverter), @@ -3948,34 +3986,40 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewEditedPullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1ActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1ActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -3984,12 +4028,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -4004,36 +4048,42 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1ActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant1ActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2ActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2ActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -4042,12 +4092,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -4062,38 +4112,44 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamParentPrivacyJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamParentPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamPrivacyJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2ActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestRemovedVariant2ActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1ActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1ActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -4102,12 +4158,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -4122,36 +4178,42 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1PullRequestUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1RequestedReviewerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1RequestedReviewerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1ActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant1ActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2ActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2ActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -4160,12 +4222,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -4180,38 +4242,44 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2PullRequestUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2RequestedTeamParentPrivacyJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2RequestedTeamParentPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2RequestedTeamPrivacyJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2RequestedTeamPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2ActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewRequestedVariant2ActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -4220,12 +4288,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -4238,24 +4306,30 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewSubmittedPullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeMergeMethodJsonConverter), @@ -4276,34 +4350,40 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSideJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSideNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSideNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedPullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSideJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSideNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentStartSideJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentStartSideNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadResolvedThreadCommentUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeMergeMethodJsonConverter), @@ -4324,44 +4404,50 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSideNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSideNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedPullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSideJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSideNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSideNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizeActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizeActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -4370,12 +4456,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -4390,34 +4476,40 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizeActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizeActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestSynchronizePullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -4426,12 +4518,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -4446,34 +4538,40 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnassignedPullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -4482,12 +4580,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -4502,34 +4600,40 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlabeledPullRequestUserTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestActiveLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestActiveLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneeTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneeTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneeType2JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneeType2NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAuthorAssociationJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAuthorAssociationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAutoMergeEnabledByTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAutoMergeEnabledByTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAutoMergeMergeMethodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAutoMergeMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseRepoSquashMergeCommitTitleJsonConverter), @@ -4538,12 +4642,12 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseRepoVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseUserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestBaseUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestHeadRepoOwnerTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestHeadRepoMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestHeadRepoMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestHeadRepoMergeCommitTitleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestHeadRepoMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestHeadRepoOwnerTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestHeadRepoOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestHeadRepoSquashMergeCommitMessageJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestHeadRepoSquashMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestHeadRepoSquashMergeCommitTitleJsonConverter), @@ -4558,22 +4662,20 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestMilestoneCreatorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestMilestoneStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestMilestoneStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestUserTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAssigneesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestActiveLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestActiveLockReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAuthorAssociationJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestAuthorAssociationNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1TypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2PrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacyNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookPullRequestUnlockedPullRequestUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPushRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPushRepositoryOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookPushRepositoryVisibilityJsonConverter), @@ -4588,14 +4690,14 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookReleaseDeletedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookReleaseEditedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookReleaseEditedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAuthorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAuthorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAssetsUploaderTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAssetsUploaderTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAssetsStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAssetsStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAssetStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAssetStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAssetUploaderTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAssetUploaderTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAuthorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePrereleasedReleaseAuthorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePublishedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookReleasePublishedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookReleaseReleasedActionJsonConverter), @@ -4626,32 +4728,30 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryRulesetCreatedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryRulesetDeletedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryRulesetDeletedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryRulesetEditedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryRulesetEditedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryTransferredChangesOwnerFromUserTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryTransferredChangesOwnerFromUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryTransferredActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryTransferredActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryTransferredChangesOwnerFromUserTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryTransferredChangesOwnerFromUserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryUnarchivedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryUnarchivedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertCreateActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertCreateActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertDismissActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertDismissActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertDismissAlertDismisserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertDismissAlertDismisserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertDismissAlertStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertDismissAlertStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertDismissActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertDismissActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertReopenActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertReopenActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertResolveActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertResolveActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertResolveAlertDismisserTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertResolveAlertDismisserTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertResolveAlertStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertResolveAlertStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertResolveActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookRepositoryVulnerabilityAlertResolveActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookSecretScanningAlertCreatedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookSecretScanningAlertCreatedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookSecretScanningAlertLocationCreatedActionJsonConverter), @@ -4692,158 +4792,126 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.WebhookStatusCommitCommitterTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookStatusStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookStatusStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamAddedToRepositoryActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamAddedToRepositoryActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamAddedToRepositoryRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamAddedToRepositoryRepositoryOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamAddedToRepositoryRepositoryVisibilityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamAddedToRepositoryRepositoryVisibilityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamAddedToRepositoryActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamAddedToRepositoryActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamCreatedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamCreatedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamCreatedRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamCreatedRepositoryOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamCreatedRepositoryVisibilityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamCreatedRepositoryVisibilityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamCreatedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamCreatedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamDeletedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamDeletedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamDeletedRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamDeletedRepositoryOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamDeletedRepositoryVisibilityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamDeletedRepositoryVisibilityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamDeletedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamDeletedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamEditedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamEditedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamEditedRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamEditedRepositoryOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamEditedRepositoryVisibilityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamEditedRepositoryVisibilityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamEditedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamEditedActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamRemovedFromRepositoryActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamRemovedFromRepositoryActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamRemovedFromRepositoryRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamRemovedFromRepositoryRepositoryOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamRemovedFromRepositoryRepositoryVisibilityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamRemovedFromRepositoryRepositoryVisibilityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamRemovedFromRepositoryActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookTeamRemovedFromRepositoryActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWatchStartedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWatchStartedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsConclusionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsConclusionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsStatusJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStepsStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobConclusionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobConclusionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStatusJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobStatusNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsConclusionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsConclusionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsStatusJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStepsStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobConclusionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobConclusionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStatusJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobStatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1ConclusionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StatusJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobCompletedWorkflowJobVariant2ConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsConclusionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsConclusionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsStatusJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepsStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStatusJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1ConclusionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StatusJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StatusJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatusNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsConclusionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsConclusionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsStatusJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepsStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStatusJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStatusJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepConclusionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepConclusionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepStatusJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobQueuedWorkflowJobStepStatusNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingActionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStatusJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepConclusionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepConclusionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepStatusJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowJobWaitingWorkflowJobStepStatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunActorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunActorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunConclusionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunHeadRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunHeadRepositoryOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunRepositoryOwnerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunTriggeringActorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunTriggeringActorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunConclusionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunActorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunActorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunTriggeringActorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunCompletedWorkflowRunTriggeringActorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunActorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunActorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunConclusionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunHeadRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunHeadRepositoryOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunRepositoryOwnerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunTriggeringActorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunTriggeringActorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunConclusionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunTriggeringActorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunInProgressWorkflowRunTriggeringActorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunActorTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunActorTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunConclusionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunHeadRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunHeadRepositoryOwnerTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunRepositoryOwnerTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunRepositoryOwnerTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunTriggeringActorTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunTriggeringActorTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunConclusionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunConclusionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunStatusNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesEcosystemJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesEcosystemNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesSeverityJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesSeverityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesDirectionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesDirectionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesSortJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesSortNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForEnterpriseScopeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForEnterpriseScopeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForEnterpriseSortJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForEnterpriseSortNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForEnterpriseDirectionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForEnterpriseDirectionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForEnterpriseStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForEnterpriseStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForEnterpriseSortJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForEnterpriseSortNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForEnterpriseDirectionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForEnterpriseDirectionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunTriggeringActorTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.WebhookWorkflowRunRequestedWorkflowRunTriggeringActorTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.GistsCreateRequestPublicJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.GistsCreateRequestPublicNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesListFilterJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesListFilterNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesListStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesListStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesListSortJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesListSortNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesListDirectionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesListDirectionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.MarkdownRenderRequestModeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.MarkdownRenderRequestModeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanSortJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanSortNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanDirectionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanDirectionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanStubbedSortJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanStubbedSortNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanStubbedDirectionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanStubbedDirectionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdateRequestDefaultRepositoryPermissionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdateRequestDefaultRepositoryPermissionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdateRequestMembersAllowedRepositoryCreationTypeJsonConverter), @@ -4854,16 +4922,6 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.ActionsCreateOrgVariableRequestVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActionsUpdateOrgVariableRequestVisibilityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActionsUpdateOrgVariableRequestVisibilityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForOrgDirectionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForOrgDirectionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForOrgStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForOrgStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForOrgSortJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForOrgSortNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForOrgSeverityJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForOrgSeverityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeSecurityGetConfigurationsForOrgTargetTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeSecurityGetConfigurationsForOrgTargetTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeSecurityCreateConfigurationRequestAdvancedSecurityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeSecurityCreateConfigurationRequestDependencyGraphJsonConverter), @@ -4908,26 +4966,258 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.CodeSecurityAttachConfigurationRequestScopeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewReposNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodespacesSetCodespacesAccessRequestVisibilityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodespacesSetCodespacesAccessRequestVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateOrUpdateOrgSecretRequestVisibilityJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateOrUpdateOrgSecretRequestVisibilityNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotCreateOrUpdateOrgSecretRequestVisibilityJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotCreateOrUpdateOrgSecretRequestVisibilityNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsCreateInvitationRequestRoleJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsCreateInvitationRequestRoleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsSetMembershipForUserRequestRoleJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsSetMembershipForUserRequestRoleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsStartForOrgRequestExcludeItemJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsStartForOrgRequestExcludeItemNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsReviewPatGrantRequestsInBulkRequestActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsReviewPatGrantRequestsInBulkRequestActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsReviewPatGrantRequestRequestActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsReviewPatGrantRequestRequestActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdatePatAccessesRequestActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdatePatAccessesRequestActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdatePatAccessRequestActionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdatePatAccessRequestActionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsCreateOrUpdateCustomPropertyRequestValueTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsCreateOrUpdateCustomPropertyRequestValueTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestVisibilityJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestVisibilityNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestSquashMergeCommitTitleJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestSquashMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestSquashMergeCommitMessageJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestSquashMergeCommitMessageNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestMergeCommitTitleJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestMergeCommitMessageJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestMergeCommitMessageNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateOrgRulesetRequestTargetJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateOrgRulesetRequestTargetNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateOrgRulesetRequestTargetJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateOrgRulesetRequestTargetNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsCreateRequestPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsCreateRequestPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsCreateRequestNotificationSettingJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsCreateRequestNotificationSettingNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsCreateRequestPermissionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsCreateRequestPermissionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateInOrgRequestPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateInOrgRequestPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateInOrgRequestNotificationSettingJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateInOrgRequestNotificationSettingNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateInOrgRequestPermissionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateInOrgRequestPermissionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionCommentInOrgRequestContentJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionCommentInOrgRequestContentNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionInOrgRequestContentJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionInOrgRequestContentNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateMembershipForUserInOrgRequestRoleJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateMembershipForUserInOrgRequestRoleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateProjectPermissionsInOrgRequestPermissionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateProjectPermissionsInOrgRequestPermissionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuiteNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ProjectsUpdateRequestOrganizationPermissionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ProjectsUpdateRequestOrganizationPermissionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ProjectsAddCollaboratorRequestPermissionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ProjectsAddCollaboratorRequestPermissionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestVisibilityJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestVisibilityNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestSquashMergeCommitTitleJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestSquashMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestSquashMergeCommitMessageJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestSquashMergeCommitMessageNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestMergeCommitTitleJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestMergeCommitMessageJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestMergeCommitMessageNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ActionsReviewPendingDeploymentsForRunRequestStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ActionsReviewPendingDeploymentsForRunRequestStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ChecksCreateRequestStatusJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ChecksCreateRequestStatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ChecksCreateRequestConclusionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ChecksCreateRequestConclusionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ChecksCreateRequestOutputAnnotationAnnotationLevelJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ChecksCreateRequestOutputAnnotationAnnotationLevelNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ChecksUpdateRequestStatusJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ChecksUpdateRequestStatusNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ChecksUpdateRequestConclusionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ChecksUpdateRequestConclusionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ChecksUpdateRequestOutputAnnotationAnnotationLevelJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ChecksUpdateRequestOutputAnnotationAnnotationLevelNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateWithRepoForAuthenticatedUserRequestGeoJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateWithRepoForAuthenticatedUserRequestGeoNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForCommitCommentRequestContentJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForCommitCommentRequestContentNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotUpdateAlertRequestStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotUpdateAlertRequestStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotUpdateAlertRequestDismissedReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotUpdateAlertRequestDismissedReasonNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateDeploymentStatusRequestStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateDeploymentStatusRequestStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.GitCreateTagRequestTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.GitCreateTagRequestTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.GitCreateTreeRequestTreeItemModeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.GitCreateTreeRequestTreeItemModeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.GitCreateTreeRequestTreeItemTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.GitCreateTreeRequestTreeItemTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsStartImportRequestVcsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsStartImportRequestVcsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsUpdateImportRequestVcsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsUpdateImportRequestVcsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsSetLfsPreferenceRequestUseLfsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsSetLfsPreferenceRequestUseLfsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateInvitationRequestPermissionsJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateInvitationRequestPermissionsNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForIssueCommentRequestContentJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForIssueCommentRequestContentNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesUpdateRequestStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesUpdateRequestStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesUpdateRequestStateReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesUpdateRequestStateReasonNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesLockRequestLockReasonJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesLockRequestLockReasonNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForIssueRequestContentJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForIssueRequestContentNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesCreateMilestoneRequestStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesCreateMilestoneRequestStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesUpdateMilestoneRequestStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesUpdateMilestoneRequestStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreatePagesSiteRequestBuildTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreatePagesSiteRequestBuildTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreatePagesSiteRequestSourcePathJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreatePagesSiteRequestSourcePathNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateInformationAboutPagesSiteRequestBuildTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateInformationAboutPagesSiteRequestBuildTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1JsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1NullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2PathNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForPullRequestReviewCommentRequestContentJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForPullRequestReviewCommentRequestContentNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsUpdateRequestStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsUpdateRequestStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateWithPrForAuthenticatedUserRequestGeoJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateWithPrForAuthenticatedUserRequestGeoNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewCommentRequestSideJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewCommentRequestSideNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewCommentRequestStartSideJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewCommentRequestStartSideNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewCommentRequestSubjectTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewCommentRequestSubjectTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsMergeRequestMergeMethodJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsMergeRequestMergeMethodNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewRequestEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewRequestEventNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsDismissReviewRequestEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsDismissReviewRequestEventNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsSubmitReviewRequestEventJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.PullsSubmitReviewRequestEventNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateReleaseRequestMakeLatestJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateReleaseRequestMakeLatestNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateReleaseRequestMakeLatestJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateReleaseRequestMakeLatestNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForReleaseRequestContentJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForReleaseRequestContentNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateRepoRulesetRequestTargetJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateRepoRulesetRequestTargetNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRepoRulesetRequestTargetJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRepoRulesetRequestTargetNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateCommitStatusRequestStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateCommitStatusRequestStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateLegacyRequestPrivacyJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateLegacyRequestPrivacyNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateLegacyRequestNotificationSettingJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateLegacyRequestNotificationSettingNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateLegacyRequestPermissionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateLegacyRequestPermissionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionCommentLegacyRequestContentJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionCommentLegacyRequestContentNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionLegacyRequestContentJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionLegacyRequestContentNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateMembershipForUserLegacyRequestRoleJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateMembershipForUserLegacyRequestRoleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateProjectPermissionsLegacyRequestPermissionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateProjectPermissionsLegacyRequestPermissionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateRepoPermissionsLegacyRequestPermissionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateRepoPermissionsLegacyRequestPermissionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateForAuthenticatedUserRequestVariant1GeoJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateForAuthenticatedUserRequestVariant1GeoNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateForAuthenticatedUserRequestVariant2GeoJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateForAuthenticatedUserRequestVariant2GeoNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequestVisibilityJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequestVisibilityNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdateMembershipForAuthenticatedUserRequestStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdateMembershipForAuthenticatedUserRequestStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeItemJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeItemNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitleJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestSquashMergeCommitMessageJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestSquashMergeCommitMessageNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestMergeCommitTitleJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestMergeCommitTitleNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestMergeCommitMessageJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestMergeCommitMessageNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesTypeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesSeverityJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesSeverityNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesDirectionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesDirectionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesSortJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListGlobalAdvisoriesSortNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForEnterpriseScopeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForEnterpriseScopeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForEnterpriseSortJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForEnterpriseSortNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForEnterpriseDirectionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForEnterpriseDirectionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForEnterpriseStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForEnterpriseStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForEnterpriseSortJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForEnterpriseSortNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForEnterpriseDirectionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForEnterpriseDirectionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesListFilterJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesListFilterNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesListStateJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesListStateNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesListSortJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesListSortNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesListDirectionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.IssuesListDirectionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanSortJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanSortNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanDirectionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanDirectionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanStubbedSortJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanStubbedSortNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanStubbedDirectionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.AppsListAccountsForPlanStubbedDirectionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForOrgDirectionJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForOrgDirectionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForOrgSortJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForOrgSortNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeSecurityGetConfigurationsForOrgTargetTypeJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeSecurityGetConfigurationsForOrgTargetTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForOrgScopeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForOrgScopeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForOrgSortJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForOrgSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForOrgDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForOrgDirectionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotCreateOrUpdateOrgSecretRequestVisibilityJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotCreateOrUpdateOrgSecretRequestVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListPendingInvitationsRoleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListPendingInvitationsRoleNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListPendingInvitationsInvitationSourceJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListPendingInvitationsInvitationSourceNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsCreateInvitationRequestRoleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsCreateInvitationRequestRoleNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListForOrgFilterJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListForOrgFilterNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListForOrgStateJsonConverter), @@ -4940,14 +5230,10 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.OrgsListMembersFilterNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListMembersRoleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListMembersRoleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsSetMembershipForUserRequestRoleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsSetMembershipForUserRequestRoleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsListForOrgExcludeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsListForOrgExcludeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsStartForOrgRequestExcludeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsStartForOrgRequestExcludeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsGetStatusForOrgExcludeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsGetStatusForOrgExcludeNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsListForOrgExcludeItemJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsListForOrgExcludeItemNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsGetStatusForOrgExcludeItemJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.MigrationsGetStatusForOrgExcludeItemNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListOutsideCollaboratorsFilterJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListOutsideCollaboratorsFilterNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.PackagesListPackagesForOrganizationPackageTypeJsonConverter), @@ -4974,50 +5260,22 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.OrgsListPatGrantRequestsSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListPatGrantRequestsDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListPatGrantRequestsDirectionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsReviewPatGrantRequestsInBulkRequestActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsReviewPatGrantRequestsInBulkRequestActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsReviewPatGrantRequestRequestActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsReviewPatGrantRequestRequestActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListPatGrantsSortJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListPatGrantsSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListPatGrantsDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListPatGrantsDirectionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdatePatAccessesRequestActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdatePatAccessesRequestActionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdatePatAccessRequestActionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdatePatAccessRequestActionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ProjectsListForOrgStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ProjectsListForOrgStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsCreateOrUpdateCustomPropertyRequestValueTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsCreateOrUpdateCustomPropertyRequestValueTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListForOrgTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListForOrgTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListForOrgSortJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListForOrgSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListForOrgDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListForOrgDirectionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestVisibilityJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestVisibilityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestSquashMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestSquashMergeCommitTitleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestSquashMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestSquashMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestMergeCommitTitleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateInOrgRequestMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateOrgRulesetRequestTargetJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateOrgRulesetRequestTargetNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposGetOrgRuleSuitesTimePeriodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposGetOrgRuleSuitesTimePeriodNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposGetOrgRuleSuitesRuleSuiteResultJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposGetOrgRuleSuitesRuleSuiteResultNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposGetOrgRuleSuitesResponseResultJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposGetOrgRuleSuitesResponseResultNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposGetOrgRuleSuitesResponseEvaluationResultJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposGetOrgRuleSuitesResponseEvaluationResultNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateOrgRulesetRequestTargetJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateOrgRulesetRequestTargetNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForOrgStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForOrgStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForOrgSortJsonConverter), @@ -5030,58 +5288,24 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListOrgRepositoryAdvisoriesSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListOrgRepositoryAdvisoriesStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListOrgRepositoryAdvisoriesStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsCreateRequestPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsCreateRequestPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsCreateRequestNotificationSettingJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsCreateRequestNotificationSettingNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsCreateRequestPermissionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsCreateRequestPermissionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateInOrgRequestPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateInOrgRequestPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateInOrgRequestNotificationSettingJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateInOrgRequestNotificationSettingNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateInOrgRequestPermissionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateInOrgRequestPermissionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamsListDiscussionsInOrgDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamsListDiscussionsInOrgDirectionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamsListDiscussionCommentsInOrgDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamsListDiscussionCommentsInOrgDirectionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForTeamDiscussionCommentInOrgContentJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForTeamDiscussionCommentInOrgContentNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionCommentInOrgRequestContentJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionCommentInOrgRequestContentNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForTeamDiscussionInOrgContentJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForTeamDiscussionInOrgContentNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionInOrgRequestContentJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionInOrgRequestContentNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamsListMembersInOrgRoleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamsListMembersInOrgRoleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateMembershipForUserInOrgRequestRoleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateMembershipForUserInOrgRequestRoleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateProjectPermissionsInOrgRequestPermissionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateProjectPermissionsInOrgRequestPermissionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProductJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProductNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposEnablementJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsEnableOrDisableSecurityProductOnAllOrgReposEnablementNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ProjectsListCardsArchivedStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ProjectsListCardsArchivedStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ProjectsUpdateRequestOrganizationPermissionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ProjectsUpdateRequestOrganizationPermissionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ProjectsListCollaboratorsAffiliationJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ProjectsListCollaboratorsAffiliationNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ProjectsAddCollaboratorRequestPermissionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ProjectsAddCollaboratorRequestPermissionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestVisibilityJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestVisibilityNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestSquashMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestSquashMergeCommitTitleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestSquashMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestSquashMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestMergeCommitTitleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRequestMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActionsGetActionsCacheListSortJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActionsGetActionsCacheListSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActionsGetActionsCacheListDirectionJsonConverter), @@ -5090,8 +5314,6 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.ActionsListWorkflowRunsForRepoStatusNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActionsListJobsForWorkflowRunFilterJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActionsListJobsForWorkflowRunFilterNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ActionsReviewPendingDeploymentsForRunRequestStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ActionsReviewPendingDeploymentsForRunRequestStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActionsListWorkflowRunsStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActionsListWorkflowRunsStatusNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListActivitiesDirectionJsonConverter), @@ -5108,24 +5330,16 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForRepoDirectionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForRepoSortJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForRepoSortNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForRepoStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForRepoStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForRepoSeverityJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListAlertsForRepoSeverityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListRecentAnalysesDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListRecentAnalysesDirectionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListRecentAnalysesSortJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.CodeScanningListRecentAnalysesSortNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateWithRepoForAuthenticatedUserRequestGeoJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateWithRepoForAuthenticatedUserRequestGeoNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListCollaboratorsAffiliationJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListCollaboratorsAffiliationNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListCollaboratorsPermissionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListCollaboratorsPermissionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForCommitCommentContentJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForCommitCommentContentNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForCommitCommentRequestContentJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForCommitCommentRequestContentNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ChecksListForRefStatusJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ChecksListForRefStatusNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ChecksListForRefFilterJsonConverter), @@ -5136,32 +5350,8 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForRepoSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForRepoDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.DependabotListAlertsForRepoDirectionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotUpdateAlertRequestStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotUpdateAlertRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotUpdateAlertRequestDismissedReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependabotUpdateAlertRequestDismissedReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffRangeResponseChangeTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffRangeResponseChangeTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffRangeResponseScopeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.DependencyGraphDiffRangeResponseScopeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateDeploymentStatusRequestStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateDeploymentStatusRequestStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListForksSortJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListForksSortNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.GitCreateTagRequestTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.GitCreateTagRequestTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.GitCreateTreeRequestTreeModeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.GitCreateTreeRequestTreeModeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.GitCreateTreeRequestTreeTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.GitCreateTreeRequestTreeTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsStartImportRequestVcsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsStartImportRequestVcsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsUpdateImportRequestVcsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsUpdateImportRequestVcsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsSetLfsPreferenceRequestUseLfsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsSetLfsPreferenceRequestUseLfsNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateInvitationRequestPermissionsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateInvitationRequestPermissionsNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListForRepoStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListForRepoStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListForRepoSortJsonConverter), @@ -5174,28 +5364,14 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.IssuesListCommentsForRepoDirectionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForIssueCommentContentJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForIssueCommentContentNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForIssueCommentRequestContentJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForIssueCommentRequestContentNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesUpdateRequestStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesUpdateRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesUpdateRequestStateReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesUpdateRequestStateReasonNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesLockRequestLockReasonJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesLockRequestLockReasonNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForIssueContentJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForIssueContentNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForIssueRequestContentJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForIssueRequestContentNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListMilestonesStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListMilestonesStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListMilestonesSortJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListMilestonesSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListMilestonesDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListMilestonesDirectionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesCreateMilestoneRequestStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesCreateMilestoneRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesUpdateMilestoneRequestStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.IssuesUpdateMilestoneRequestStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ProjectsListForRepoStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ProjectsListForRepoStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.PullsListStateJsonConverter), @@ -5210,50 +5386,16 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.PullsListReviewCommentsForRepoDirectionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForPullRequestReviewCommentContentJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForPullRequestReviewCommentContentNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForPullRequestReviewCommentRequestContentJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForPullRequestReviewCommentRequestContentNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsUpdateRequestStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsUpdateRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateWithPrForAuthenticatedUserRequestGeoJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateWithPrForAuthenticatedUserRequestGeoNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.PullsListReviewCommentsSortJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.PullsListReviewCommentsSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.PullsListReviewCommentsDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.PullsListReviewCommentsDirectionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewCommentRequestSideJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewCommentRequestSideNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewCommentRequestStartSideJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewCommentRequestStartSideNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewCommentRequestSubjectTypeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewCommentRequestSubjectTypeNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsMergeRequestMergeMethodJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsMergeRequestMergeMethodNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewRequestEventJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsCreateReviewRequestEventNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsDismissReviewRequestEventJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsDismissReviewRequestEventNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsSubmitReviewRequestEventJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.PullsSubmitReviewRequestEventNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateReleaseRequestMakeLatestJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateReleaseRequestMakeLatestNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateReleaseRequestMakeLatestJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateReleaseRequestMakeLatestNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForReleaseContentJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForReleaseContentNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForReleaseRequestContentJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForReleaseRequestContentNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateRepoRulesetRequestTargetJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateRepoRulesetRequestTargetNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposGetRepoRuleSuitesTimePeriodJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposGetRepoRuleSuitesTimePeriodNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposGetRepoRuleSuitesRuleSuiteResultJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposGetRepoRuleSuitesRuleSuiteResultNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposGetRepoRuleSuitesResponseResultJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposGetRepoRuleSuitesResponseResultNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposGetRepoRuleSuitesResponseEvaluationResultJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposGetRepoRuleSuitesResponseEvaluationResultNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRepoRulesetRequestTargetJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposUpdateRepoRulesetRequestTargetNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForRepoStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForRepoStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SecretScanningListAlertsForRepoSortJsonConverter), @@ -5266,8 +5408,6 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListRepositoryAdvisoriesSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListRepositoryAdvisoriesStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SecurityAdvisoriesListRepositoryAdvisoriesStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateCommitStatusRequestStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateCommitStatusRequestStateNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposGetClonesPerJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposGetClonesPerNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposGetViewsPerJsonConverter), @@ -5296,38 +5436,16 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.SearchUsersSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SearchUsersOrderJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.SearchUsersOrderNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateLegacyRequestPrivacyJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateLegacyRequestPrivacyNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateLegacyRequestNotificationSettingJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateLegacyRequestNotificationSettingNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateLegacyRequestPermissionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsUpdateLegacyRequestPermissionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamsListDiscussionsLegacyDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamsListDiscussionsLegacyDirectionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamsListDiscussionCommentsLegacyDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamsListDiscussionCommentsLegacyDirectionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForTeamDiscussionCommentLegacyContentJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForTeamDiscussionCommentLegacyContentNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionCommentLegacyRequestContentJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionCommentLegacyRequestContentNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForTeamDiscussionLegacyContentJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReactionsListForTeamDiscussionLegacyContentNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionLegacyRequestContentJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReactionsCreateForTeamDiscussionLegacyRequestContentNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamsListMembersLegacyRoleJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TeamsListMembersLegacyRoleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateMembershipForUserLegacyRequestRoleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateMembershipForUserLegacyRequestRoleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateProjectPermissionsLegacyRequestPermissionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateProjectPermissionsLegacyRequestPermissionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateRepoPermissionsLegacyRequestPermissionJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.TeamsAddOrUpdateRepoPermissionsLegacyRequestPermissionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateForAuthenticatedUserRequestVariant1GeoJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateForAuthenticatedUserRequestVariant1GeoNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateForAuthenticatedUserRequestVariant2GeoJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.CodespacesCreateForAuthenticatedUserRequestVariant2GeoNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequestVisibilityJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequestVisibilityNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListForAuthenticatedUserFilterJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListForAuthenticatedUserFilterNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.IssuesListForAuthenticatedUserStateJsonConverter), @@ -5338,10 +5456,6 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.IssuesListForAuthenticatedUserDirectionNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListMembershipsForAuthenticatedUserStateJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgsListMembershipsForAuthenticatedUserStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdateMembershipForAuthenticatedUserRequestStateJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OrgsUpdateMembershipForAuthenticatedUserRequestStateNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.MigrationsStartForAuthenticatedUserRequestExcludeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.PackagesListPackagesForAuthenticatedUserPackageTypeJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.PackagesListPackagesForAuthenticatedUserPackageTypeNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.PackagesListPackagesForAuthenticatedUserVisibilityJsonConverter), @@ -5370,14 +5484,6 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.ReposListForAuthenticatedUserSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListForAuthenticatedUserDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ReposListForAuthenticatedUserDirectionNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestSquashMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestSquashMergeCommitMessageNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestMergeCommitTitleJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestMergeCommitTitleNullableJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestMergeCommitMessageJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.ReposCreateForAuthenticatedUserRequestMergeCommitMessageNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActivityListReposStarredByAuthenticatedUserSortJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActivityListReposStarredByAuthenticatedUserSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActivityListReposStarredByAuthenticatedUserDirectionJsonConverter), @@ -5414,16 +5520,19 @@ namespace GitHub typeof(global::OpenApiGenerator.JsonConverters.ActivityListReposStarredByUserSortNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActivityListReposStarredByUserDirectionJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.ActivityListReposStarredByUserDirectionNullableJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposJsonConverter), + typeof(global::OpenApiGenerator.JsonConverters.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewReposNullableJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2), typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory3), + typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory5), typeof(global::OpenApiGenerator.JsonConverters.IssueEventForIssueJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.TimelineIssueEventsJsonConverter), - typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2), typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory3), typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory1), + typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory2), typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory13), typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory4), - typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory21), + typeof(global::OpenApiGenerator.JsonConverters.OneOfJsonConverterFactory5), typeof(global::OpenApiGenerator.JsonConverters.WebhookConfigInsecureSslJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.OrgRulesetConditionsJsonConverter), typeof(global::OpenApiGenerator.JsonConverters.RepositoryRuleJsonConverter), diff --git a/src/libs/GitHub/Generated/JsonSerializerContextTypes.g.cs b/src/libs/GitHub/Generated/JsonSerializerContextTypes.g.cs index f0b501e6..114b9e94 100644 --- a/src/libs/GitHub/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/GitHub/Generated/JsonSerializerContextTypes.g.cs @@ -13,20674 +13,26862 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public string? Type0 { get; set; } + public global::GitHub.Root? Type0 { get; set; } /// /// /// - public global::GitHub.VulnerabilityPackage? Type1 { get; set; } + public string? Type1 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2 { get; set; } + public global::GitHub.SecurityAdvisoryEcosystems? Type2 { get; set; } /// /// /// - public global::GitHub.SecurityAdvisoryEcosystems? Type3 { get; set; } + public global::GitHub.Vulnerability? Type3 { get; set; } /// /// /// - public long? Type4 { get; set; } + public global::GitHub.VulnerabilityPackage? Type4 { get; set; } /// /// /// - public bool? Type5 { get; set; } + public global::System.Collections.Generic.IList? Type5 { get; set; } /// /// /// - public global::GitHub.GlobalAdvisoryType? Type6 { get; set; } + public global::GitHub.SimpleUser? Type6 { get; set; } /// /// /// - public global::GitHub.GlobalAdvisorySeverity? Type7 { get; set; } + public long? Type7 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type8 { get; set; } + public bool? Type8 { get; set; } /// /// /// - public global::System.DateTime? Type9 { get; set; } + public global::GitHub.SecurityAdvisoryCreditTypes? Type9 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type10 { get; set; } + public global::GitHub.GlobalAdvisory? Type10 { get; set; } /// /// /// - public global::GitHub.GlobalAdvisoryCvss? Type11 { get; set; } + public global::GitHub.GlobalAdvisoryType? Type11 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type12 { get; set; } + public global::GitHub.GlobalAdvisorySeverity? Type12 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type13 { get; set; } + public global::System.Collections.Generic.IList? Type13 { get; set; } /// /// /// - public double? Type14 { get; set; } + public global::GitHub.GlobalAdvisoryIdentifier? Type14 { get; set; } /// /// /// - public global::GitHub.GlobalAdvisoryIdentifiersType? Type15 { get; set; } + public global::GitHub.GlobalAdvisoryIdentifierType? Type15 { get; set; } /// /// /// - public global::GitHub.SimpleUser? Type16 { get; set; } + public global::System.DateTime? Type16 { get; set; } /// /// /// - public global::GitHub.SecurityAdvisoryCreditTypes? Type17 { get; set; } + public global::System.Collections.Generic.IList? Type17 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type18 { get; set; } + public global::GitHub.GlobalAdvisoryCvss? Type18 { get; set; } /// /// /// - public int? Type19 { get; set; } + public double? Type19 { get; set; } /// /// /// - public global::GitHub.NullableSimpleUser? Type20 { get; set; } + public global::System.Collections.Generic.IList? Type20 { get; set; } /// /// /// - public global::GitHub.IntegrationPermissions? Type21 { get; set; } + public global::GitHub.GlobalAdvisoryCwe? Type21 { get; set; } /// /// /// - public global::System.OneOf? Type22 { get; set; } + public global::System.Collections.Generic.IList? Type22 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type23 { get; set; } + public global::GitHub.GlobalAdvisoryCredit? Type23 { get; set; } /// /// /// - public global::System.OneOf?>? Type24 { get; set; } + public global::GitHub.BasicError? Type24 { get; set; } /// /// /// - public global::GitHub.HookDeliveryRequest? Type25 { get; set; } + public global::GitHub.ValidationErrorSimple? Type25 { get; set; } /// /// /// - public global::GitHub.HookDeliveryResponse? Type26 { get; set; } + public global::GitHub.NullableSimpleUser? Type26 { get; set; } /// /// /// - public object? Type27 { get; set; } + public global::GitHub.Integration? Type27 { get; set; } /// /// /// - public global::System.AnyOf? Type28 { get; set; } + public int? Type28 { get; set; } /// /// /// - public global::GitHub.AppPermissionsActions? Type29 { get; set; } + public global::GitHub.IntegrationPermissions? Type29 { get; set; } /// /// /// - public global::GitHub.AppPermissionsAdministration? Type30 { get; set; } + public global::GitHub.WebhookConfigInsecureSsl? Type30 { get; set; } /// /// /// - public global::GitHub.AppPermissionsChecks? Type31 { get; set; } + public global::GitHub.WebhookConfig? Type31 { get; set; } /// /// /// - public global::GitHub.AppPermissionsCodespaces? Type32 { get; set; } + public global::GitHub.HookDeliveryItem? Type32 { get; set; } /// /// /// - public global::GitHub.AppPermissionsContents? Type33 { get; set; } + public global::GitHub.ScimError? Type33 { get; set; } /// /// /// - public global::GitHub.AppPermissionsDependabotSecrets? Type34 { get; set; } + public global::GitHub.ValidationError? Type34 { get; set; } /// /// /// - public global::GitHub.AppPermissionsDeployments? Type35 { get; set; } + public global::System.Collections.Generic.IList? Type35 { get; set; } /// /// /// - public global::GitHub.AppPermissionsEnvironments? Type36 { get; set; } + public global::GitHub.ValidationErrorError? Type36 { get; set; } /// /// /// - public global::GitHub.AppPermissionsIssues? Type37 { get; set; } + public global::System.OneOf?>? Type37 { get; set; } /// /// /// - public global::GitHub.AppPermissionsMetadata? Type38 { get; set; } + public global::GitHub.HookDelivery? Type38 { get; set; } /// /// /// - public global::GitHub.AppPermissionsPackages? Type39 { get; set; } + public global::GitHub.HookDeliveryRequest? Type39 { get; set; } /// /// /// - public global::GitHub.AppPermissionsPages? Type40 { get; set; } + public global::GitHub.HookDeliveryRequestHeaders? Type40 { get; set; } /// /// /// - public global::GitHub.AppPermissionsPullRequests? Type41 { get; set; } + public global::GitHub.HookDeliveryRequestPayload? Type41 { get; set; } /// /// /// - public global::GitHub.AppPermissionsRepositoryCustomProperties? Type42 { get; set; } + public global::GitHub.HookDeliveryResponse? Type42 { get; set; } /// /// /// - public global::GitHub.AppPermissionsRepositoryHooks? Type43 { get; set; } + public global::GitHub.HookDeliveryResponseHeaders? Type43 { get; set; } /// /// /// - public global::GitHub.AppPermissionsRepositoryProjects? Type44 { get; set; } + public global::GitHub.Enterprise? Type44 { get; set; } /// /// /// - public global::GitHub.AppPermissionsSecretScanningAlerts? Type45 { get; set; } + public global::GitHub.IntegrationInstallationRequest? Type45 { get; set; } /// /// /// - public global::GitHub.AppPermissionsSecrets? Type46 { get; set; } + public global::System.AnyOf? Type46 { get; set; } /// /// /// - public global::GitHub.AppPermissionsSecurityEvents? Type47 { get; set; } + public global::GitHub.AppPermissions? Type47 { get; set; } /// /// /// - public global::GitHub.AppPermissionsSingleFile? Type48 { get; set; } + public global::GitHub.AppPermissionsActions? Type48 { get; set; } /// /// /// - public global::GitHub.AppPermissionsStatuses? Type49 { get; set; } + public global::GitHub.AppPermissionsAdministration? Type49 { get; set; } /// /// /// - public global::GitHub.AppPermissionsVulnerabilityAlerts? Type50 { get; set; } + public global::GitHub.AppPermissionsChecks? Type50 { get; set; } /// /// /// - public global::GitHub.AppPermissionsWorkflows? Type51 { get; set; } + public global::GitHub.AppPermissionsCodespaces? Type51 { get; set; } /// /// /// - public global::GitHub.AppPermissionsMembers? Type52 { get; set; } + public global::GitHub.AppPermissionsContents? Type52 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationAdministration? Type53 { get; set; } + public global::GitHub.AppPermissionsDependabotSecrets? Type53 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationCustomRoles? Type54 { get; set; } + public global::GitHub.AppPermissionsDeployments? Type54 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationCustomOrgRoles? Type55 { get; set; } + public global::GitHub.AppPermissionsEnvironments? Type55 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationCustomProperties? Type56 { get; set; } + public global::GitHub.AppPermissionsIssues? Type56 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationCopilotSeatManagement? Type57 { get; set; } + public global::GitHub.AppPermissionsMetadata? Type57 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationAnnouncementBanners? Type58 { get; set; } + public global::GitHub.AppPermissionsPackages? Type58 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationEvents? Type59 { get; set; } + public global::GitHub.AppPermissionsPages? Type59 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationHooks? Type60 { get; set; } + public global::GitHub.AppPermissionsPullRequests? Type60 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationPersonalAccessTokens? Type61 { get; set; } + public global::GitHub.AppPermissionsRepositoryCustomProperties? Type61 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationPersonalAccessTokenRequests? Type62 { get; set; } + public global::GitHub.AppPermissionsRepositoryHooks? Type62 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationPlan? Type63 { get; set; } + public global::GitHub.AppPermissionsRepositoryProjects? Type63 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationProjects? Type64 { get; set; } + public global::GitHub.AppPermissionsSecretScanningAlerts? Type64 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationPackages? Type65 { get; set; } + public global::GitHub.AppPermissionsSecrets? Type65 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationSecrets? Type66 { get; set; } + public global::GitHub.AppPermissionsSecurityEvents? Type66 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationSelfHostedRunners? Type67 { get; set; } + public global::GitHub.AppPermissionsSingleFile? Type67 { get; set; } /// /// /// - public global::GitHub.AppPermissionsOrganizationUserBlocking? Type68 { get; set; } + public global::GitHub.AppPermissionsStatuses? Type68 { get; set; } /// /// /// - public global::GitHub.AppPermissionsTeamDiscussions? Type69 { get; set; } + public global::GitHub.AppPermissionsVulnerabilityAlerts? Type69 { get; set; } /// /// /// - public global::GitHub.AppPermissionsEmailAddresses? Type70 { get; set; } + public global::GitHub.AppPermissionsWorkflows? Type70 { get; set; } /// /// /// - public global::GitHub.AppPermissionsFollowers? Type71 { get; set; } + public global::GitHub.AppPermissionsMembers? Type71 { get; set; } /// /// /// - public global::GitHub.AppPermissionsGitSshKeys? Type72 { get; set; } + public global::GitHub.AppPermissionsOrganizationAdministration? Type72 { get; set; } /// /// /// - public global::GitHub.AppPermissionsGpgKeys? Type73 { get; set; } + public global::GitHub.AppPermissionsOrganizationCustomRoles? Type73 { get; set; } /// /// /// - public global::GitHub.AppPermissionsInteractionLimits? Type74 { get; set; } + public global::GitHub.AppPermissionsOrganizationCustomOrgRoles? Type74 { get; set; } /// /// /// - public global::GitHub.AppPermissionsProfile? Type75 { get; set; } + public global::GitHub.AppPermissionsOrganizationCustomProperties? Type75 { get; set; } /// /// /// - public global::GitHub.AppPermissionsStarring? Type76 { get; set; } + public global::GitHub.AppPermissionsOrganizationCopilotSeatManagement? Type76 { get; set; } /// /// /// - public global::GitHub.InstallationRepositorySelection? Type77 { get; set; } + public global::GitHub.AppPermissionsOrganizationAnnouncementBanners? Type77 { get; set; } /// /// /// - public global::GitHub.AppPermissions? Type78 { get; set; } + public global::GitHub.AppPermissionsOrganizationEvents? Type78 { get; set; } /// /// /// - public global::GitHub.NullableLicenseSimple? Type79 { get; set; } + public global::GitHub.AppPermissionsOrganizationHooks? Type79 { get; set; } /// /// /// - public global::GitHub.RepositoryPermissions? Type80 { get; set; } + public global::GitHub.AppPermissionsOrganizationPersonalAccessTokens? Type80 { get; set; } /// /// /// - public global::GitHub.RepositorySquashMergeCommitTitle? Type81 { get; set; } + public global::GitHub.AppPermissionsOrganizationPersonalAccessTokenRequests? Type81 { get; set; } /// /// /// - public global::GitHub.RepositorySquashMergeCommitMessage? Type82 { get; set; } + public global::GitHub.AppPermissionsOrganizationPlan? Type82 { get; set; } /// /// /// - public global::GitHub.RepositoryMergeCommitTitle? Type83 { get; set; } + public global::GitHub.AppPermissionsOrganizationProjects? Type83 { get; set; } /// /// /// - public global::GitHub.RepositoryMergeCommitMessage? Type84 { get; set; } + public global::GitHub.AppPermissionsOrganizationPackages? Type84 { get; set; } /// /// /// - public global::GitHub.InstallationTokenRepositorySelection? Type85 { get; set; } + public global::GitHub.AppPermissionsOrganizationSecrets? Type85 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type86 { get; set; } + public global::GitHub.AppPermissionsOrganizationSelfHostedRunners? Type86 { get; set; } /// /// /// - public global::GitHub.NullableScopedInstallationRepositorySelection? Type87 { get; set; } + public global::GitHub.AppPermissionsOrganizationUserBlocking? Type87 { get; set; } /// /// /// - public global::GitHub.AuthorizationApp? Type88 { get; set; } + public global::GitHub.AppPermissionsTeamDiscussions? Type88 { get; set; } /// /// /// - public global::GitHub.NullableScopedInstallation? Type89 { get; set; } + public global::GitHub.AppPermissionsEmailAddresses? Type89 { get; set; } /// /// /// - public global::GitHub.SimpleClassroomOrganization? Type90 { get; set; } + public global::GitHub.AppPermissionsFollowers? Type90 { get; set; } /// /// /// - public global::GitHub.ClassroomAssignmentType? Type91 { get; set; } + public global::GitHub.AppPermissionsGitSshKeys? Type91 { get; set; } /// /// /// - public global::GitHub.SimpleClassroomRepository? Type92 { get; set; } + public global::GitHub.AppPermissionsGpgKeys? Type92 { get; set; } /// /// /// - public global::GitHub.Classroom? Type93 { get; set; } + public global::GitHub.AppPermissionsInteractionLimits? Type93 { get; set; } /// /// /// - public global::GitHub.SimpleClassroomAssignmentType? Type94 { get; set; } + public global::GitHub.AppPermissionsProfile? Type94 { get; set; } /// /// /// - public global::GitHub.SimpleClassroom? Type95 { get; set; } + public global::GitHub.AppPermissionsStarring? Type95 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type96 { get; set; } + public global::GitHub.Installation? Type96 { get; set; } /// /// /// - public global::GitHub.SimpleClassroomAssignment? Type97 { get; set; } + public global::GitHub.InstallationRepositorySelection? Type97 { get; set; } /// /// /// - public global::GitHub.TeamPermissions? Type98 { get; set; } + public global::GitHub.NullableLicenseSimple? Type98 { get; set; } /// /// /// - public global::GitHub.NullableTeamSimple? Type99 { get; set; } + public global::GitHub.Repository? Type99 { get; set; } /// /// /// - public global::System.OneOf? Type100 { get; set; } + public global::GitHub.RepositoryPermissions? Type100 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type101 { get; set; } + public global::GitHub.RepositorySquashMergeCommitTitle? Type101 { get; set; } /// /// /// - public global::GitHub.DependabotAlertPackage? Type102 { get; set; } + public global::GitHub.RepositorySquashMergeCommitMessage? Type102 { get; set; } /// /// /// - public global::GitHub.DependabotAlertSecurityVulnerabilitySeverity? Type103 { get; set; } + public global::GitHub.RepositoryMergeCommitTitle? Type103 { get; set; } /// /// /// - public global::GitHub.DependabotAlertSecurityVulnerabilityFirstPatchedVersion? Type104 { get; set; } + public global::GitHub.RepositoryMergeCommitMessage? Type104 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type105 { get; set; } + public global::GitHub.InstallationToken? Type105 { get; set; } /// /// /// - public global::GitHub.DependabotAlertSecurityAdvisorySeverity? Type106 { get; set; } + public global::GitHub.InstallationTokenRepositorySelection? Type106 { get; set; } /// /// /// - public global::GitHub.DependabotAlertSecurityAdvisoryCvss? Type107 { get; set; } + public global::System.Collections.Generic.IList? Type107 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type108 { get; set; } + public global::GitHub.NullableScopedInstallation? Type108 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type109 { get; set; } + public global::GitHub.NullableScopedInstallationRepositorySelection? Type109 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type110 { get; set; } + public global::GitHub.Authorization? Type110 { get; set; } /// /// /// - public global::GitHub.DependabotAlertSecurityAdvisoryIdentifiersType? Type111 { get; set; } + public global::GitHub.AuthorizationApp? Type111 { get; set; } /// /// /// - public global::GitHub.DependabotAlertWithRepositoryState? Type112 { get; set; } + public global::GitHub.SimpleClassroomRepository? Type112 { get; set; } /// /// /// - public global::GitHub.DependabotAlertWithRepositoryDependency? Type113 { get; set; } + public global::GitHub.SimpleClassroomOrganization? Type113 { get; set; } /// /// /// - public global::GitHub.DependabotAlertSecurityAdvisory? Type114 { get; set; } + public global::GitHub.Classroom? Type114 { get; set; } /// /// /// - public global::GitHub.DependabotAlertSecurityVulnerability? Type115 { get; set; } + public global::GitHub.ClassroomAssignment? Type115 { get; set; } /// /// /// - public global::GitHub.DependabotAlertWithRepositoryDismissedReason? Type116 { get; set; } + public global::GitHub.ClassroomAssignmentType? Type116 { get; set; } /// /// /// - public global::GitHub.SimpleRepository? Type117 { get; set; } + public global::GitHub.SimpleClassroomUser? Type117 { get; set; } /// /// /// - public global::GitHub.DependabotAlertWithRepositoryDependencyScope? Type118 { get; set; } + public global::GitHub.SimpleClassroom? Type118 { get; set; } /// /// /// - public global::GitHub.SecretScanningAlertState? Type119 { get; set; } + public global::GitHub.SimpleClassroomAssignment? Type119 { get; set; } /// /// /// - public global::GitHub.SecretScanningAlertResolution? Type120 { get; set; } + public global::GitHub.SimpleClassroomAssignmentType? Type120 { get; set; } /// /// /// - public global::GitHub.OrganizationSecretScanningAlertValidity? Type121 { get; set; } + public global::GitHub.ClassroomAcceptedAssignment? Type121 { get; set; } /// /// /// - public global::GitHub.NullableMilestoneState? Type122 { get; set; } + public global::System.Collections.Generic.IList? Type122 { get; set; } /// /// /// - public global::GitHub.NullableIntegrationPermissions? Type123 { get; set; } + public global::GitHub.ClassroomAssignmentGrade? Type123 { get; set; } /// /// /// - public global::GitHub.IssueStateReason? Type124 { get; set; } + public global::GitHub.CodeOfConduct? Type124 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type125 { get; set; } + public global::GitHub.OrganizationSimple? Type125 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type126 { get; set; } + public global::GitHub.NullableTeamSimple? Type126 { get; set; } /// /// /// - public global::GitHub.NullableMilestone? Type127 { get; set; } + public global::GitHub.Team? Type127 { get; set; } /// /// /// - public global::GitHub.IssuePullRequest? Type128 { get; set; } + public global::GitHub.TeamPermissions? Type128 { get; set; } /// /// /// - public global::GitHub.Repository? Type129 { get; set; } + public global::GitHub.EnterpriseTeam? Type129 { get; set; } /// /// /// - public global::GitHub.NullableIntegration? Type130 { get; set; } + public global::GitHub.CopilotSeatDetails? Type130 { get; set; } /// /// /// - public global::GitHub.AuthorAssociation? Type131 { get; set; } + public global::System.OneOf? Type131 { get; set; } /// /// /// - public global::GitHub.ReactionRollup? Type132 { get; set; } + public global::System.OneOf? Type132 { get; set; } /// /// /// - public global::GitHub.Actor? Type133 { get; set; } + public global::System.OneOf? Type133 { get; set; } /// /// /// - public global::GitHub.EventRepo? Type134 { get; set; } + public global::GitHub.CopilotUsageMetrics? Type134 { get; set; } /// /// /// - public global::GitHub.EventPayload? Type135 { get; set; } + public global::System.Collections.Generic.IList? Type135 { get; set; } /// /// /// - public global::GitHub.Issue? Type136 { get; set; } + public global::GitHub.CopilotUsageMetricsBreakdownItem? Type136 { get; set; } /// /// /// - public global::GitHub.IssueComment? Type137 { get; set; } + public global::GitHub.DependabotAlertPackage? Type137 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type138 { get; set; } + public global::GitHub.DependabotAlertSecurityVulnerability? Type138 { get; set; } /// /// /// - public global::GitHub.FeedLinks? Type139 { get; set; } + public global::GitHub.DependabotAlertSecurityVulnerabilitySeverity? Type139 { get; set; } /// /// /// - public global::GitHub.LinkWithType? Type140 { get; set; } + public global::GitHub.DependabotAlertSecurityVulnerabilityFirstPatchedVersion? Type140 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type141 { get; set; } + public global::GitHub.DependabotAlertSecurityAdvisory? Type141 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type142 { get; set; } + public global::System.Collections.Generic.IList? Type142 { get; set; } /// /// /// - public global::GitHub.PublicUserPlan? Type143 { get; set; } + public global::GitHub.DependabotAlertSecurityAdvisorySeverity? Type143 { get; set; } /// /// /// - public global::GitHub.GistHistoryChangeStatus? Type144 { get; set; } + public global::GitHub.DependabotAlertSecurityAdvisoryCvss? Type144 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type145 { get; set; } + public global::System.Collections.Generic.IList? Type145 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type146 { get; set; } + public global::GitHub.DependabotAlertSecurityAdvisoryCwe? Type146 { get; set; } /// /// /// - public global::GitHub.GistSimpleForkOf? Type147 { get; set; } + public global::System.Collections.Generic.IList? Type147 { get; set; } /// /// /// - public global::GitHub.PublicUser? Type148 { get; set; } + public global::GitHub.DependabotAlertSecurityAdvisoryIdentifier? Type148 { get; set; } /// /// /// - public global::GitHub.GistCommitChangeStatus? Type149 { get; set; } + public global::GitHub.DependabotAlertSecurityAdvisoryIdentifierType? Type149 { get; set; } /// /// /// - public global::GitHub.MarketplaceListingPlanPriceModel? Type150 { get; set; } + public global::System.Collections.Generic.IList? Type150 { get; set; } /// /// /// - public global::GitHub.MarketplacePurchaseMarketplacePendingChange? Type151 { get; set; } + public global::GitHub.DependabotAlertSecurityAdvisoryReference? Type151 { get; set; } /// /// /// - public global::GitHub.MarketplacePurchaseMarketplacePurchase? Type152 { get; set; } + public global::GitHub.SimpleRepository? Type152 { get; set; } /// /// /// - public global::GitHub.MarketplaceListingPlan? Type153 { get; set; } + public global::GitHub.DependabotAlertWithRepository? Type153 { get; set; } /// /// /// - public global::GitHub.ApiOverviewSshKeyFingerprints? Type154 { get; set; } + public global::GitHub.DependabotAlertWithRepositoryState? Type154 { get; set; } /// /// /// - public global::GitHub.ApiOverviewDomains? Type155 { get; set; } + public global::GitHub.DependabotAlertWithRepositoryDependency? Type155 { get; set; } /// /// /// - public global::GitHub.SecurityAndAnalysisAdvancedSecurity? Type156 { get; set; } + public global::GitHub.DependabotAlertWithRepositoryDependencyScope? Type156 { get; set; } /// /// /// - public global::GitHub.SecurityAndAnalysisDependabotSecurityUpdates? Type157 { get; set; } + public global::GitHub.DependabotAlertWithRepositoryDismissedReason? Type157 { get; set; } /// /// /// - public global::GitHub.SecurityAndAnalysisSecretScanning? Type158 { get; set; } + public global::GitHub.SecretScanningAlertState? Type158 { get; set; } /// /// /// - public global::GitHub.SecurityAndAnalysisSecretScanningPushProtection? Type159 { get; set; } + public global::GitHub.SecretScanningAlertResolution? Type159 { get; set; } /// /// /// - public global::GitHub.SecurityAndAnalysisSecretScanningNonProviderPatterns? Type160 { get; set; } + public global::GitHub.OrganizationSecretScanningAlert? Type160 { get; set; } /// /// /// - public global::GitHub.SecurityAndAnalysisAdvancedSecurityStatus? Type161 { get; set; } + public global::GitHub.OrganizationSecretScanningAlertValidity? Type161 { get; set; } /// /// /// - public global::GitHub.SecurityAndAnalysisDependabotSecurityUpdatesStatus? Type162 { get; set; } + public global::GitHub.Actor? Type162 { get; set; } /// /// /// - public global::GitHub.SecurityAndAnalysisSecretScanningStatus? Type163 { get; set; } + public global::GitHub.NullableMilestone? Type163 { get; set; } /// /// /// - public global::GitHub.SecurityAndAnalysisSecretScanningPushProtectionStatus? Type164 { get; set; } + public global::GitHub.NullableMilestoneState? Type164 { get; set; } /// /// /// - public global::GitHub.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? Type165 { get; set; } + public global::GitHub.NullableIntegration? Type165 { get; set; } /// /// /// - public global::GitHub.MinimalRepositoryPermissions? Type166 { get; set; } + public global::GitHub.NullableIntegrationPermissions? Type166 { get; set; } /// /// /// - public global::GitHub.CodeOfConduct? Type167 { get; set; } + public global::GitHub.AuthorAssociation? Type167 { get; set; } /// /// /// - public global::GitHub.MinimalRepositoryLicense? Type168 { get; set; } + public global::GitHub.ReactionRollup? Type168 { get; set; } /// /// /// - public global::GitHub.SecurityAndAnalysis? Type169 { get; set; } + public global::GitHub.Issue? Type169 { get; set; } /// /// /// - public global::GitHub.MinimalRepository? Type170 { get; set; } + public global::GitHub.IssueStateReason? Type170 { get; set; } /// /// /// - public global::GitHub.ThreadSubject? Type171 { get; set; } + public global::System.Collections.Generic.IList>? Type171 { get; set; } /// /// /// - public global::GitHub.OrganizationFullPlan? Type172 { get; set; } + public global::System.OneOf? Type172 { get; set; } /// /// /// - public global::GitHub.EnabledRepositories? Type173 { get; set; } + public global::GitHub.IssueLabel? Type173 { get; set; } /// /// /// - public global::GitHub.AllowedActions? Type174 { get; set; } + public global::System.Collections.Generic.IList? Type174 { get; set; } /// /// /// - public global::GitHub.ActionsDefaultWorkflowPermissions? Type175 { get; set; } + public global::GitHub.IssuePullRequest? Type175 { get; set; } /// /// /// - public global::GitHub.RunnerLabelType? Type176 { get; set; } + public global::GitHub.IssueComment? Type176 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type177 { get; set; } + public global::GitHub.Event? Type177 { get; set; } /// /// /// - public global::GitHub.AuthenticationTokenRepositorySelection? Type178 { get; set; } + public global::GitHub.EventRepo? Type178 { get; set; } /// /// /// - public global::GitHub.OrganizationActionsSecretVisibility? Type179 { get; set; } + public global::GitHub.EventPayload? Type179 { get; set; } /// /// /// - public global::GitHub.OrganizationActionsVariableVisibility? Type180 { get; set; } + public global::System.Collections.Generic.IList? Type180 { get; set; } /// /// /// - public global::GitHub.CodeScanningAlertRuleSummarySeverity? Type181 { get; set; } + public global::GitHub.EventPayloadPage? Type181 { get; set; } /// /// /// - public global::GitHub.CodeScanningAlertRuleSummarySecuritySeverityLevel? Type182 { get; set; } + public global::GitHub.LinkWithType? Type182 { get; set; } /// /// /// - public global::GitHub.CodeScanningAlertState? Type183 { get; set; } + public global::GitHub.Feed? Type183 { get; set; } /// /// /// - public global::GitHub.CodeScanningAlertInstanceMessage? Type184 { get; set; } + public global::GitHub.FeedLinks? Type184 { get; set; } /// /// /// - public global::GitHub.CodeScanningAlertLocation? Type185 { get; set; } + public global::System.Collections.Generic.IList? Type185 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type186 { get; set; } + public global::GitHub.BaseGist? Type186 { get; set; } /// /// /// - public global::GitHub.CodeScanningAlertDismissedReason? Type187 { get; set; } + public global::GitHub.BaseGistFiles? Type187 { get; set; } /// /// /// - public global::GitHub.CodeScanningAlertRuleSummary? Type188 { get; set; } + public global::System.Collections.Generic.IList? Type188 { get; set; } /// /// /// - public global::GitHub.CodeScanningAnalysisTool? Type189 { get; set; } + public global::GitHub.BaseGistFork? Type189 { get; set; } /// /// /// - public global::GitHub.CodeScanningAlertInstance? Type190 { get; set; } + public global::System.Collections.Generic.IList? Type190 { get; set; } /// /// /// - public global::GitHub.CodeSecurityConfigurationTargetType? Type191 { get; set; } + public global::GitHub.BaseGistHistoryItem? Type191 { get; set; } /// /// /// - public global::GitHub.CodeSecurityConfigurationAdvancedSecurity? Type192 { get; set; } + public global::GitHub.PublicUser? Type192 { get; set; } /// /// /// - public global::GitHub.CodeSecurityConfigurationDependencyGraph? Type193 { get; set; } + public global::GitHub.PublicUserPlan? Type193 { get; set; } /// /// /// - public global::GitHub.CodeSecurityConfigurationDependabotAlerts? Type194 { get; set; } + public global::GitHub.GistHistory? Type194 { get; set; } /// /// /// - public global::GitHub.CodeSecurityConfigurationDependabotSecurityUpdates? Type195 { get; set; } + public global::GitHub.GistHistoryChangeStatus? Type195 { get; set; } /// /// /// - public global::GitHub.CodeSecurityConfigurationCodeScanningDefaultSetup? Type196 { get; set; } + public global::GitHub.GistSimple? Type196 { get; set; } /// /// /// - public global::GitHub.CodeSecurityConfigurationSecretScanning? Type197 { get; set; } + public global::System.Collections.Generic.IList? Type197 { get; set; } /// /// /// - public global::GitHub.CodeSecurityConfigurationSecretScanningPushProtection? Type198 { get; set; } + public global::GitHub.GistSimpleFork? Type198 { get; set; } /// /// /// - public global::GitHub.CodeSecurityConfigurationSecretScanningValidityChecks? Type199 { get; set; } + public global::System.Collections.Generic.IList? Type199 { get; set; } /// /// /// - public global::GitHub.CodeSecurityConfigurationPrivateVulnerabilityReporting? Type200 { get; set; } + public global::GitHub.GistSimpleForkOf? Type200 { get; set; } /// /// /// - public global::GitHub.CodeSecurityConfigurationEnforcement? Type201 { get; set; } + public global::GitHub.GistSimpleForkOfFiles? Type201 { get; set; } /// /// /// - public global::GitHub.CodeSecurityConfiguration? Type202 { get; set; } + public global::System.Collections.Generic.IList? Type202 { get; set; } /// /// /// - public global::GitHub.CodeSecurityConfigurationRepositoriesStatus? Type203 { get; set; } + public global::GitHub.GistSimpleForkOfFork? Type203 { get; set; } /// /// /// - public global::GitHub.NullableCodespaceMachinePrebuildAvailability? Type204 { get; set; } + public global::System.Collections.Generic.IList? Type204 { get; set; } /// /// /// - public global::GitHub.NullableCodespaceMachine? Type205 { get; set; } + public global::GitHub.GistSimpleForkOfHistoryItem? Type205 { get; set; } /// /// /// - public global::GitHub.CodespaceState? Type206 { get; set; } + public global::GitHub.GistSimpleFiles? Type206 { get; set; } /// /// /// - public global::GitHub.CodespaceGitStatus? Type207 { get; set; } + public global::GitHub.GistComment? Type207 { get; set; } /// /// /// - public global::GitHub.CodespaceLocation? Type208 { get; set; } + public global::GitHub.GistCommit? Type208 { get; set; } /// /// /// - public global::GitHub.CodespaceRuntimeConstraints? Type209 { get; set; } + public global::GitHub.GistCommitChangeStatus? Type209 { get; set; } /// /// /// - public global::GitHub.CodespacesOrgSecretVisibility? Type210 { get; set; } + public global::GitHub.GitignoreTemplate? Type210 { get; set; } /// /// /// - public global::GitHub.CopilotSeatBreakdown? Type211 { get; set; } + public global::GitHub.LicenseSimple? Type211 { get; set; } /// /// /// - public global::GitHub.CopilotOrganizationDetailsPublicCodeSuggestions? Type212 { get; set; } + public global::GitHub.License? Type212 { get; set; } /// /// /// - public global::GitHub.CopilotOrganizationDetailsIdeChat? Type213 { get; set; } + public global::GitHub.MarketplaceListingPlan? Type213 { get; set; } /// /// /// - public global::GitHub.CopilotOrganizationDetailsPlatformChat? Type214 { get; set; } + public global::GitHub.MarketplaceListingPlanPriceModel? Type214 { get; set; } /// /// /// - public global::GitHub.CopilotOrganizationDetailsCli? Type215 { get; set; } + public global::GitHub.MarketplacePurchase? Type215 { get; set; } /// /// /// - public global::GitHub.CopilotOrganizationDetailsSeatManagementSetting? Type216 { get; set; } + public global::GitHub.MarketplacePurchaseMarketplacePendingChange? Type216 { get; set; } /// /// /// - public global::GitHub.OrganizationDependabotSecretVisibility? Type217 { get; set; } + public global::GitHub.MarketplacePurchaseMarketplacePurchase1? Type217 { get; set; } /// /// /// - public global::GitHub.NullableMinimalRepositoryPermissions? Type218 { get; set; } + public global::GitHub.ApiOverview? Type218 { get; set; } /// /// /// - public global::GitHub.NullableMinimalRepositoryLicense? Type219 { get; set; } + public global::GitHub.ApiOverviewSshKeyFingerprints? Type219 { get; set; } /// /// /// - public global::GitHub.PackagePackageType? Type220 { get; set; } + public global::GitHub.ApiOverviewDomains? Type220 { get; set; } /// /// /// - public global::GitHub.PackageVisibility? Type221 { get; set; } + public global::GitHub.SecurityAndAnalysis? Type221 { get; set; } /// /// /// - public global::GitHub.NullableMinimalRepository? Type222 { get; set; } + public global::GitHub.SecurityAndAnalysisAdvancedSecurity? Type222 { get; set; } /// /// /// - public global::GitHub.OrgHookConfig? Type223 { get; set; } + public global::GitHub.SecurityAndAnalysisAdvancedSecurityStatus? Type223 { get; set; } /// /// /// - public global::GitHub.InteractionGroup? Type224 { get; set; } + public global::GitHub.SecurityAndAnalysisDependabotSecurityUpdates? Type224 { get; set; } /// /// /// - public global::GitHub.InteractionExpiry? Type225 { get; set; } + public global::GitHub.SecurityAndAnalysisDependabotSecurityUpdatesStatus? Type225 { get; set; } /// /// /// - public global::GitHub.OrgMembershipState? Type226 { get; set; } + public global::GitHub.SecurityAndAnalysisSecretScanning? Type226 { get; set; } /// /// /// - public global::GitHub.OrgMembershipRole? Type227 { get; set; } + public global::GitHub.SecurityAndAnalysisSecretScanningStatus? Type227 { get; set; } /// /// /// - public global::GitHub.OrganizationSimple? Type228 { get; set; } + public global::GitHub.SecurityAndAnalysisSecretScanningPushProtection? Type228 { get; set; } /// /// /// - public global::GitHub.OrgMembershipPermissions? Type229 { get; set; } + public global::GitHub.SecurityAndAnalysisSecretScanningPushProtectionStatus? Type229 { get; set; } /// /// /// - public global::GitHub.TeamRoleAssignmentPermissions? Type230 { get; set; } + public global::GitHub.SecurityAndAnalysisSecretScanningNonProviderPatterns? Type230 { get; set; } /// /// /// - public global::GitHub.PackageVersionMetadata? Type231 { get; set; } + public global::GitHub.SecurityAndAnalysisSecretScanningNonProviderPatternsStatus? Type231 { get; set; } /// /// /// - public global::GitHub.PackageVersionMetadataPackageType? Type232 { get; set; } + public global::GitHub.MinimalRepository? Type232 { get; set; } /// /// /// - public global::GitHub.PackageVersionMetadataContainer? Type233 { get; set; } + public global::GitHub.MinimalRepositoryPermissions? Type233 { get; set; } /// /// /// - public global::GitHub.PackageVersionMetadataDocker? Type234 { get; set; } + public global::GitHub.MinimalRepositoryLicense? Type234 { get; set; } /// /// /// - public global::GitHub.OrganizationProgrammaticAccessGrantRequestRepositorySelection? Type235 { get; set; } + public global::GitHub.Thread? Type235 { get; set; } /// /// /// - public global::GitHub.OrganizationProgrammaticAccessGrantRequestPermissions? Type236 { get; set; } + public global::GitHub.ThreadSubject? Type236 { get; set; } /// /// /// - public global::GitHub.OrganizationProgrammaticAccessGrantRepositorySelection? Type237 { get; set; } + public global::GitHub.ThreadSubscription? Type237 { get; set; } /// /// /// - public global::GitHub.OrganizationProgrammaticAccessGrantPermissions? Type238 { get; set; } + public global::GitHub.OrganizationFull? Type238 { get; set; } /// /// /// - public global::GitHub.ProjectOrganizationPermission? Type239 { get; set; } + public global::GitHub.OrganizationFullPlan? Type239 { get; set; } /// /// /// - public global::GitHub.OrgCustomPropertyValueType? Type240 { get; set; } + public global::GitHub.ActionsCacheUsageOrgEnterprise? Type240 { get; set; } /// /// /// - public global::System.OneOf?>? Type241 { get; set; } + public global::GitHub.ActionsCacheUsageByRepository? Type241 { get; set; } /// /// /// - public global::GitHub.OrgCustomPropertyValuesEditableBy? Type242 { get; set; } + public global::GitHub.OidcCustomSub? Type242 { get; set; } /// /// /// - public global::System.OneOf>? Type243 { get; set; } + public global::GitHub.EmptyObject? Type243 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type244 { get; set; } + public global::GitHub.EnabledRepositories? Type244 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryPermissions? Type245 { get; set; } + public global::GitHub.AllowedActions? Type245 { get; set; } /// /// /// - public global::GitHub.NullableRepositorySquashMergeCommitTitle? Type246 { get; set; } + public global::GitHub.ActionsOrganizationPermissions? Type246 { get; set; } /// /// /// - public global::GitHub.NullableRepositorySquashMergeCommitMessage? Type247 { get; set; } + public global::GitHub.SelectedActions? Type247 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryMergeCommitTitle? Type248 { get; set; } + public global::GitHub.ActionsDefaultWorkflowPermissions? Type248 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryMergeCommitMessage? Type249 { get; set; } + public global::GitHub.ActionsGetDefaultWorkflowPermissions? Type249 { get; set; } /// /// /// - public global::GitHub.FullRepositoryPermissions? Type250 { get; set; } + public global::GitHub.ActionsSetDefaultWorkflowPermissions? Type250 { get; set; } /// /// /// - public global::GitHub.NullableRepository? Type251 { get; set; } + public global::GitHub.RunnerLabel? Type251 { get; set; } /// /// /// - public global::GitHub.FullRepositorySquashMergeCommitTitle? Type252 { get; set; } + public global::GitHub.RunnerLabelType? Type252 { get; set; } /// /// /// - public global::GitHub.FullRepositorySquashMergeCommitMessage? Type253 { get; set; } + public global::GitHub.Runner? Type253 { get; set; } /// /// /// - public global::GitHub.FullRepositoryMergeCommitTitle? Type254 { get; set; } + public global::System.Collections.Generic.IList? Type254 { get; set; } /// /// /// - public global::GitHub.FullRepositoryMergeCommitMessage? Type255 { get; set; } + public global::GitHub.RunnerApplication? Type255 { get; set; } /// /// /// - public global::GitHub.CodeOfConductSimple? Type256 { get; set; } + public global::GitHub.AuthenticationToken? Type256 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetBypassActorActorType? Type257 { get; set; } + public global::GitHub.AuthenticationTokenPermissions? Type257 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetBypassActorBypassMode? Type258 { get; set; } + public global::GitHub.AuthenticationTokenRepositorySelection? Type258 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetConditionsRefName? Type259 { get; set; } + public global::GitHub.OrganizationActionsSecret? Type259 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetConditionsRepositoryNameTargetRepositoryName? Type260 { get; set; } + public global::GitHub.OrganizationActionsSecretVisibility? Type260 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetConditionsRepositoryIdTargetRepositoryId? Type261 { get; set; } + public global::GitHub.ActionsPublicKey? Type261 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type262 { get; set; } + public global::GitHub.OrganizationActionsVariable? Type262 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetConditionsRepositoryPropertySpecSource? Type263 { get; set; } + public global::GitHub.OrganizationActionsVariableVisibility? Type263 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetConditionsRepositoryPropertyTargetRepositoryProperty? Type264 { get; set; } + public global::GitHub.CodeScanningAlertStateQuery? Type264 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type265 { get; set; } + public global::GitHub.CodeScanningAlertSeverity? Type265 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleCreationType? Type266 { get; set; } + public global::GitHub.CodeScanningAlertState? Type266 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleUpdateType? Type267 { get; set; } + public global::GitHub.CodeScanningAlertDismissedReason? Type267 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleUpdateParameters? Type268 { get; set; } + public global::GitHub.CodeScanningAlertRuleSummary? Type268 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleDeletionType? Type269 { get; set; } + public global::GitHub.CodeScanningAlertRuleSummarySeverity? Type269 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleRequiredLinearHistoryType? Type270 { get; set; } + public global::GitHub.CodeScanningAlertRuleSummarySecuritySeverityLevel? Type270 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleMergeQueueType? Type271 { get; set; } + public global::GitHub.CodeScanningAnalysisTool? Type271 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleMergeQueueParameters? Type272 { get; set; } + public global::GitHub.CodeScanningAlertLocation? Type272 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleMergeQueueParametersGroupingStrategy? Type273 { get; set; } + public global::GitHub.CodeScanningAlertClassification? Type273 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleMergeQueueParametersMergeMethod? Type274 { get; set; } + public global::GitHub.CodeScanningAlertInstance? Type274 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleRequiredDeploymentsType? Type275 { get; set; } + public global::GitHub.CodeScanningAlertInstanceMessage? Type275 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleRequiredDeploymentsParameters? Type276 { get; set; } + public global::System.Collections.Generic.IList? Type276 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleRequiredSignaturesType? Type277 { get; set; } + public global::GitHub.CodeScanningOrganizationAlertItems? Type277 { get; set; } /// /// /// - public global::GitHub.RepositoryRulePullRequestType? Type278 { get; set; } + public global::GitHub.CodeSecurityConfiguration? Type278 { get; set; } /// /// /// - public global::GitHub.RepositoryRulePullRequestParameters? Type279 { get; set; } + public global::GitHub.CodeSecurityConfigurationTargetType? Type279 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleRequiredStatusChecksType? Type280 { get; set; } + public global::GitHub.CodeSecurityConfigurationAdvancedSecurity? Type280 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleRequiredStatusChecksParameters? Type281 { get; set; } + public global::GitHub.CodeSecurityConfigurationDependencyGraph? Type281 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type282 { get; set; } + public global::GitHub.CodeSecurityConfigurationDependabotAlerts? Type282 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleNonFastForwardType? Type283 { get; set; } + public global::GitHub.CodeSecurityConfigurationDependabotSecurityUpdates? Type283 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleCommitMessagePatternType? Type284 { get; set; } + public global::GitHub.CodeSecurityConfigurationCodeScanningDefaultSetup? Type284 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleCommitMessagePatternParameters? Type285 { get; set; } + public global::GitHub.CodeSecurityConfigurationSecretScanning? Type285 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleCommitMessagePatternParametersOperator? Type286 { get; set; } + public global::GitHub.CodeSecurityConfigurationSecretScanningPushProtection? Type286 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleCommitAuthorEmailPatternType? Type287 { get; set; } + public global::GitHub.CodeSecurityConfigurationSecretScanningValidityChecks? Type287 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleCommitAuthorEmailPatternParameters? Type288 { get; set; } + public global::GitHub.CodeSecurityConfigurationPrivateVulnerabilityReporting? Type288 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleCommitAuthorEmailPatternParametersOperator? Type289 { get; set; } + public global::GitHub.CodeSecurityConfigurationEnforcement? Type289 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleCommitterEmailPatternType? Type290 { get; set; } + public global::System.Collections.Generic.IList? Type290 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleCommitterEmailPatternParameters? Type291 { get; set; } + public global::GitHub.CodeSecurityDefaultConfiguration? Type291 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleCommitterEmailPatternParametersOperator? Type292 { get; set; } + public global::GitHub.CodeSecurityDefaultConfigurationDefaultForNewRepos? Type292 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleBranchNamePatternType? Type293 { get; set; } + public global::GitHub.CodeSecurityConfigurationRepositories? Type293 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleBranchNamePatternParameters? Type294 { get; set; } + public global::GitHub.CodeSecurityConfigurationRepositoriesStatus? Type294 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleBranchNamePatternParametersOperator? Type295 { get; set; } + public global::GitHub.NullableCodespaceMachine? Type295 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleTagNamePatternType? Type296 { get; set; } + public global::GitHub.NullableCodespaceMachinePrebuildAvailability? Type296 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleTagNamePatternParameters? Type297 { get; set; } + public global::GitHub.Codespace? Type297 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleTagNamePatternParametersOperator? Type298 { get; set; } + public global::GitHub.CodespaceState? Type298 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleWorkflowsType? Type299 { get; set; } + public global::GitHub.CodespaceGitStatus? Type299 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleWorkflowsParameters? Type300 { get; set; } + public global::GitHub.CodespaceLocation? Type300 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type301 { get; set; } + public global::GitHub.CodespaceRuntimeConstraints? Type301 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleParamsCodeScanningToolAlertsThreshold? Type302 { get; set; } + public global::GitHub.CodespacesOrgSecret? Type302 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleParamsCodeScanningToolSecurityAlertsThreshold? Type303 { get; set; } + public global::GitHub.CodespacesOrgSecretVisibility? Type303 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleCodeScanningType? Type304 { get; set; } + public global::GitHub.CodespacesPublicKey? Type304 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleCodeScanningParameters? Type305 { get; set; } + public global::GitHub.CopilotSeatBreakdown? Type305 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type306 { get; set; } + public global::GitHub.CopilotOrganizationDetails? Type306 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleVariant16Type? Type307 { get; set; } + public global::GitHub.CopilotOrganizationDetailsPublicCodeSuggestions? Type307 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleVariant16Parameters? Type308 { get; set; } + public global::GitHub.CopilotOrganizationDetailsIdeChat? Type308 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleVariant17Type? Type309 { get; set; } + public global::GitHub.CopilotOrganizationDetailsPlatformChat? Type309 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleVariant17Parameters? Type310 { get; set; } + public global::GitHub.CopilotOrganizationDetailsCli? Type310 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleVariant18Type? Type311 { get; set; } + public global::GitHub.CopilotOrganizationDetailsSeatManagementSetting? Type311 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleVariant18Parameters? Type312 { get; set; } + public global::GitHub.OrganizationDependabotSecret? Type312 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleVariant19Type? Type313 { get; set; } + public global::GitHub.OrganizationDependabotSecretVisibility? Type313 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleVariant19Parameters? Type314 { get; set; } + public global::GitHub.DependabotPublicKey? Type314 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetTarget? Type315 { get; set; } + public global::GitHub.NullableMinimalRepository? Type315 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetSourceType? Type316 { get; set; } + public global::GitHub.NullableMinimalRepositoryPermissions? Type316 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleEnforcement? Type317 { get; set; } + public global::GitHub.NullableMinimalRepositoryLicense? Type317 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type318 { get; set; } + public global::GitHub.Package? Type318 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetCurrentUserCanBypass? Type319 { get; set; } + public global::GitHub.PackagePackageType? Type319 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetLinks? Type320 { get; set; } + public global::GitHub.PackageVisibility? Type320 { get; set; } /// /// /// - public global::System.AnyOf? Type321 { get; set; } + public global::GitHub.OrganizationInvitation? Type321 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type322 { get; set; } + public global::GitHub.OrgHook? Type322 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetLinksSelf? Type323 { get; set; } + public global::GitHub.OrgHookConfig? Type323 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetLinksHtml? Type324 { get; set; } + public global::GitHub.InteractionGroup? Type324 { get; set; } /// /// /// - public global::GitHub.RuleSuitesResult? Type325 { get; set; } + public global::GitHub.InteractionLimitResponse? Type325 { get; set; } /// /// /// - public global::GitHub.RuleSuitesEvaluationResult? Type326 { get; set; } + public global::GitHub.InteractionExpiry? Type326 { get; set; } /// /// /// - public global::GitHub.RuleSuiteResult? Type327 { get; set; } + public global::GitHub.InteractionLimit? Type327 { get; set; } /// /// /// - public global::GitHub.RuleSuiteEvaluationResult? Type328 { get; set; } + public global::GitHub.OrgMembership? Type328 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type329 { get; set; } + public global::GitHub.OrgMembershipState? Type329 { get; set; } /// /// /// - public global::GitHub.RuleSuiteRuleEvaluationsRuleSource? Type330 { get; set; } + public global::GitHub.OrgMembershipRole? Type330 { get; set; } /// /// /// - public global::GitHub.RuleSuiteRuleEvaluationsEnforcement? Type331 { get; set; } + public global::GitHub.OrgMembershipPermissions? Type331 { get; set; } /// /// /// - public global::GitHub.RuleSuiteRuleEvaluationsResult? Type332 { get; set; } + public global::GitHub.Migration? Type332 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisoryVulnerabilityPackage? Type333 { get; set; } + public global::GitHub.OrganizationRole? Type333 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisoryCreditState? Type334 { get; set; } + public global::GitHub.TeamRoleAssignment? Type334 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisorySeverity? Type335 { get; set; } + public global::GitHub.TeamRoleAssignmentPermissions? Type335 { get; set; } /// /// /// - public global::System.AllOf? Type336 { get; set; } + public global::GitHub.TeamSimple? Type336 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type337 { get; set; } + public global::GitHub.UserRoleAssignment? Type337 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisoryState? Type338 { get; set; } + public global::GitHub.PackageVersion? Type338 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisorySubmission? Type339 { get; set; } + public global::GitHub.PackageVersionMetadata? Type339 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type340 { get; set; } + public global::GitHub.PackageVersionMetadataPackageType? Type340 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisoryCvss? Type341 { get; set; } + public global::GitHub.PackageVersionMetadataContainer? Type341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type342 { get; set; } + public global::GitHub.PackageVersionMetadataDocker? Type342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type343 { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantRequest? Type343 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type344 { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantRequestRepositorySelection? Type344 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type345 { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantRequestPermissions? Type345 { get; set; } /// /// /// - public global::System.AllOf? Type346 { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantRequestPermissionsOrganization? Type346 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisoryIdentifiersType? Type347 { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantRequestPermissionsRepository? Type347 { get; set; } /// /// /// - public global::GitHub.ActionsBillingUsageMinutesUsedBreakdown? Type348 { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantRequestPermissionsOther? Type348 { get; set; } /// /// /// - public global::GitHub.TeamOrganizationPlan? Type349 { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrant? Type349 { get; set; } /// /// /// - public global::GitHub.TeamFullPrivacy? Type350 { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantRepositorySelection? Type350 { get; set; } /// /// /// - public global::GitHub.TeamFullNotificationSetting? Type351 { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantPermissions? Type351 { get; set; } /// /// /// - public global::GitHub.TeamOrganization? Type352 { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantPermissionsOrganization? Type352 { get; set; } /// /// /// - public global::GitHub.ReactionContent? Type353 { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantPermissionsRepository? Type353 { get; set; } /// /// /// - public global::GitHub.TeamMembershipRole? Type354 { get; set; } + public global::GitHub.OrganizationProgrammaticAccessGrantPermissionsOther? Type354 { get; set; } /// /// /// - public global::GitHub.TeamMembershipState? Type355 { get; set; } + public global::GitHub.Project? Type355 { get; set; } /// /// /// - public global::GitHub.TeamProjectPermissions? Type356 { get; set; } + public global::GitHub.ProjectOrganizationPermission? Type356 { get; set; } /// /// /// - public global::GitHub.TeamRepositoryPermissions? Type357 { get; set; } + public global::GitHub.OrgCustomProperty? Type357 { get; set; } /// /// /// - public global::GitHub.RateLimitOverviewResources? Type358 { get; set; } + public global::GitHub.OrgCustomPropertyValueType? Type358 { get; set; } /// /// /// - public global::GitHub.RateLimit? Type359 { get; set; } + public global::System.OneOf?>? Type359 { get; set; } /// /// /// - public global::GitHub.ArtifactWorkflowRun? Type360 { get; set; } + public global::GitHub.OrgCustomPropertyValuesEditableBy? Type360 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type361 { get; set; } + public global::GitHub.CustomPropertyValue? Type361 { get; set; } /// /// /// - public global::GitHub.JobStatus? Type362 { get; set; } + public global::GitHub.OrgRepoCustomPropertyValues? Type362 { get; set; } /// /// /// - public global::GitHub.JobConclusion? Type363 { get; set; } + public global::System.Collections.Generic.IList? Type363 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type364 { get; set; } + public global::GitHub.NullableRepository? Type364 { get; set; } /// /// /// - public global::GitHub.JobStepsStatus? Type365 { get; set; } + public global::GitHub.NullableRepositoryPermissions? Type365 { get; set; } /// /// /// - public global::GitHub.ActionsWorkflowAccessToRepositoryAccessLevel? Type366 { get; set; } + public global::GitHub.NullableRepositorySquashMergeCommitTitle? Type366 { get; set; } /// /// /// - public global::GitHub.PullRequestMinimalHead? Type367 { get; set; } + public global::GitHub.NullableRepositorySquashMergeCommitMessage? Type367 { get; set; } /// /// /// - public global::GitHub.PullRequestMinimalBase? Type368 { get; set; } + public global::GitHub.NullableRepositoryMergeCommitTitle? Type368 { get; set; } /// /// /// - public global::GitHub.PullRequestMinimalHeadRepo? Type369 { get; set; } + public global::GitHub.NullableRepositoryMergeCommitMessage? Type369 { get; set; } /// /// /// - public global::GitHub.PullRequestMinimalBaseRepo? Type370 { get; set; } + public global::GitHub.CodeOfConductSimple? Type370 { get; set; } /// /// /// - public global::GitHub.NullableSimpleCommitAuthor? Type371 { get; set; } + public global::GitHub.FullRepository? Type371 { get; set; } /// /// /// - public global::GitHub.NullableSimpleCommitCommitter? Type372 { get; set; } + public global::GitHub.FullRepositoryPermissions? Type372 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type373 { get; set; } + public global::GitHub.FullRepositorySquashMergeCommitTitle? Type373 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type374 { get; set; } + public global::GitHub.FullRepositorySquashMergeCommitMessage? Type374 { get; set; } /// /// /// - public global::GitHub.NullableSimpleCommit? Type375 { get; set; } + public global::GitHub.FullRepositoryMergeCommitTitle? Type375 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type376 { get; set; } + public global::GitHub.FullRepositoryMergeCommitMessage? Type376 { get; set; } /// /// /// - public global::GitHub.EnvironmentApprovalsState? Type377 { get; set; } + public global::GitHub.FullRepositoryCustomProperties? Type377 { get; set; } /// /// /// - public global::GitHub.ReviewCustomGatesStateRequiredState? Type378 { get; set; } + public global::GitHub.RepositoryRuleEnforcement? Type378 { get; set; } /// /// /// - public global::GitHub.PendingDeploymentEnvironment? Type379 { get; set; } + public global::GitHub.RepositoryRulesetBypassActor? Type379 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type380 { get; set; } + public global::GitHub.RepositoryRulesetBypassActorActorType? Type380 { get; set; } /// /// /// - public global::GitHub.DeploymentReviewerType? Type381 { get; set; } + public global::GitHub.RepositoryRulesetBypassActorBypassMode? Type381 { get; set; } /// /// /// - public global::System.AnyOf? Type382 { get; set; } + public global::GitHub.RepositoryRulesetConditions? Type382 { get; set; } /// /// /// - public global::System.OneOf? Type383 { get; set; } + public global::GitHub.RepositoryRulesetConditionsRefName? Type383 { get; set; } /// /// /// - public global::GitHub.WorkflowRunUsageBillable? Type384 { get; set; } + public global::GitHub.RepositoryRulesetConditionsRepositoryNameTarget? Type384 { get; set; } /// /// /// - public global::GitHub.WorkflowRunUsageBillableUBUNTU? Type385 { get; set; } + public global::GitHub.RepositoryRulesetConditionsRepositoryNameTargetRepositoryName? Type385 { get; set; } /// /// /// - public global::GitHub.WorkflowRunUsageBillableMACOS? Type386 { get; set; } + public global::GitHub.RepositoryRulesetConditionsRepositoryIdTarget? Type386 { get; set; } /// /// /// - public global::GitHub.WorkflowRunUsageBillableWINDOWS? Type387 { get; set; } + public global::GitHub.RepositoryRulesetConditionsRepositoryIdTargetRepositoryId? Type387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type388 { get; set; } + public global::System.Collections.Generic.IList? Type388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type389 { get; set; } + public global::GitHub.RepositoryRulesetConditionsRepositoryPropertySpec? Type389 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type390 { get; set; } + public global::GitHub.RepositoryRulesetConditionsRepositoryPropertySpecSource? Type390 { get; set; } /// /// /// - public global::GitHub.WorkflowState? Type391 { get; set; } + public global::GitHub.RepositoryRulesetConditionsRepositoryPropertyTarget? Type391 { get; set; } /// /// /// - public global::GitHub.WorkflowUsageBillable? Type392 { get; set; } + public global::GitHub.RepositoryRulesetConditionsRepositoryPropertyTargetRepositoryProperty? Type392 { get; set; } /// /// /// - public global::GitHub.WorkflowUsageBillableUBUNTU? Type393 { get; set; } + public global::System.Collections.Generic.IList? Type393 { get; set; } /// /// /// - public global::GitHub.WorkflowUsageBillableMACOS? Type394 { get; set; } + public global::GitHub.OrgRulesetConditions? Type394 { get; set; } /// /// /// - public global::GitHub.WorkflowUsageBillableWINDOWS? Type395 { get; set; } + public global::System.AllOf? Type395 { get; set; } /// /// /// - public global::GitHub.ActivityActivityType? Type396 { get; set; } + public global::System.AllOf? Type396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type397 { get; set; } + public global::System.AllOf? Type397 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchPullRequestReviewDismissalRestrictions? Type398 { get; set; } + public global::GitHub.RepositoryRuleCreation? Type398 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchPullRequestReviewBypassPullRequestAllowances? Type399 { get; set; } + public global::GitHub.RepositoryRuleCreationType? Type399 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type400 { get; set; } + public global::GitHub.RepositoryRuleUpdate? Type400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type401 { get; set; } + public global::GitHub.RepositoryRuleUpdateType? Type401 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type402 { get; set; } + public global::GitHub.RepositoryRuleUpdateParameters? Type402 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type403 { get; set; } + public global::GitHub.RepositoryRuleDeletion? Type403 { get; set; } /// /// /// - public global::GitHub.BranchRestrictionPolicyAppsOwner? Type404 { get; set; } + public global::GitHub.RepositoryRuleDeletionType? Type404 { get; set; } /// /// /// - public global::GitHub.BranchRestrictionPolicyAppsPermissions? Type405 { get; set; } + public global::GitHub.RepositoryRuleRequiredLinearHistory? Type405 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchRequiredStatusCheck? Type406 { get; set; } + public global::GitHub.RepositoryRuleRequiredLinearHistoryType? Type406 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchAdminEnforced? Type407 { get; set; } + public global::GitHub.RepositoryRuleMergeQueue? Type407 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchPullRequestReview? Type408 { get; set; } + public global::GitHub.RepositoryRuleMergeQueueType? Type408 { get; set; } /// /// /// - public global::GitHub.BranchRestrictionPolicy? Type409 { get; set; } + public global::GitHub.RepositoryRuleMergeQueueParameters? Type409 { get; set; } /// /// /// - public global::GitHub.BranchProtectionRequiredLinearHistory? Type410 { get; set; } + public global::GitHub.RepositoryRuleMergeQueueParametersGroupingStrategy? Type410 { get; set; } /// /// /// - public global::GitHub.BranchProtectionAllowForcePushes? Type411 { get; set; } + public global::GitHub.RepositoryRuleMergeQueueParametersMergeMethod? Type411 { get; set; } /// /// /// - public global::GitHub.BranchProtectionAllowDeletions? Type412 { get; set; } + public global::GitHub.RepositoryRuleRequiredDeployments? Type412 { get; set; } /// /// /// - public global::GitHub.BranchProtectionBlockCreations? Type413 { get; set; } + public global::GitHub.RepositoryRuleRequiredDeploymentsType? Type413 { get; set; } /// /// /// - public global::GitHub.BranchProtectionRequiredConversationResolution? Type414 { get; set; } + public global::GitHub.RepositoryRuleRequiredDeploymentsParameters? Type414 { get; set; } /// /// /// - public global::GitHub.BranchProtectionRequiredSignatures? Type415 { get; set; } + public global::GitHub.RepositoryRuleRequiredSignatures? Type415 { get; set; } /// /// /// - public global::GitHub.BranchProtectionLockBranch? Type416 { get; set; } + public global::GitHub.RepositoryRuleRequiredSignaturesType? Type416 { get; set; } /// /// /// - public global::GitHub.BranchProtectionAllowForkSyncing? Type417 { get; set; } + public global::GitHub.RepositoryRulePullRequest? Type417 { get; set; } /// /// /// - public global::GitHub.ShortBranchCommit? Type418 { get; set; } + public global::GitHub.RepositoryRulePullRequestType? Type418 { get; set; } /// /// /// - public global::GitHub.BranchProtection? Type419 { get; set; } + public global::GitHub.RepositoryRulePullRequestParameters? Type419 { get; set; } /// /// /// - public global::GitHub.DiffEntryStatus? Type420 { get; set; } + public global::GitHub.RepositoryRuleParamsStatusCheckConfiguration? Type420 { get; set; } /// /// /// - public global::GitHub.CommitCommit? Type421 { get; set; } + public global::GitHub.RepositoryRuleRequiredStatusChecks? Type421 { get; set; } /// /// /// - public global::System.OneOf? Type422 { get; set; } + public global::GitHub.RepositoryRuleRequiredStatusChecksType? Type422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type423 { get; set; } + public global::GitHub.RepositoryRuleRequiredStatusChecksParameters? Type423 { get; set; } /// /// /// - public global::GitHub.CommitStats? Type424 { get; set; } + public global::System.Collections.Generic.IList? Type424 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type425 { get; set; } + public global::GitHub.RepositoryRuleNonFastForward? Type425 { get; set; } /// /// /// - public global::GitHub.NullableGitUser? Type426 { get; set; } + public global::GitHub.RepositoryRuleNonFastForwardType? Type426 { get; set; } /// /// /// - public global::GitHub.CommitCommitTree? Type427 { get; set; } + public global::GitHub.RepositoryRuleCommitMessagePattern? Type427 { get; set; } /// /// /// - public global::GitHub.Verification? Type428 { get; set; } + public global::GitHub.RepositoryRuleCommitMessagePatternType? Type428 { get; set; } /// /// /// - public global::GitHub.Commit? Type429 { get; set; } + public global::GitHub.RepositoryRuleCommitMessagePatternParameters? Type429 { get; set; } /// /// /// - public global::GitHub.BranchWithProtectionLinks? Type430 { get; set; } + public global::GitHub.RepositoryRuleCommitMessagePatternParametersOperator? Type430 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type431 { get; set; } + public global::GitHub.RepositoryRuleCommitAuthorEmailPattern? Type431 { get; set; } /// /// /// - public global::GitHub.StatusCheckPolicy? Type432 { get; set; } + public global::GitHub.RepositoryRuleCommitAuthorEmailPatternType? Type432 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchRequiredPullRequestReviews? Type433 { get; set; } + public global::GitHub.RepositoryRuleCommitAuthorEmailPatternParameters? Type433 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchRequiredSignatures? Type434 { get; set; } + public global::GitHub.RepositoryRuleCommitAuthorEmailPatternParametersOperator? Type434 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchEnforceAdmins? Type435 { get; set; } + public global::GitHub.RepositoryRuleCommitterEmailPattern? Type435 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchRequiredLinearHistory? Type436 { get; set; } + public global::GitHub.RepositoryRuleCommitterEmailPatternType? Type436 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchAllowForcePushes? Type437 { get; set; } + public global::GitHub.RepositoryRuleCommitterEmailPatternParameters? Type437 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchAllowDeletions? Type438 { get; set; } + public global::GitHub.RepositoryRuleCommitterEmailPatternParametersOperator? Type438 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchRequiredConversationResolution? Type439 { get; set; } + public global::GitHub.RepositoryRuleBranchNamePattern? Type439 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchBlockCreations? Type440 { get; set; } + public global::GitHub.RepositoryRuleBranchNamePatternType? Type440 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchLockBranch? Type441 { get; set; } + public global::GitHub.RepositoryRuleBranchNamePatternParameters? Type441 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchAllowForkSyncing? Type442 { get; set; } + public global::GitHub.RepositoryRuleBranchNamePatternParametersOperator? Type442 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchRequiredPullRequestReviewsDismissalRestrictions? Type443 { get; set; } + public global::GitHub.RepositoryRuleTagNamePattern? Type443 { get; set; } /// /// /// - public global::GitHub.ProtectedBranchRequiredPullRequestReviewsBypassPullRequestAllowances? Type444 { get; set; } + public global::GitHub.RepositoryRuleTagNamePatternType? Type444 { get; set; } /// /// /// - public global::GitHub.CheckRunStatus? Type445 { get; set; } + public global::GitHub.RepositoryRuleTagNamePatternParameters? Type445 { get; set; } /// /// /// - public global::GitHub.CheckRunConclusion? Type446 { get; set; } + public global::GitHub.RepositoryRuleTagNamePatternParametersOperator? Type446 { get; set; } /// /// /// - public global::GitHub.CheckRunOutput? Type447 { get; set; } + public global::GitHub.RepositoryRuleParamsRestrictedCommits? Type447 { get; set; } /// /// /// - public global::GitHub.CheckRunCheckSuite? Type448 { get; set; } + public global::GitHub.RepositoryRuleParamsWorkflowFileReference? Type448 { get; set; } /// /// /// - public global::GitHub.DeploymentSimple? Type449 { get; set; } + public global::GitHub.RepositoryRuleWorkflows? Type449 { get; set; } /// /// /// - public global::GitHub.SimpleCommitAuthor? Type450 { get; set; } + public global::GitHub.RepositoryRuleWorkflowsType? Type450 { get; set; } /// /// /// - public global::GitHub.SimpleCommitCommitter? Type451 { get; set; } + public global::GitHub.RepositoryRuleWorkflowsParameters? Type451 { get; set; } /// /// /// - public global::GitHub.CheckSuiteStatus? Type452 { get; set; } + public global::System.Collections.Generic.IList? Type452 { get; set; } /// /// /// - public global::GitHub.CheckSuiteConclusion? Type453 { get; set; } + public global::GitHub.RepositoryRuleParamsCodeScanningTool? Type453 { get; set; } /// /// /// - public global::GitHub.SimpleCommit? Type454 { get; set; } + public global::GitHub.RepositoryRuleParamsCodeScanningToolAlertsThreshold? Type454 { get; set; } /// /// /// - public global::GitHub.CheckSuitePreferencePreferences? Type455 { get; set; } + public global::GitHub.RepositoryRuleParamsCodeScanningToolSecurityAlertsThreshold? Type455 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type456 { get; set; } + public global::GitHub.RepositoryRuleCodeScanning? Type456 { get; set; } /// /// /// - public global::GitHub.CodeScanningAlertRuleSeverity? Type457 { get; set; } + public global::GitHub.RepositoryRuleCodeScanningType? Type457 { get; set; } /// /// /// - public global::GitHub.CodeScanningAlertRuleSecuritySeverityLevel? Type458 { get; set; } + public global::GitHub.RepositoryRuleCodeScanningParameters? Type458 { get; set; } /// /// /// - public global::GitHub.CodeScanningAlertRule? Type459 { get; set; } + public global::System.Collections.Generic.IList? Type459 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type460 { get; set; } + public global::GitHub.RepositoryRule? Type460 { get; set; } /// /// /// - public global::GitHub.CodeScanningVariantAnalysisLanguage? Type461 { get; set; } + public global::GitHub.RepositoryRuleVariant16? Type461 { get; set; } /// /// /// - public global::GitHub.CodeScanningVariantAnalysisStatus? Type462 { get; set; } + public global::GitHub.RepositoryRuleVariant16Type? Type462 { get; set; } /// /// /// - public global::GitHub.CodeScanningVariantAnalysisFailureReason? Type463 { get; set; } + public global::GitHub.RepositoryRuleVariant16Parameters? Type463 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type464 { get; set; } + public global::GitHub.RepositoryRuleVariant17? Type464 { get; set; } /// /// /// - public global::GitHub.CodeScanningVariantAnalysisSkippedRepositories? Type465 { get; set; } + public global::GitHub.RepositoryRuleVariant17Type? Type465 { get; set; } /// /// /// - public global::GitHub.CodeScanningVariantAnalysisSkippedRepoGroup? Type466 { get; set; } + public global::GitHub.RepositoryRuleVariant17Parameters? Type466 { get; set; } /// /// /// - public global::GitHub.CodeScanningVariantAnalysisSkippedRepositoriesNotFoundRepos? Type467 { get; set; } + public global::GitHub.RepositoryRuleVariant18? Type467 { get; set; } /// /// /// - public global::GitHub.CodeScanningVariantAnalysisRepository? Type468 { get; set; } + public global::GitHub.RepositoryRuleVariant18Type? Type468 { get; set; } /// /// /// - public global::GitHub.CodeScanningDefaultSetupState? Type469 { get; set; } + public global::GitHub.RepositoryRuleVariant18Parameters? Type469 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type470 { get; set; } + public global::GitHub.RepositoryRuleVariant19? Type470 { get; set; } /// /// /// - public global::GitHub.CodeScanningDefaultSetupQuerySuite? Type471 { get; set; } + public global::GitHub.RepositoryRuleVariant19Type? Type471 { get; set; } /// /// /// - public global::GitHub.CodeScanningDefaultSetupSchedule? Type472 { get; set; } + public global::GitHub.RepositoryRuleVariant19Parameters? Type472 { get; set; } /// /// /// - public global::GitHub.CodeScanningDefaultSetupUpdateState? Type473 { get; set; } + public global::GitHub.RepositoryRuleset? Type473 { get; set; } /// /// /// - public global::GitHub.CodeScanningDefaultSetupUpdateQuerySuite? Type474 { get; set; } + public global::GitHub.RepositoryRulesetTarget? Type474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type475 { get; set; } + public global::GitHub.RepositoryRulesetSourceType? Type475 { get; set; } /// /// /// - public global::GitHub.CodeScanningSarifsStatusProcessingStatus? Type476 { get; set; } + public global::System.Collections.Generic.IList? Type476 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type477 { get; set; } + public global::GitHub.RepositoryRulesetCurrentUserCanBypass? Type477 { get; set; } /// /// /// - public global::GitHub.CodespaceMachinePrebuildAvailability? Type478 { get; set; } + public global::GitHub.RepositoryRulesetLinks? Type478 { get; set; } /// /// /// - public global::GitHub.CollaboratorPermissions? Type479 { get; set; } + public global::GitHub.RepositoryRulesetLinksSelf? Type479 { get; set; } /// /// /// - public global::GitHub.RepositoryInvitationPermissions? Type480 { get; set; } + public global::GitHub.RepositoryRulesetLinksHtml? Type480 { get; set; } /// /// /// - public global::GitHub.NullableCollaboratorPermissions? Type481 { get; set; } + public global::System.AnyOf? Type481 { get; set; } /// /// /// - public global::GitHub.NullableCollaborator? Type482 { get; set; } + public global::System.Collections.Generic.IList? Type482 { get; set; } /// /// /// - public global::GitHub.BranchShortCommit? Type483 { get; set; } + public global::System.Collections.Generic.IList? Type483 { get; set; } /// /// /// - public global::GitHub.AutoMergeMergeMethod? Type484 { get; set; } + public global::GitHub.RuleSuite? Type484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type485 { get; set; } + public global::GitHub.RuleSuiteResult? Type485 { get; set; } /// /// /// - public global::GitHub.PullRequestSimpleHead? Type486 { get; set; } + public global::GitHub.RuleSuiteEvaluationResult? Type486 { get; set; } /// /// /// - public global::GitHub.PullRequestSimpleBase? Type487 { get; set; } + public global::GitHub.RuleSuite2? Type487 { get; set; } /// /// /// - public global::GitHub.PullRequestSimpleLinks? Type488 { get; set; } + public global::GitHub.RuleSuiteResult2? Type488 { get; set; } /// /// /// - public global::GitHub.AutoMerge? Type489 { get; set; } + public global::GitHub.RuleSuiteEvaluationResult2? Type489 { get; set; } /// /// /// - public global::GitHub.Link? Type490 { get; set; } + public global::System.Collections.Generic.IList? Type490 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type491 { get; set; } + public global::GitHub.RuleSuiteRuleEvaluation? Type491 { get; set; } /// /// /// - public global::GitHub.CommunityProfileFiles? Type492 { get; set; } + public global::GitHub.RuleSuiteRuleEvaluationRuleSource? Type492 { get; set; } /// /// /// - public global::GitHub.NullableCodeOfConductSimple? Type493 { get; set; } + public global::GitHub.RuleSuiteRuleEvaluationEnforcement? Type493 { get; set; } /// /// /// - public global::GitHub.NullableCommunityHealthFile? Type494 { get; set; } + public global::GitHub.RuleSuiteRuleEvaluationResult? Type494 { get; set; } /// /// /// - public global::GitHub.CommitComparisonStatus? Type495 { get; set; } + public global::GitHub.RepositoryAdvisoryVulnerability? Type495 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type496 { get; set; } + public global::GitHub.RepositoryAdvisoryVulnerabilityPackage? Type496 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type497 { get; set; } + public global::GitHub.RepositoryAdvisoryCredit? Type497 { get; set; } /// /// /// - public global::GitHub.ContentTreeLinks? Type498 { get; set; } + public global::GitHub.RepositoryAdvisoryCreditState? Type498 { get; set; } /// /// /// - public global::GitHub.ContentTreeEntriesLinks? Type499 { get; set; } + public global::GitHub.RepositoryAdvisory? Type499 { get; set; } /// /// /// - public global::GitHub.ContentDirectoryType? Type500 { get; set; } + public global::GitHub.RepositoryAdvisorySeverity? Type500 { get; set; } /// /// /// - public global::GitHub.ContentDirectoryLinks? Type501 { get; set; } + public global::System.AllOf? Type501 { get; set; } /// /// /// - public global::GitHub.ContentFileType? Type502 { get; set; } + public global::System.Collections.Generic.IList? Type502 { get; set; } /// /// /// - public global::GitHub.ContentFileLinks? Type503 { get; set; } + public global::GitHub.RepositoryAdvisoryIdentifier? Type503 { get; set; } /// /// /// - public global::GitHub.ContentSymlinkType? Type504 { get; set; } + public global::GitHub.RepositoryAdvisoryIdentifierType? Type504 { get; set; } /// /// /// - public global::GitHub.ContentSymlinkLinks? Type505 { get; set; } + public global::GitHub.RepositoryAdvisoryState? Type505 { get; set; } /// /// /// - public global::GitHub.ContentSubmoduleType? Type506 { get; set; } + public global::GitHub.RepositoryAdvisorySubmission? Type506 { get; set; } /// /// /// - public global::GitHub.ContentSubmoduleLinks? Type507 { get; set; } + public global::System.Collections.Generic.IList? Type507 { get; set; } /// /// /// - public global::GitHub.FileCommitContent? Type508 { get; set; } + public global::GitHub.RepositoryAdvisoryCvss? Type508 { get; set; } /// /// /// - public global::GitHub.FileCommitCommit? Type509 { get; set; } + public global::System.Collections.Generic.IList? Type509 { get; set; } /// /// /// - public global::GitHub.FileCommitContentLinks? Type510 { get; set; } + public global::GitHub.RepositoryAdvisoryCwe? Type510 { get; set; } /// /// /// - public global::GitHub.FileCommitCommitAuthor? Type511 { get; set; } + public global::System.Collections.Generic.IList? Type511 { get; set; } /// /// /// - public global::GitHub.FileCommitCommitCommitter? Type512 { get; set; } + public global::GitHub.RepositoryAdvisoryCredit2? Type512 { get; set; } /// /// /// - public global::GitHub.FileCommitCommitTree? Type513 { get; set; } + public global::System.Collections.Generic.IList? Type513 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type514 { get; set; } + public global::System.Collections.Generic.IList? Type514 { get; set; } /// /// /// - public global::GitHub.FileCommitCommitVerification? Type515 { get; set; } + public global::System.AllOf? Type515 { get; set; } /// /// /// - public global::GitHub.DependabotAlertState? Type516 { get; set; } + public global::GitHub.ActionsBillingUsage? Type516 { get; set; } /// /// /// - public global::GitHub.DependabotAlertDependency? Type517 { get; set; } + public global::GitHub.ActionsBillingUsageMinutesUsedBreakdown? Type517 { get; set; } /// /// /// - public global::GitHub.DependabotAlertDismissedReason? Type518 { get; set; } + public global::GitHub.PackagesBillingUsage? Type518 { get; set; } /// /// /// - public global::GitHub.DependabotAlertDependencyScope? Type519 { get; set; } + public global::GitHub.CombinedBillingUsage? Type519 { get; set; } /// /// /// - public global::GitHub.DependencyGraphDiffChangeType? Type520 { get; set; } + public global::GitHub.TeamOrganization? Type520 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type521 { get; set; } + public global::GitHub.TeamOrganizationPlan? Type521 { get; set; } /// /// /// - public global::GitHub.DependencyGraphDiffScope? Type522 { get; set; } + public global::GitHub.TeamFull? Type522 { get; set; } /// /// /// - public global::GitHub.DependencyGraphSpdxSbomSbom? Type523 { get; set; } + public global::GitHub.TeamFullPrivacy? Type523 { get; set; } /// /// /// - public global::GitHub.DependencyGraphSpdxSbomSbomCreationInfo? Type524 { get; set; } + public global::GitHub.TeamFullNotificationSetting? Type524 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type525 { get; set; } + public global::GitHub.TeamDiscussion? Type525 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type526 { get; set; } + public global::GitHub.TeamDiscussionComment? Type526 { get; set; } /// /// /// - public global::GitHub.Metadata? Type527 { get; set; } + public global::GitHub.Reaction? Type527 { get; set; } /// /// /// - public global::GitHub.DependencyRelationship? Type528 { get; set; } + public global::GitHub.ReactionContent? Type528 { get; set; } /// /// /// - public global::GitHub.DependencyScope? Type529 { get; set; } + public global::GitHub.TeamMembership? Type529 { get; set; } /// /// /// - public global::GitHub.ManifestFile? Type530 { get; set; } + public global::GitHub.TeamMembershipRole? Type530 { get; set; } /// /// /// - public global::GitHub.SnapshotJob? Type531 { get; set; } + public global::GitHub.TeamMembershipState? Type531 { get; set; } /// /// /// - public global::GitHub.SnapshotDetector? Type532 { get; set; } + public global::GitHub.TeamProject? Type532 { get; set; } /// /// /// - public global::GitHub.DeploymentStatusState? Type533 { get; set; } + public global::GitHub.TeamProjectPermissions? Type533 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?>? Type534 { get; set; } + public global::GitHub.TeamRepository? Type534 { get; set; } /// /// /// - public global::GitHub.DeploymentBranchPolicySettings? Type535 { get; set; } + public global::GitHub.TeamRepositoryPermissions? Type535 { get; set; } /// /// /// - public global::GitHub.DeploymentBranchPolicyType? Type536 { get; set; } + public global::GitHub.ProjectCard? Type536 { get; set; } /// /// /// - public global::GitHub.DeploymentBranchPolicyNamePatternWithTypeType? Type537 { get; set; } + public global::GitHub.ProjectColumn? Type537 { get; set; } /// /// /// - public global::GitHub.CustomDeploymentRuleApp? Type538 { get; set; } + public global::GitHub.ProjectCollaboratorPermission? Type538 { get; set; } /// /// /// - public global::GitHub.GitCommitAuthor? Type539 { get; set; } + public global::GitHub.RateLimit? Type539 { get; set; } /// /// /// - public global::GitHub.GitCommitCommitter? Type540 { get; set; } + public global::GitHub.RateLimitOverview? Type540 { get; set; } /// /// /// - public global::GitHub.GitCommitTree? Type541 { get; set; } + public global::GitHub.RateLimitOverviewResources? Type541 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type542 { get; set; } + public global::GitHub.Artifact? Type542 { get; set; } /// /// /// - public global::GitHub.GitCommitVerification? Type543 { get; set; } + public global::GitHub.ArtifactWorkflowRun? Type543 { get; set; } /// /// /// - public global::GitHub.GitRefObject? Type544 { get; set; } + public global::GitHub.ActionsCacheList? Type544 { get; set; } /// /// /// - public global::GitHub.GitTagTagger? Type545 { get; set; } + public global::System.Collections.Generic.IList? Type545 { get; set; } /// /// /// - public global::GitHub.GitTagObject? Type546 { get; set; } + public global::GitHub.ActionsCacheListActionsCache? Type546 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type547 { get; set; } + public global::GitHub.Job? Type547 { get; set; } /// /// /// - public global::GitHub.WebhookConfig? Type548 { get; set; } + public global::GitHub.JobStatus? Type548 { get; set; } /// /// /// - public global::GitHub.HookResponse? Type549 { get; set; } + public global::GitHub.JobConclusion? Type549 { get; set; } /// /// /// - public global::GitHub.ImportStatus? Type550 { get; set; } + public global::System.Collections.Generic.IList? Type550 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type551 { get; set; } + public global::GitHub.JobStep? Type551 { get; set; } /// /// /// - public global::GitHub.NullableIssueStateReason? Type552 { get; set; } + public global::GitHub.JobStepStatus? Type552 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type553 { get; set; } + public global::GitHub.OidcCustomSubRepo? Type553 { get; set; } /// /// /// - public global::GitHub.NullableIssuePullRequest? Type554 { get; set; } + public global::GitHub.ActionsSecret? Type554 { get; set; } /// /// /// - public global::GitHub.NullableIssue? Type555 { get; set; } + public global::GitHub.ActionsVariable? Type555 { get; set; } /// /// /// - public global::GitHub.IssueEventLabel? Type556 { get; set; } + public global::GitHub.ActionsRepositoryPermissions? Type556 { get; set; } /// /// /// - public global::GitHub.Team? Type557 { get; set; } + public global::GitHub.ActionsWorkflowAccessToRepository? Type557 { get; set; } /// /// /// - public global::GitHub.IssueEventDismissedReview? Type558 { get; set; } + public global::GitHub.ActionsWorkflowAccessToRepositoryAccessLevel? Type558 { get; set; } /// /// /// - public global::GitHub.IssueEventMilestone? Type559 { get; set; } + public global::GitHub.ReferencedWorkflow? Type559 { get; set; } /// /// /// - public global::GitHub.IssueEventProjectCard? Type560 { get; set; } + public global::GitHub.PullRequestMinimal? Type560 { get; set; } /// /// /// - public global::GitHub.IssueEventRename? Type561 { get; set; } + public global::GitHub.PullRequestMinimalHead? Type561 { get; set; } /// /// /// - public global::GitHub.LabeledIssueEventLabel? Type562 { get; set; } + public global::GitHub.PullRequestMinimalHeadRepo? Type562 { get; set; } /// /// /// - public global::GitHub.UnlabeledIssueEventLabel? Type563 { get; set; } + public global::GitHub.PullRequestMinimalBase? Type563 { get; set; } /// /// /// - public global::GitHub.Integration? Type564 { get; set; } + public global::GitHub.PullRequestMinimalBaseRepo? Type564 { get; set; } /// /// /// - public global::GitHub.MilestonedIssueEventMilestone? Type565 { get; set; } + public global::GitHub.NullableSimpleCommit? Type565 { get; set; } /// /// /// - public global::GitHub.DemilestonedIssueEventMilestone? Type566 { get; set; } + public global::GitHub.NullableSimpleCommitAuthor? Type566 { get; set; } /// /// /// - public global::GitHub.RenamedIssueEventRename? Type567 { get; set; } + public global::GitHub.NullableSimpleCommitCommitter? Type567 { get; set; } /// /// /// - public global::GitHub.ReviewDismissedIssueEventDismissedReview? Type568 { get; set; } + public global::GitHub.WorkflowRun? Type568 { get; set; } /// /// /// - public global::GitHub.AddedToProjectIssueEventProjectCard? Type569 { get; set; } + public global::System.Collections.Generic.IList? Type569 { get; set; } /// /// /// - public global::GitHub.MovedColumnInProjectIssueEventProjectCard? Type570 { get; set; } + public global::System.Collections.Generic.IList? Type570 { get; set; } /// /// /// - public global::GitHub.RemovedFromProjectIssueEventProjectCard? Type571 { get; set; } + public global::GitHub.EnvironmentApprovals? Type571 { get; set; } /// /// /// - public global::GitHub.ConvertedNoteToIssueIssueEventProjectCard? Type572 { get; set; } + public global::System.Collections.Generic.IList? Type572 { get; set; } /// /// /// - public global::GitHub.TimelineCrossReferencedEventSource? Type573 { get; set; } + public global::GitHub.EnvironmentApprovalsEnvironment? Type573 { get; set; } /// /// /// - public global::GitHub.TimelineCommittedEventAuthor? Type574 { get; set; } + public global::GitHub.EnvironmentApprovalsState? Type574 { get; set; } /// /// /// - public global::GitHub.TimelineCommittedEventCommitter? Type575 { get; set; } + public global::GitHub.ReviewCustomGatesCommentRequired? Type575 { get; set; } /// /// /// - public global::GitHub.TimelineCommittedEventTree? Type576 { get; set; } + public global::GitHub.ReviewCustomGatesStateRequired? Type576 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type577 { get; set; } + public global::GitHub.ReviewCustomGatesStateRequiredState? Type577 { get; set; } /// /// /// - public global::GitHub.TimelineCommittedEventVerification? Type578 { get; set; } + public global::GitHub.DeploymentReviewerType? Type578 { get; set; } /// /// /// - public global::GitHub.TimelineReviewedEventLinks? Type579 { get; set; } + public global::GitHub.PendingDeployment? Type579 { get; set; } /// /// /// - public global::GitHub.TimelineReviewedEventLinksHtml? Type580 { get; set; } + public global::GitHub.PendingDeploymentEnvironment? Type580 { get; set; } /// /// /// - public global::GitHub.TimelineReviewedEventLinksPullRequest? Type581 { get; set; } + public global::System.Collections.Generic.IList? Type581 { get; set; } /// /// /// - public global::GitHub.PullRequestReviewCommentLinks? Type582 { get; set; } + public global::GitHub.PendingDeploymentReviewer? Type582 { get; set; } /// /// /// - public global::GitHub.PullRequestReviewCommentStartSide? Type583 { get; set; } + public global::System.AnyOf? Type583 { get; set; } /// /// /// - public global::GitHub.PullRequestReviewCommentSide? Type584 { get; set; } + public global::GitHub.Deployment? Type584 { get; set; } /// /// /// - public global::GitHub.PullRequestReviewCommentSubjectType? Type585 { get; set; } + public global::System.OneOf? Type585 { get; set; } /// /// /// - public global::GitHub.PullRequestReviewCommentLinksSelf? Type586 { get; set; } + public global::GitHub.DeploymentPayload? Type586 { get; set; } /// /// /// - public global::GitHub.PullRequestReviewCommentLinksHtml? Type587 { get; set; } + public global::GitHub.WorkflowRunUsage? Type587 { get; set; } /// /// /// - public global::GitHub.PullRequestReviewCommentLinksPullRequest? Type588 { get; set; } + public global::GitHub.WorkflowRunUsageBillable? Type588 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type589 { get; set; } + public global::GitHub.WorkflowRunUsageBillableUBUNTU? Type589 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type590 { get; set; } + public global::System.Collections.Generic.IList? Type590 { get; set; } /// /// /// - public global::GitHub.LicenseContentLinks? Type591 { get; set; } + public global::GitHub.WorkflowRunUsageBillableUBUNTUJobRun? Type591 { get; set; } /// /// /// - public global::GitHub.MergedUpstreamMergeType? Type592 { get; set; } + public global::GitHub.WorkflowRunUsageBillableMACOS? Type592 { get; set; } /// /// /// - public global::GitHub.MilestoneState? Type593 { get; set; } + public global::System.Collections.Generic.IList? Type593 { get; set; } /// /// /// - public global::GitHub.PagesHttpsCertificateState? Type594 { get; set; } + public global::GitHub.WorkflowRunUsageBillableMACOSJobRun? Type594 { get; set; } /// /// /// - public global::GitHub.PageStatus? Type595 { get; set; } + public global::GitHub.WorkflowRunUsageBillableWINDOWS? Type595 { get; set; } /// /// /// - public global::GitHub.PageProtectedDomainState? Type596 { get; set; } + public global::System.Collections.Generic.IList? Type596 { get; set; } /// /// /// - public global::GitHub.PageBuildType? Type597 { get; set; } + public global::GitHub.WorkflowRunUsageBillableWINDOWSJobRun? Type597 { get; set; } /// /// /// - public global::GitHub.PagesSourceHash? Type598 { get; set; } + public global::GitHub.Workflow? Type598 { get; set; } /// /// /// - public global::GitHub.PagesHttpsCertificate? Type599 { get; set; } + public global::GitHub.WorkflowState? Type599 { get; set; } /// /// /// - public global::GitHub.PageBuildError? Type600 { get; set; } + public global::GitHub.WorkflowUsage? Type600 { get; set; } /// /// /// - public global::System.OneOf? Type601 { get; set; } + public global::GitHub.WorkflowUsageBillable? Type601 { get; set; } /// /// /// - public global::GitHub.PagesDeploymentStatusStatus? Type602 { get; set; } + public global::GitHub.WorkflowUsageBillableUBUNTU? Type602 { get; set; } /// /// /// - public global::GitHub.PagesHealthCheckDomain? Type603 { get; set; } + public global::GitHub.WorkflowUsageBillableMACOS? Type603 { get; set; } /// /// /// - public global::GitHub.PagesHealthCheckAltDomain? Type604 { get; set; } + public global::GitHub.WorkflowUsageBillableWINDOWS? Type604 { get; set; } /// /// /// - public global::GitHub.PullRequestState? Type605 { get; set; } + public global::GitHub.Activity? Type605 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type606 { get; set; } + public global::GitHub.ActivityActivityType? Type606 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type607 { get; set; } + public global::GitHub.Autolink? Type607 { get; set; } /// /// /// - public global::GitHub.PullRequestHead? Type608 { get; set; } + public global::GitHub.CheckAutomatedSecurityFixes? Type608 { get; set; } /// /// /// - public global::GitHub.PullRequestBase? Type609 { get; set; } + public global::GitHub.ProtectedBranchRequiredStatusCheck? Type609 { get; set; } /// /// /// - public global::GitHub.PullRequestLinks? Type610 { get; set; } + public global::System.Collections.Generic.IList? Type610 { get; set; } /// /// /// - public global::GitHub.PullRequestHeadRepo? Type611 { get; set; } + public global::GitHub.ProtectedBranchRequiredStatusCheckCheck? Type611 { get; set; } /// /// /// - public global::GitHub.PullRequestHeadUser? Type612 { get; set; } + public global::GitHub.ProtectedBranchAdminEnforced? Type612 { get; set; } /// /// /// - public global::GitHub.PullRequestHeadRepoOwner? Type613 { get; set; } + public global::GitHub.ProtectedBranchPullRequestReview? Type613 { get; set; } /// /// /// - public global::GitHub.PullRequestHeadRepoPermissions? Type614 { get; set; } + public global::GitHub.ProtectedBranchPullRequestReviewDismissalRestrictions? Type614 { get; set; } /// /// /// - public global::GitHub.PullRequestHeadRepoLicense? Type615 { get; set; } + public global::System.Collections.Generic.IList? Type615 { get; set; } /// /// /// - public global::GitHub.PullRequestBaseRepo? Type616 { get; set; } + public global::GitHub.ProtectedBranchPullRequestReviewBypassPullRequestAllowances? Type616 { get; set; } /// /// /// - public global::GitHub.PullRequestBaseUser? Type617 { get; set; } + public global::GitHub.BranchRestrictionPolicy? Type617 { get; set; } /// /// /// - public global::GitHub.PullRequestBaseRepoOwner? Type618 { get; set; } + public global::System.Collections.Generic.IList? Type618 { get; set; } /// /// /// - public global::GitHub.PullRequestBaseRepoPermissions? Type619 { get; set; } + public global::GitHub.BranchRestrictionPolicyUser? Type619 { get; set; } /// /// /// - public global::GitHub.PullRequestReviewLinks? Type620 { get; set; } + public global::System.Collections.Generic.IList? Type620 { get; set; } /// /// /// - public global::GitHub.PullRequestReviewLinksHtml? Type621 { get; set; } + public global::GitHub.BranchRestrictionPolicyTeam? Type621 { get; set; } /// /// /// - public global::GitHub.PullRequestReviewLinksPullRequest? Type622 { get; set; } + public global::System.Collections.Generic.IList? Type622 { get; set; } /// /// /// - public global::GitHub.ReviewCommentLinks? Type623 { get; set; } + public global::GitHub.BranchRestrictionPolicyApp? Type623 { get; set; } /// /// /// - public global::GitHub.ReviewCommentSide? Type624 { get; set; } + public global::GitHub.BranchRestrictionPolicyAppOwner? Type624 { get; set; } /// /// /// - public global::GitHub.ReviewCommentStartSide? Type625 { get; set; } + public global::GitHub.BranchRestrictionPolicyAppPermissions? Type625 { get; set; } /// /// /// - public global::GitHub.ReleaseAssetState? Type626 { get; set; } + public global::GitHub.BranchProtection? Type626 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type627 { get; set; } + public global::GitHub.BranchProtectionRequiredLinearHistory? Type627 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleRulesetInfoRulesetSourceType? Type628 { get; set; } + public global::GitHub.BranchProtectionAllowForcePushes? Type628 { get; set; } /// /// /// - public global::GitHub.SecretScanningAlertValidity? Type629 { get; set; } + public global::GitHub.BranchProtectionAllowDeletions? Type629 { get; set; } /// /// /// - public global::GitHub.SecretScanningLocationType? Type630 { get; set; } + public global::GitHub.BranchProtectionBlockCreations? Type630 { get; set; } /// /// /// - public global::System.OneOf? Type631 { get; set; } + public global::GitHub.BranchProtectionRequiredConversationResolution? Type631 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type632 { get; set; } + public global::GitHub.BranchProtectionRequiredSignatures? Type632 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type633 { get; set; } + public global::GitHub.BranchProtectionLockBranch? Type633 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisoryCreateSeverity? Type634 { get; set; } + public global::GitHub.BranchProtectionAllowForkSyncing? Type634 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisoryCreateVulnerabilitiesPackage? Type635 { get; set; } + public global::GitHub.ShortBranch? Type635 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type636 { get; set; } + public global::GitHub.ShortBranchCommit? Type636 { get; set; } /// /// /// - public global::GitHub.PrivateVulnerabilityReportCreateSeverity? Type637 { get; set; } + public global::GitHub.NullableGitUser? Type637 { get; set; } /// /// /// - public global::GitHub.PrivateVulnerabilityReportCreateVulnerabilitiesPackage? Type638 { get; set; } + public global::GitHub.Verification? Type638 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type639 { get; set; } + public global::GitHub.DiffEntry? Type639 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type640 { get; set; } + public global::GitHub.DiffEntryStatus? Type640 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisoryUpdateSeverity? Type641 { get; set; } + public global::GitHub.Commit? Type641 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisoryUpdateState? Type642 { get; set; } + public global::GitHub.CommitCommit1? Type642 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisoryUpdateVulnerabilitiesPackage? Type643 { get; set; } + public global::GitHub.CommitCommit1Tree? Type643 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type644 { get; set; } + public global::System.OneOf? Type644 { get; set; } /// /// /// - public global::GitHub.TagCommit? Type645 { get; set; } + public global::System.Collections.Generic.IList? Type645 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type646 { get; set; } + public global::GitHub.CommitParent? Type646 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type647 { get; set; } + public global::GitHub.CommitStats? Type647 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type648 { get; set; } + public global::System.Collections.Generic.IList? Type648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type649 { get; set; } + public global::GitHub.BranchWithProtection? Type649 { get; set; } /// /// /// - public global::GitHub.CommitSearchResultItemCommit? Type650 { get; set; } + public global::GitHub.BranchWithProtectionLinks? Type650 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type651 { get; set; } + public global::GitHub.StatusCheckPolicy? Type651 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type652 { get; set; } + public global::System.Collections.Generic.IList? Type652 { get; set; } /// /// /// - public global::GitHub.CommitSearchResultItemCommitAuthor? Type653 { get; set; } + public global::GitHub.StatusCheckPolicyCheck? Type653 { get; set; } /// /// /// - public global::GitHub.CommitSearchResultItemCommitTree? Type654 { get; set; } + public global::GitHub.ProtectedBranch? Type654 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type655 { get; set; } + public global::GitHub.ProtectedBranchRequiredPullRequestReviews? Type655 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type656 { get; set; } + public global::GitHub.ProtectedBranchRequiredPullRequestReviewsDismissalRestrictions? Type656 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type657 { get; set; } + public global::GitHub.ProtectedBranchRequiredPullRequestReviewsBypassPullRequestAllowances? Type657 { get; set; } /// /// /// - public global::GitHub.IssueSearchResultItemPullRequest? Type658 { get; set; } + public global::GitHub.ProtectedBranchRequiredSignatures? Type658 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type659 { get; set; } + public global::GitHub.ProtectedBranchEnforceAdmins? Type659 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type660 { get; set; } + public global::GitHub.ProtectedBranchRequiredLinearHistory? Type660 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type661 { get; set; } + public global::GitHub.ProtectedBranchAllowForcePushes? Type661 { get; set; } /// /// /// - public global::GitHub.RepoSearchResultItemPermissions? Type662 { get; set; } + public global::GitHub.ProtectedBranchAllowDeletions? Type662 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type663 { get; set; } + public global::GitHub.ProtectedBranchRequiredConversationResolution? Type663 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type664 { get; set; } + public global::GitHub.ProtectedBranchBlockCreations? Type664 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type665 { get; set; } + public global::GitHub.ProtectedBranchLockBranch? Type665 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type666 { get; set; } + public global::GitHub.ProtectedBranchAllowForkSyncing? Type666 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type667 { get; set; } + public global::GitHub.DeploymentSimple? Type667 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type668 { get; set; } + public global::GitHub.CheckRun? Type668 { get; set; } /// /// /// - public global::GitHub.TopicSearchResultItemRelatedTopicRelation? Type669 { get; set; } + public global::GitHub.CheckRunStatus? Type669 { get; set; } /// /// /// - public global::GitHub.TopicSearchResultItemAliasesTopicRelation? Type670 { get; set; } + public global::GitHub.CheckRunConclusion? Type670 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type671 { get; set; } + public global::GitHub.CheckRunOutput? Type671 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type672 { get; set; } + public global::GitHub.CheckRunCheckSuite? Type672 { get; set; } /// /// /// - public global::GitHub.PrivateUserPlan? Type673 { get; set; } + public global::GitHub.CheckAnnotation? Type673 { get; set; } /// /// /// - public global::GitHub.CodespacesSecretVisibility? Type674 { get; set; } + public global::GitHub.SimpleCommit? Type674 { get; set; } /// /// /// - public global::GitHub.FullRepository? Type675 { get; set; } + public global::GitHub.SimpleCommitAuthor? Type675 { get; set; } /// /// /// - public global::GitHub.CodespaceWithFullRepositoryState? Type676 { get; set; } + public global::GitHub.SimpleCommitCommitter? Type676 { get; set; } /// /// /// - public global::GitHub.CodespaceWithFullRepositoryGitStatus? Type677 { get; set; } + public global::GitHub.CheckSuite? Type677 { get; set; } /// /// /// - public global::GitHub.CodespaceWithFullRepositoryLocation? Type678 { get; set; } + public global::GitHub.CheckSuiteStatus? Type678 { get; set; } /// /// /// - public global::GitHub.CodespaceWithFullRepositoryRuntimeConstraints? Type679 { get; set; } + public global::GitHub.CheckSuiteConclusion? Type679 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type680 { get; set; } + public global::GitHub.CheckSuitePreference? Type680 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type681 { get; set; } + public global::GitHub.CheckSuitePreferencePreferences? Type681 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type682 { get; set; } + public global::System.Collections.Generic.IList? Type682 { get; set; } /// /// /// - public global::GitHub.MarketplaceAccount? Type683 { get; set; } + public global::GitHub.CheckSuitePreferencePreferencesAutoTriggerCheck? Type683 { get; set; } /// /// /// - public global::GitHub.SigstoreBundle0VerificationMaterial? Type684 { get; set; } + public global::GitHub.CodeScanningAlertItems? Type684 { get; set; } /// /// /// - public global::GitHub.SigstoreBundle0DsseEnvelope? Type685 { get; set; } + public global::GitHub.CodeScanningAlertRule? Type685 { get; set; } /// /// /// - public global::GitHub.SigstoreBundle0VerificationMaterialX509CertificateChain? Type686 { get; set; } + public global::GitHub.CodeScanningAlertRuleSeverity? Type686 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type687 { get; set; } + public global::GitHub.CodeScanningAlertRuleSecuritySeverityLevel? Type687 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type688 { get; set; } + public global::GitHub.CodeScanningAlert? Type688 { get; set; } /// /// /// - public global::GitHub.SigstoreBundle0VerificationMaterialTlogEntriesLogId? Type689 { get; set; } + public global::GitHub.CodeScanningAlertSetState? Type689 { get; set; } /// /// /// - public global::GitHub.SigstoreBundle0VerificationMaterialTlogEntriesKindVersion? Type690 { get; set; } + public global::GitHub.CodeScanningAnalysis? Type690 { get; set; } /// /// /// - public global::GitHub.SigstoreBundle0VerificationMaterialTlogEntriesInclusionPromise? Type691 { get; set; } + public global::GitHub.CodeScanningAnalysisDeletion? Type691 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type692 { get; set; } + public global::GitHub.CodeScanningCodeqlDatabase? Type692 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type693 { get; set; } + public global::GitHub.CodeScanningVariantAnalysisLanguage? Type693 { get; set; } /// /// /// - public global::GitHub.RepositoryWebhooksPermissions? Type694 { get; set; } + public global::GitHub.CodeScanningVariantAnalysisRepository? Type694 { get; set; } /// /// /// - public global::GitHub.RepositoryWebhooksTemplateRepository? Type695 { get; set; } + public global::GitHub.CodeScanningVariantAnalysisStatus? Type695 { get; set; } /// /// /// - public global::GitHub.RepositoryWebhooksSquashMergeCommitTitle? Type696 { get; set; } + public global::GitHub.CodeScanningVariantAnalysisSkippedRepoGroup? Type696 { get; set; } /// /// /// - public global::GitHub.RepositoryWebhooksSquashMergeCommitMessage? Type697 { get; set; } + public global::System.Collections.Generic.IList? Type697 { get; set; } /// /// /// - public global::GitHub.RepositoryWebhooksMergeCommitTitle? Type698 { get; set; } + public global::GitHub.CodeScanningVariantAnalysis? Type698 { get; set; } /// /// /// - public global::GitHub.RepositoryWebhooksMergeCommitMessage? Type699 { get; set; } + public global::GitHub.CodeScanningVariantAnalysisStatus2? Type699 { get; set; } /// /// /// - public global::GitHub.RepositoryWebhooksTemplateRepositoryOwner? Type700 { get; set; } + public global::GitHub.CodeScanningVariantAnalysisFailureReason? Type700 { get; set; } /// /// /// - public global::GitHub.RepositoryWebhooksTemplateRepositoryPermissions? Type701 { get; set; } + public global::System.Collections.Generic.IList? Type701 { get; set; } /// /// /// - public global::GitHub.RepositoryWebhooksTemplateRepositorySquashMergeCommitTitle? Type702 { get; set; } + public global::GitHub.CodeScanningVariantAnalysisScannedRepositorie? Type702 { get; set; } /// /// /// - public global::GitHub.RepositoryWebhooksTemplateRepositorySquashMergeCommitMessage? Type703 { get; set; } + public global::GitHub.CodeScanningVariantAnalysisSkippedRepositories? Type703 { get; set; } /// /// /// - public global::GitHub.RepositoryWebhooksTemplateRepositoryMergeCommitTitle? Type704 { get; set; } + public global::GitHub.CodeScanningVariantAnalysisSkippedRepositoriesNotFoundRepos? Type704 { get; set; } /// /// /// - public global::GitHub.RepositoryWebhooksTemplateRepositoryMergeCommitMessage? Type705 { get; set; } + public global::GitHub.CodeScanningVariantAnalysisRepoTask? Type705 { get; set; } /// /// /// - public global::GitHub.WebhooksRuleAllowDeletionsEnforcementLevel? Type706 { get; set; } + public global::GitHub.CodeScanningDefaultSetup? Type706 { get; set; } /// /// /// - public global::GitHub.WebhooksRuleAllowForcePushesEnforcementLevel? Type707 { get; set; } + public global::GitHub.CodeScanningDefaultSetupState? Type707 { get; set; } /// /// /// - public global::GitHub.WebhooksRuleLinearHistoryRequirementEnforcementLevel? Type708 { get; set; } + public global::System.Collections.Generic.IList? Type708 { get; set; } /// /// /// - public global::GitHub.WebhooksRuleLockBranchEnforcementLevel? Type709 { get; set; } + public global::GitHub.CodeScanningDefaultSetupLanguage? Type709 { get; set; } /// /// /// - public global::GitHub.WebhooksRuleMergeQueueEnforcementLevel? Type710 { get; set; } + public global::GitHub.CodeScanningDefaultSetupQuerySuite? Type710 { get; set; } /// /// /// - public global::GitHub.WebhooksRulePullRequestReviewsEnforcementLevel? Type711 { get; set; } + public global::GitHub.CodeScanningDefaultSetupSchedule? Type711 { get; set; } /// /// /// - public global::GitHub.WebhooksRuleRequiredConversationResolutionLevel? Type712 { get; set; } + public global::GitHub.CodeScanningDefaultSetupUpdate? Type712 { get; set; } /// /// /// - public global::GitHub.WebhooksRuleRequiredDeploymentsEnforcementLevel? Type713 { get; set; } + public global::GitHub.CodeScanningDefaultSetupUpdateState? Type713 { get; set; } /// /// /// - public global::GitHub.WebhooksRuleRequiredStatusChecksEnforcementLevel? Type714 { get; set; } + public global::GitHub.CodeScanningDefaultSetupUpdateQuerySuite? Type714 { get; set; } /// /// /// - public global::GitHub.WebhooksRuleSignatureRequirementEnforcementLevel? Type715 { get; set; } + public global::System.Collections.Generic.IList? Type715 { get; set; } /// /// /// - public global::GitHub.SimpleCheckSuiteConclusion? Type716 { get; set; } + public global::GitHub.CodeScanningDefaultSetupUpdateLanguage? Type716 { get; set; } /// /// /// - public global::GitHub.SimpleCheckSuiteStatus? Type717 { get; set; } + public global::GitHub.CodeScanningDefaultSetupUpdateResponse? Type717 { get; set; } /// /// /// - public global::GitHub.SimpleCheckSuite? Type718 { get; set; } + public global::GitHub.CodeScanningSarifsReceipt? Type718 { get; set; } /// /// /// - public global::GitHub.CheckRunWithSimpleCheckSuiteConclusion? Type719 { get; set; } + public global::GitHub.CodeScanningSarifsStatus? Type719 { get; set; } /// /// /// - public global::GitHub.CheckRunWithSimpleCheckSuiteOutput? Type720 { get; set; } + public global::GitHub.CodeScanningSarifsStatusProcessingStatus? Type720 { get; set; } /// /// /// - public global::GitHub.CheckRunWithSimpleCheckSuiteStatus? Type721 { get; set; } + public global::GitHub.CodeownersErrors? Type721 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewersReviewer? Type722 { get; set; } + public global::System.Collections.Generic.IList? Type722 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewersType? Type723 { get; set; } + public global::GitHub.CodeownersErrorsError? Type723 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewersReviewerType? Type724 { get; set; } + public global::GitHub.CodespaceMachine? Type724 { get; set; } /// /// /// - public global::GitHub.WebhooksUserType? Type725 { get; set; } + public global::GitHub.CodespaceMachinePrebuildAvailability? Type725 { get; set; } /// /// /// - public global::GitHub.WebhooksAnswerAuthorAssociation? Type726 { get; set; } + public global::GitHub.CodespacesPermissionsCheckForDevcontainer? Type726 { get; set; } /// /// /// - public global::GitHub.WebhooksAnswerReactions? Type727 { get; set; } + public global::GitHub.RepoCodespacesSecret? Type727 { get; set; } /// /// /// - public global::GitHub.WebhooksAnswerUser? Type728 { get; set; } + public global::GitHub.Collaborator? Type728 { get; set; } /// /// /// - public global::GitHub.WebhooksAnswerUserType? Type729 { get; set; } + public global::GitHub.CollaboratorPermissions? Type729 { get; set; } /// /// /// - public global::GitHub.DiscussionAnswerChosenBy? Type730 { get; set; } + public global::GitHub.RepositoryInvitation? Type730 { get; set; } /// /// /// - public global::GitHub.DiscussionAuthorAssociation? Type731 { get; set; } + public global::GitHub.RepositoryInvitationPermissions? Type731 { get; set; } /// /// /// - public global::GitHub.DiscussionCategory? Type732 { get; set; } + public global::GitHub.NullableCollaborator? Type732 { get; set; } /// /// /// - public global::GitHub.DiscussionReactions? Type733 { get; set; } + public global::GitHub.NullableCollaboratorPermissions? Type733 { get; set; } /// /// /// - public global::GitHub.DiscussionState? Type734 { get; set; } + public global::GitHub.RepositoryCollaboratorPermission? Type734 { get; set; } /// /// /// - public global::GitHub.DiscussionStateReason? Type735 { get; set; } + public global::GitHub.CommitComment? Type735 { get; set; } /// /// /// - public global::GitHub.DiscussionUser? Type736 { get; set; } + public global::GitHub.BranchShort? Type736 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type737 { get; set; } + public global::GitHub.BranchShortCommit? Type737 { get; set; } /// /// /// - public global::GitHub.DiscussionAnswerChosenByType? Type738 { get; set; } + public global::GitHub.Link? Type738 { get; set; } /// /// /// - public global::GitHub.DiscussionUserType? Type739 { get; set; } + public global::GitHub.AutoMerge? Type739 { get; set; } /// /// /// - public global::GitHub.WebhooksCommentAuthorAssociation? Type740 { get; set; } + public global::GitHub.AutoMergeMergeMethod? Type740 { get; set; } /// /// /// - public global::GitHub.WebhooksCommentReactions? Type741 { get; set; } + public global::GitHub.PullRequestSimple? Type741 { get; set; } /// /// /// - public global::GitHub.WebhooksCommentUser? Type742 { get; set; } + public global::System.Collections.Generic.IList? Type742 { get; set; } /// /// /// - public global::GitHub.WebhooksCommentUserType? Type743 { get; set; } + public global::GitHub.PullRequestSimpleLabel? Type743 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueCommentAuthorAssociation? Type744 { get; set; } + public global::GitHub.PullRequestSimpleHead? Type744 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueCommentReactions? Type745 { get; set; } + public global::GitHub.PullRequestSimpleBase? Type745 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueCommentUser? Type746 { get; set; } + public global::GitHub.PullRequestSimpleLinks? Type746 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueCommentUserType? Type747 { get; set; } + public global::GitHub.SimpleCommitStatus? Type747 { get; set; } /// /// /// - public global::GitHub.WebhooksChangesBody? Type748 { get; set; } + public global::GitHub.CombinedCommitStatus? Type748 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueActiveLockReason? Type749 { get; set; } + public global::System.Collections.Generic.IList? Type749 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueAssignee? Type750 { get; set; } + public global::GitHub.Status? Type750 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type751 { get; set; } + public global::GitHub.NullableCodeOfConductSimple? Type751 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueAuthorAssociation? Type752 { get; set; } + public global::GitHub.NullableCommunityHealthFile? Type752 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type753 { get; set; } + public global::GitHub.CommunityProfile? Type753 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueMilestone? Type754 { get; set; } + public global::GitHub.CommunityProfileFiles? Type754 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubApp? Type755 { get; set; } + public global::GitHub.CommitComparison? Type755 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePullRequest? Type756 { get; set; } + public global::GitHub.CommitComparisonStatus? Type756 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueReactions? Type757 { get; set; } + public global::System.Collections.Generic.IList? Type757 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueState? Type758 { get; set; } + public global::GitHub.ContentTree? Type758 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueUser? Type759 { get; set; } + public global::System.Collections.Generic.IList? Type759 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueAssigneeType? Type760 { get; set; } + public global::GitHub.ContentTreeEntrie? Type760 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueMilestoneCreator? Type761 { get; set; } + public global::GitHub.ContentTreeEntrieLinks? Type761 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueMilestoneState? Type762 { get; set; } + public global::GitHub.ContentTreeLinks? Type762 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueMilestoneCreatorType? Type763 { get; set; } + public global::System.Collections.Generic.IList? Type763 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type764 { get; set; } + public global::GitHub.ContentDirectoryItem? Type764 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppOwner? Type765 { get; set; } + public global::GitHub.ContentDirectoryItemType? Type765 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissions? Type766 { get; set; } + public global::GitHub.ContentDirectoryItemLinks? Type766 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppOwnerType? Type767 { get; set; } + public global::GitHub.ContentFile? Type767 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsActions? Type768 { get; set; } + public global::GitHub.ContentFileType? Type768 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsAdministration? Type769 { get; set; } + public global::GitHub.ContentFileLinks? Type769 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsChecks? Type770 { get; set; } + public global::GitHub.ContentSymlink? Type770 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsContentReferences? Type771 { get; set; } + public global::GitHub.ContentSymlinkType? Type771 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsContents? Type772 { get; set; } + public global::GitHub.ContentSymlinkLinks? Type772 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsDeployments? Type773 { get; set; } + public global::GitHub.ContentSubmodule? Type773 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsDiscussions? Type774 { get; set; } + public global::GitHub.ContentSubmoduleType? Type774 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsEmails? Type775 { get; set; } + public global::GitHub.ContentSubmoduleLinks? Type775 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsEnvironments? Type776 { get; set; } + public global::GitHub.FileCommit? Type776 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsIssues? Type777 { get; set; } + public global::GitHub.FileCommitContent? Type777 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsKeys? Type778 { get; set; } + public global::GitHub.FileCommitContentLinks? Type778 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsMembers? Type779 { get; set; } + public global::GitHub.FileCommitCommit? Type779 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsMetadata? Type780 { get; set; } + public global::GitHub.FileCommitCommitAuthor? Type780 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type781 { get; set; } + public global::GitHub.FileCommitCommitCommitter? Type781 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type782 { get; set; } + public global::GitHub.FileCommitCommitTree? Type782 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type783 { get; set; } + public global::System.Collections.Generic.IList? Type783 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type784 { get; set; } + public global::GitHub.FileCommitCommitParent? Type784 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type785 { get; set; } + public global::GitHub.FileCommitCommitVerification? Type785 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type786 { get; set; } + public global::GitHub.Contributor? Type786 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type787 { get; set; } + public global::GitHub.DependabotAlert? Type787 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type788 { get; set; } + public global::GitHub.DependabotAlertState? Type788 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsPackages? Type789 { get; set; } + public global::GitHub.DependabotAlertDependency? Type789 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsPages? Type790 { get; set; } + public global::GitHub.DependabotAlertDependencyScope? Type790 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsPullRequests? Type791 { get; set; } + public global::GitHub.DependabotAlertDismissedReason? Type791 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type792 { get; set; } + public global::GitHub.DependabotSecret? Type792 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type793 { get; set; } + public global::System.Collections.Generic.IList? Type793 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type794 { get; set; } + public global::GitHub.DependencyGraphDiffItem? Type794 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsSecrets? Type795 { get; set; } + public global::GitHub.DependencyGraphDiffItemChangeType? Type795 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsSecurityEvents? Type796 { get; set; } + public global::System.Collections.Generic.IList? Type796 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type797 { get; set; } + public global::GitHub.DependencyGraphDiffItemVulnerabilitie? Type797 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsSingleFile? Type798 { get; set; } + public global::GitHub.DependencyGraphDiffItemScope? Type798 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsStatuses? Type799 { get; set; } + public global::GitHub.DependencyGraphSpdxSbom? Type799 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type800 { get; set; } + public global::GitHub.DependencyGraphSpdxSbomSbom? Type800 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type801 { get; set; } + public global::GitHub.DependencyGraphSpdxSbomSbomCreationInfo? Type801 { get; set; } /// /// /// - public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsWorkflows? Type802 { get; set; } + public global::System.Collections.Generic.IList? Type802 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueUserType? Type803 { get; set; } + public global::GitHub.DependencyGraphSpdxSbomSbomPackage? Type803 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueAssigneesType? Type804 { get; set; } + public global::System.Collections.Generic.IList? Type804 { get; set; } /// /// /// - public global::GitHub.WebhooksMilestoneCreator? Type805 { get; set; } + public global::GitHub.DependencyGraphSpdxSbomSbomPackageExternalRef? Type805 { get; set; } /// /// /// - public global::GitHub.WebhooksMilestoneState? Type806 { get; set; } + public global::GitHub.Metadata? Type806 { get; set; } /// /// /// - public global::GitHub.WebhooksMilestoneCreatorType? Type807 { get; set; } + public global::GitHub.Dependency? Type807 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2ActiveLockReason? Type808 { get; set; } + public global::GitHub.DependencyRelationship? Type808 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2Assignee? Type809 { get; set; } + public global::GitHub.DependencyScope? Type809 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type810 { get; set; } + public global::GitHub.Manifest? Type810 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2AuthorAssociation? Type811 { get; set; } + public global::GitHub.ManifestFile? Type811 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type812 { get; set; } + public global::GitHub.ManifestResolved? Type812 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2Milestone? Type813 { get; set; } + public global::GitHub.Snapshot? Type813 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubApp? Type814 { get; set; } + public global::GitHub.SnapshotJob? Type814 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PullRequest? Type815 { get; set; } + public global::GitHub.SnapshotDetector? Type815 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2Reactions? Type816 { get; set; } + public global::GitHub.SnapshotManifests? Type816 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2State? Type817 { get; set; } + public global::GitHub.DeploymentStatus? Type817 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2User? Type818 { get; set; } + public global::GitHub.DeploymentStatusState? Type818 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2AssigneeType? Type819 { get; set; } + public global::GitHub.DeploymentBranchPolicySettings? Type819 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2MilestoneCreator? Type820 { get; set; } + public global::GitHub.Environment? Type820 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2MilestoneState? Type821 { get; set; } + public global::System.Collections.Generic.IList>? Type821 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2MilestoneCreatorType? Type822 { get; set; } + public global::System.AnyOf? Type822 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type823 { get; set; } + public global::GitHub.EnvironmentProtectionRuleVariant1? Type823 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppOwner? Type824 { get; set; } + public global::GitHub.EnvironmentProtectionRuleVariant2? Type824 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissions? Type825 { get; set; } + public global::System.Collections.Generic.IList? Type825 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppOwnerType? Type826 { get; set; } + public global::GitHub.EnvironmentProtectionRuleVariant2Reviewer? Type826 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsActions? Type827 { get; set; } + public global::GitHub.EnvironmentProtectionRuleVariant3? Type827 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsAdministration? Type828 { get; set; } + public global::GitHub.DeploymentBranchPolicy? Type828 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsChecks? Type829 { get; set; } + public global::GitHub.DeploymentBranchPolicyType? Type829 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsContentReferences? Type830 { get; set; } + public global::GitHub.DeploymentBranchPolicyNamePatternWithType? Type830 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsContents? Type831 { get; set; } + public global::GitHub.DeploymentBranchPolicyNamePatternWithTypeType? Type831 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsDeployments? Type832 { get; set; } + public global::GitHub.DeploymentBranchPolicyNamePattern? Type832 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsDiscussions? Type833 { get; set; } + public global::GitHub.CustomDeploymentRuleApp? Type833 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsEmails? Type834 { get; set; } + public global::GitHub.DeploymentProtectionRule? Type834 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsEnvironments? Type835 { get; set; } + public global::GitHub.ShortBlob? Type835 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsIssues? Type836 { get; set; } + public global::GitHub.Blob? Type836 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsKeys? Type837 { get; set; } + public global::GitHub.GitCommit? Type837 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsMembers? Type838 { get; set; } + public global::GitHub.GitCommitAuthor? Type838 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsMetadata? Type839 { get; set; } + public global::GitHub.GitCommitCommitter? Type839 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationAdministration? Type840 { get; set; } + public global::GitHub.GitCommitTree? Type840 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationHooks? Type841 { get; set; } + public global::System.Collections.Generic.IList? Type841 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationPackages? Type842 { get; set; } + public global::GitHub.GitCommitParent? Type842 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationPlan? Type843 { get; set; } + public global::GitHub.GitCommitVerification? Type843 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationProjects? Type844 { get; set; } + public global::GitHub.GitRef? Type844 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationSecrets? Type845 { get; set; } + public global::GitHub.GitRefObject? Type845 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type846 { get; set; } + public global::GitHub.GitTag? Type846 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type847 { get; set; } + public global::GitHub.GitTagTagger? Type847 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsPackages? Type848 { get; set; } + public global::GitHub.GitTagObject? Type848 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsPages? Type849 { get; set; } + public global::GitHub.GitTree? Type849 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsPullRequests? Type850 { get; set; } + public global::System.Collections.Generic.IList? Type850 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsRepositoryHooks? Type851 { get; set; } + public global::GitHub.GitTreeTreeItem? Type851 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsRepositoryProjects? Type852 { get; set; } + public global::GitHub.HookResponse? Type852 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsSecretScanningAlerts? Type853 { get; set; } + public global::GitHub.Hook? Type853 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsSecrets? Type854 { get; set; } + public global::GitHub.Import? Type854 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsSecurityEvents? Type855 { get; set; } + public global::GitHub.ImportStatus? Type855 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsSecurityScanningAlert? Type856 { get; set; } + public global::System.Collections.Generic.IList? Type856 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsSingleFile? Type857 { get; set; } + public global::GitHub.ImportProjectChoice? Type857 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsStatuses? Type858 { get; set; } + public global::GitHub.PorterAuthor? Type858 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsTeamDiscussions? Type859 { get; set; } + public global::GitHub.PorterLargeFile? Type859 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type860 { get; set; } + public global::GitHub.NullableIssue? Type860 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsWorkflows? Type861 { get; set; } + public global::GitHub.NullableIssueStateReason? Type861 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2UserType? Type862 { get; set; } + public global::System.Collections.Generic.IList>? Type862 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2AssigneesType? Type863 { get; set; } + public global::System.OneOf? Type863 { get; set; } /// /// /// - public global::GitHub.WebhooksUserMannequinType? Type864 { get; set; } + public global::GitHub.NullableIssueLabel? Type864 { get; set; } /// /// /// - public global::GitHub.WebhooksMarketplacePurchaseAccount? Type865 { get; set; } + public global::GitHub.NullableIssuePullRequest? Type865 { get; set; } /// /// /// - public global::GitHub.WebhooksMarketplacePurchasePlan? Type866 { get; set; } + public global::GitHub.IssueEventLabel? Type866 { get; set; } /// /// /// - public global::GitHub.WebhooksMarketplacePurchasePlanPriceModel? Type867 { get; set; } + public global::GitHub.IssueEventDismissedReview? Type867 { get; set; } /// /// /// - public global::GitHub.WebhooksPreviousMarketplacePurchaseAccount? Type868 { get; set; } + public global::GitHub.IssueEventMilestone? Type868 { get; set; } /// /// /// - public global::GitHub.WebhooksPreviousMarketplacePurchasePlan? Type869 { get; set; } + public global::GitHub.IssueEventProjectCard? Type869 { get; set; } /// /// /// - public global::GitHub.WebhooksPreviousMarketplacePurchasePlanPriceModel? Type870 { get; set; } + public global::GitHub.IssueEventRename? Type870 { get; set; } /// /// /// - public global::GitHub.WebhooksTeamParent? Type871 { get; set; } + public global::GitHub.IssueEvent? Type871 { get; set; } /// /// /// - public global::GitHub.WebhooksTeamPrivacy? Type872 { get; set; } + public global::GitHub.LabeledIssueEvent? Type872 { get; set; } /// /// /// - public global::GitHub.WebhooksTeamNotificationSetting? Type873 { get; set; } + public global::GitHub.LabeledIssueEventLabel? Type873 { get; set; } /// /// /// - public global::GitHub.WebhooksTeamParentPrivacy? Type874 { get; set; } + public global::GitHub.UnlabeledIssueEvent? Type874 { get; set; } /// /// /// - public global::GitHub.WebhooksTeamParentNotificationSetting? Type875 { get; set; } + public global::GitHub.UnlabeledIssueEventLabel? Type875 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryWebhooksPermissions? Type876 { get; set; } + public global::GitHub.AssignedIssueEvent? Type876 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryWebhooksTemplateRepository? Type877 { get; set; } + public global::GitHub.UnassignedIssueEvent? Type877 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryWebhooksSquashMergeCommitTitle? Type878 { get; set; } + public global::GitHub.MilestonedIssueEvent? Type878 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryWebhooksSquashMergeCommitMessage? Type879 { get; set; } + public global::GitHub.MilestonedIssueEventMilestone? Type879 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryWebhooksMergeCommitTitle? Type880 { get; set; } + public global::GitHub.DemilestonedIssueEvent? Type880 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryWebhooksMergeCommitMessage? Type881 { get; set; } + public global::GitHub.DemilestonedIssueEventMilestone? Type881 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryWebhooksTemplateRepositoryOwner? Type882 { get; set; } + public global::GitHub.RenamedIssueEvent? Type882 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryWebhooksTemplateRepositoryPermissions? Type883 { get; set; } + public global::GitHub.RenamedIssueEventRename? Type883 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryWebhooksTemplateRepositorySquashMergeCommitTitle? Type884 { get; set; } + public global::GitHub.ReviewRequestedIssueEvent? Type884 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryWebhooksTemplateRepositorySquashMergeCommitMessage? Type885 { get; set; } + public global::GitHub.ReviewRequestRemovedIssueEvent? Type885 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryWebhooksTemplateRepositoryMergeCommitTitle? Type886 { get; set; } + public global::GitHub.ReviewDismissedIssueEvent? Type886 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryWebhooksTemplateRepositoryMergeCommitMessage? Type887 { get; set; } + public global::GitHub.ReviewDismissedIssueEventDismissedReview? Type887 { get; set; } /// /// /// - public global::GitHub.WebhooksMilestone3Creator? Type888 { get; set; } + public global::GitHub.LockedIssueEvent? Type888 { get; set; } /// /// /// - public global::GitHub.WebhooksMilestone3State? Type889 { get; set; } + public global::GitHub.AddedToProjectIssueEvent? Type889 { get; set; } /// /// /// - public global::GitHub.WebhooksMilestone3CreatorType? Type890 { get; set; } + public global::GitHub.AddedToProjectIssueEventProjectCard? Type890 { get; set; } /// /// /// - public global::GitHub.WebhooksMembershipUser? Type891 { get; set; } + public global::GitHub.MovedColumnInProjectIssueEvent? Type891 { get; set; } /// /// /// - public global::GitHub.WebhooksMembershipUserType? Type892 { get; set; } + public global::GitHub.MovedColumnInProjectIssueEventProjectCard? Type892 { get; set; } /// /// /// - public global::GitHub.PersonalAccessTokenRequestPermissionsAdded? Type893 { get; set; } + public global::GitHub.RemovedFromProjectIssueEvent? Type893 { get; set; } /// /// /// - public global::GitHub.PersonalAccessTokenRequestPermissionsUpgraded? Type894 { get; set; } + public global::GitHub.RemovedFromProjectIssueEventProjectCard? Type894 { get; set; } /// /// /// - public global::GitHub.PersonalAccessTokenRequestPermissionsResult? Type895 { get; set; } + public global::GitHub.ConvertedNoteToIssueIssueEvent? Type895 { get; set; } /// /// /// - public global::GitHub.PersonalAccessTokenRequestRepositorySelection? Type896 { get; set; } + public global::GitHub.ConvertedNoteToIssueIssueEventProjectCard? Type896 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type897 { get; set; } + public global::GitHub.IssueEventForIssue? Type897 { get; set; } /// /// /// - public global::GitHub.WebhooksProjectCardCreator? Type898 { get; set; } + public global::GitHub.Label? Type898 { get; set; } /// /// /// - public global::GitHub.WebhooksProjectCardCreatorType? Type899 { get; set; } + public global::GitHub.TimelineCommentEvent? Type899 { get; set; } /// /// /// - public global::GitHub.WebhooksProjectCreator? Type900 { get; set; } + public global::GitHub.TimelineCrossReferencedEvent? Type900 { get; set; } /// /// /// - public global::GitHub.WebhooksProjectState? Type901 { get; set; } + public global::GitHub.TimelineCrossReferencedEventSource? Type901 { get; set; } /// /// /// - public global::GitHub.WebhooksProjectCreatorType? Type902 { get; set; } + public global::GitHub.TimelineCommittedEvent? Type902 { get; set; } /// /// /// - public global::GitHub.WebhooksProjectChangesArchivedAt? Type903 { get; set; } + public global::GitHub.TimelineCommittedEventAuthor? Type903 { get; set; } /// /// /// - public global::GitHub.ProjectsV2ItemContentType? Type904 { get; set; } + public global::GitHub.TimelineCommittedEventCommitter? Type904 { get; set; } /// /// /// - public global::GitHub.ProjectsV2StatusUpdateStatus? Type905 { get; set; } + public global::GitHub.TimelineCommittedEventTree? Type905 { get; set; } /// /// /// - public global::GitHub.PullRequestWebhookVariant2MergeCommitMessage? Type906 { get; set; } + public global::System.Collections.Generic.IList? Type906 { get; set; } /// /// /// - public global::GitHub.PullRequestWebhookVariant2MergeCommitTitle? Type907 { get; set; } + public global::GitHub.TimelineCommittedEventParent? Type907 { get; set; } /// /// /// - public global::GitHub.PullRequestWebhookVariant2SquashMergeCommitMessage? Type908 { get; set; } + public global::GitHub.TimelineCommittedEventVerification? Type908 { get; set; } /// /// /// - public global::GitHub.PullRequestWebhookVariant2SquashMergeCommitTitle? Type909 { get; set; } + public global::GitHub.TimelineReviewedEvent? Type909 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5Links? Type910 { get; set; } + public global::GitHub.TimelineReviewedEventLinks? Type910 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5ActiveLockReason? Type911 { get; set; } + public global::GitHub.TimelineReviewedEventLinksHtml? Type911 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5Assignee? Type912 { get; set; } + public global::GitHub.TimelineReviewedEventLinksPullRequest? Type912 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type913 { get; set; } + public global::GitHub.PullRequestReviewComment? Type913 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5AuthorAssociation? Type914 { get; set; } + public global::GitHub.PullRequestReviewCommentLinks? Type914 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5AutoMerge? Type915 { get; set; } + public global::GitHub.PullRequestReviewCommentLinksSelf? Type915 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5Base? Type916 { get; set; } + public global::GitHub.PullRequestReviewCommentLinksHtml? Type916 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5Head? Type917 { get; set; } + public global::GitHub.PullRequestReviewCommentLinksPullRequest? Type917 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type918 { get; set; } + public global::GitHub.PullRequestReviewCommentStartSide? Type918 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5MergedBy? Type919 { get; set; } + public global::GitHub.PullRequestReviewCommentSide? Type919 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5Milestone? Type920 { get; set; } + public global::GitHub.PullRequestReviewCommentSubjectType? Type920 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type921 { get; set; } + public global::GitHub.TimelineLineCommentedEvent? Type921 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type922 { get; set; } + public global::System.Collections.Generic.IList? Type922 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5State? Type923 { get; set; } + public global::GitHub.TimelineCommitCommentedEvent? Type923 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5User? Type924 { get; set; } + public global::System.Collections.Generic.IList? Type924 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5LinksComments? Type925 { get; set; } + public global::GitHub.TimelineAssignedIssueEvent? Type925 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5LinksCommits? Type926 { get; set; } + public global::GitHub.TimelineUnassignedIssueEvent? Type926 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5LinksHtml? Type927 { get; set; } + public global::GitHub.StateChangeIssueEvent? Type927 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5LinksIssue? Type928 { get; set; } + public global::GitHub.TimelineIssueEvents? Type928 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5LinksReviewComment? Type929 { get; set; } + public global::GitHub.DeployKey? Type929 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5LinksReviewComments? Type930 { get; set; } + public global::GitHub.Language? Type930 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5LinksSelf? Type931 { get; set; } + public global::GitHub.LicenseContent? Type931 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5LinksStatuses? Type932 { get; set; } + public global::GitHub.LicenseContentLinks? Type932 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5AssigneeType? Type933 { get; set; } + public global::GitHub.MergedUpstream? Type933 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5AutoMergeEnabledBy? Type934 { get; set; } + public global::GitHub.MergedUpstreamMergeType? Type934 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5AutoMergeMergeMethod? Type935 { get; set; } + public global::GitHub.Milestone? Type935 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5AutoMergeEnabledByType? Type936 { get; set; } + public global::GitHub.MilestoneState? Type936 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5BaseRepo? Type937 { get; set; } + public global::GitHub.PagesSourceHash? Type937 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5BaseUser? Type938 { get; set; } + public global::GitHub.PagesHttpsCertificate? Type938 { get; set; } /// /// /// - public global::System.OneOf? Type939 { get; set; } + public global::GitHub.PagesHttpsCertificateState? Type939 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5BaseRepoLicense? Type940 { get; set; } + public global::GitHub.Page? Type940 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5BaseRepoMergeCommitMessage? Type941 { get; set; } + public global::GitHub.PageStatus? Type941 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5BaseRepoMergeCommitTitle? Type942 { get; set; } + public global::GitHub.PageProtectedDomainState? Type942 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5BaseRepoOwner? Type943 { get; set; } + public global::GitHub.PageBuildType? Type943 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5BaseRepoPermissions? Type944 { get; set; } + public global::GitHub.PageBuild? Type944 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5BaseRepoSquashMergeCommitMessage? Type945 { get; set; } + public global::GitHub.PageBuildError? Type945 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5BaseRepoSquashMergeCommitTitle? Type946 { get; set; } + public global::GitHub.PageBuildStatus? Type946 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5BaseRepoVisibility? Type947 { get; set; } + public global::GitHub.PageDeployment? Type947 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5BaseRepoOwnerType? Type948 { get; set; } + public global::System.OneOf? Type948 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5BaseUserType? Type949 { get; set; } + public global::GitHub.PagesDeploymentStatus? Type949 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5HeadRepo? Type950 { get; set; } + public global::GitHub.PagesDeploymentStatusStatus? Type950 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5HeadUser? Type951 { get; set; } + public global::GitHub.PagesHealthCheck? Type951 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5HeadRepoLicense? Type952 { get; set; } + public global::GitHub.PagesHealthCheckDomain? Type952 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5HeadRepoMergeCommitMessage? Type953 { get; set; } + public global::GitHub.PagesHealthCheckAltDomain? Type953 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5HeadRepoMergeCommitTitle? Type954 { get; set; } + public global::GitHub.PullRequest? Type954 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5HeadRepoOwner? Type955 { get; set; } + public global::GitHub.PullRequestState? Type955 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5HeadRepoPermissions? Type956 { get; set; } + public global::System.Collections.Generic.IList? Type956 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5HeadRepoSquashMergeCommitMessage? Type957 { get; set; } + public global::GitHub.PullRequestLabel? Type957 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5HeadRepoSquashMergeCommitTitle? Type958 { get; set; } + public global::System.Collections.Generic.IList? Type958 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5HeadRepoVisibility? Type959 { get; set; } + public global::GitHub.PullRequestHead? Type959 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5HeadRepoOwnerType? Type960 { get; set; } + public global::GitHub.PullRequestHeadRepo? Type960 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5HeadUserType? Type961 { get; set; } + public global::GitHub.PullRequestHeadRepoOwner? Type961 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5MergedByType? Type962 { get; set; } + public global::GitHub.PullRequestHeadRepoPermissions? Type962 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5MilestoneCreator? Type963 { get; set; } + public global::GitHub.PullRequestHeadRepoLicense? Type963 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5MilestoneState? Type964 { get; set; } + public global::GitHub.PullRequestHeadUser? Type964 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5MilestoneCreatorType? Type965 { get; set; } + public global::GitHub.PullRequestBase? Type965 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5UserType? Type966 { get; set; } + public global::GitHub.PullRequestBaseRepo? Type966 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5AssigneesType? Type967 { get; set; } + public global::GitHub.PullRequestBaseRepoOwner? Type967 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5RequestedTeamsParent? Type968 { get; set; } + public global::GitHub.PullRequestBaseRepoPermissions? Type968 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5RequestedTeamsPrivacy? Type969 { get; set; } + public global::GitHub.PullRequestBaseUser? Type969 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5RequestedTeamsParentPrivacy? Type970 { get; set; } + public global::GitHub.PullRequestLinks? Type970 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewCommentLinks? Type971 { get; set; } + public global::GitHub.PullRequestMergeResult? Type971 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewCommentAuthorAssociation? Type972 { get; set; } + public global::GitHub.PullRequestReviewRequest? Type972 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewCommentReactions? Type973 { get; set; } + public global::GitHub.PullRequestReview? Type973 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewCommentSide? Type974 { get; set; } + public global::GitHub.PullRequestReviewLinks? Type974 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewCommentStartSide? Type975 { get; set; } + public global::GitHub.PullRequestReviewLinksHtml? Type975 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewCommentSubjectType? Type976 { get; set; } + public global::GitHub.PullRequestReviewLinksPullRequest? Type976 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewCommentUser? Type977 { get; set; } + public global::GitHub.ReviewComment? Type977 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewCommentLinksHtml? Type978 { get; set; } + public global::GitHub.ReviewCommentLinks? Type978 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewCommentLinksPullRequest? Type979 { get; set; } + public global::GitHub.ReviewCommentSide? Type979 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewCommentLinksSelf? Type980 { get; set; } + public global::GitHub.ReviewCommentStartSide? Type980 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewCommentUserType? Type981 { get; set; } + public global::GitHub.ReleaseAsset? Type981 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewLinks? Type982 { get; set; } + public global::GitHub.ReleaseAssetState? Type982 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewAuthorAssociation? Type983 { get; set; } + public global::GitHub.Release? Type983 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewUser? Type984 { get; set; } + public global::System.Collections.Generic.IList? Type984 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewLinksHtml? Type985 { get; set; } + public global::GitHub.ReleaseNotesContent? Type985 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewLinksPullRequest? Type986 { get; set; } + public global::GitHub.RepositoryRuleRulesetInfo? Type986 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewUserType? Type987 { get; set; } + public global::GitHub.RepositoryRuleRulesetInfoRulesetSourceType? Type987 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type988 { get; set; } + public global::GitHub.RepositoryRuleDetailed? Type988 { get; set; } /// /// /// - public global::GitHub.WebhooksReleaseAuthor? Type989 { get; set; } + public global::System.AllOf? Type989 { get; set; } /// /// /// - public global::GitHub.WebhooksReleaseReactions? Type990 { get; set; } + public global::System.AllOf? Type990 { get; set; } /// /// /// - public global::GitHub.WebhooksReleaseAuthorType? Type991 { get; set; } + public global::System.AllOf? Type991 { get; set; } /// /// /// - public global::GitHub.WebhooksReleaseAssetsState? Type992 { get; set; } + public global::System.AllOf? Type992 { get; set; } /// /// /// - public global::GitHub.WebhooksReleaseAssetsUploader? Type993 { get; set; } + public global::System.AllOf? Type993 { get; set; } /// /// /// - public global::GitHub.WebhooksReleaseAssetsUploaderType? Type994 { get; set; } + public global::System.AllOf? Type994 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type995 { get; set; } + public global::System.AllOf? Type995 { get; set; } /// /// /// - public global::GitHub.WebhooksRelease1Author? Type996 { get; set; } + public global::System.AllOf? Type996 { get; set; } /// /// /// - public global::GitHub.WebhooksRelease1Reactions? Type997 { get; set; } + public global::System.AllOf? Type997 { get; set; } /// /// /// - public global::GitHub.WebhooksRelease1AuthorType? Type998 { get; set; } + public global::System.AllOf? Type998 { get; set; } /// /// /// - public global::GitHub.WebhooksRelease1AssetsState? Type999 { get; set; } + public global::System.AllOf? Type999 { get; set; } /// /// /// - public global::GitHub.WebhooksRelease1AssetsUploader? Type1000 { get; set; } + public global::System.AllOf? Type1000 { get; set; } /// /// /// - public global::GitHub.WebhooksRelease1AssetsUploaderType? Type1001 { get; set; } + public global::System.AllOf? Type1001 { get; set; } /// /// /// - public global::GitHub.WebhooksAlertDismisser? Type1002 { get; set; } + public global::System.AllOf? Type1002 { get; set; } /// /// /// - public global::GitHub.WebhooksAlertState? Type1003 { get; set; } + public global::System.AllOf? Type1003 { get; set; } /// /// /// - public global::GitHub.WebhooksAlertDismisserType? Type1004 { get; set; } + public global::System.AllOf? Type1004 { get; set; } /// /// /// - public global::GitHub.SecretScanningAlertResolutionWebhook? Type1005 { get; set; } + public global::System.AllOf? Type1005 { get; set; } /// /// /// - public global::GitHub.SecretScanningAlertWebhookValidity? Type1006 { get; set; } + public global::GitHub.SecretScanningAlert? Type1006 { get; set; } /// /// /// - public global::GitHub.WebhooksSecurityAdvisoryCvss? Type1007 { get; set; } + public global::GitHub.SecretScanningAlertValidity? Type1007 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1008 { get; set; } + public global::GitHub.SecretScanningLocationCommit? Type1008 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1009 { get; set; } + public global::GitHub.SecretScanningLocationWikiCommit? Type1009 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1010 { get; set; } + public global::GitHub.SecretScanningLocationIssueTitle? Type1010 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1011 { get; set; } + public global::GitHub.SecretScanningLocationIssueBody? Type1011 { get; set; } /// /// /// - public global::GitHub.WebhooksSecurityAdvisoryVulnerabilitiesFirstPatchedVersion? Type1012 { get; set; } + public global::GitHub.SecretScanningLocationIssueComment? Type1012 { get; set; } /// /// /// - public global::GitHub.WebhooksSecurityAdvisoryVulnerabilitiesPackage? Type1013 { get; set; } + public global::GitHub.SecretScanningLocationDiscussionTitle? Type1013 { get; set; } /// /// /// - public global::GitHub.WebhooksSponsorshipMaintainer? Type1014 { get; set; } + public global::GitHub.SecretScanningLocationDiscussionBody? Type1014 { get; set; } /// /// /// - public global::GitHub.WebhooksSponsorshipSponsor? Type1015 { get; set; } + public global::GitHub.SecretScanningLocationDiscussionComment? Type1015 { get; set; } /// /// /// - public global::GitHub.WebhooksSponsorshipSponsorable? Type1016 { get; set; } + public global::GitHub.SecretScanningLocationPullRequestTitle? Type1016 { get; set; } /// /// /// - public global::GitHub.WebhooksSponsorshipTier? Type1017 { get; set; } + public global::GitHub.SecretScanningLocationPullRequestBody? Type1017 { get; set; } /// /// /// - public global::GitHub.WebhooksSponsorshipSponsorType? Type1018 { get; set; } + public global::GitHub.SecretScanningLocationPullRequestComment? Type1018 { get; set; } /// /// /// - public global::GitHub.WebhooksSponsorshipSponsorableType? Type1019 { get; set; } + public global::GitHub.SecretScanningLocationPullRequestReview? Type1019 { get; set; } /// /// /// - public global::GitHub.WebhooksChanges8Tier? Type1020 { get; set; } + public global::GitHub.SecretScanningLocationPullRequestReviewComment? Type1020 { get; set; } /// /// /// - public global::GitHub.WebhooksChanges8TierFrom? Type1021 { get; set; } + public global::GitHub.SecretScanningLocation? Type1021 { get; set; } /// /// /// - public global::GitHub.WebhooksTeam1Parent? Type1022 { get; set; } + public global::GitHub.SecretScanningLocationType? Type1022 { get; set; } /// /// /// - public global::GitHub.WebhooksTeam1Privacy? Type1023 { get; set; } + public global::System.OneOf? Type1023 { get; set; } /// /// /// - public global::GitHub.WebhooksTeam1NotificationSetting? Type1024 { get; set; } + public global::GitHub.RepositoryAdvisoryCreate? Type1024 { get; set; } /// /// /// - public global::GitHub.WebhooksTeam1ParentPrivacy? Type1025 { get; set; } + public global::System.Collections.Generic.IList? Type1025 { get; set; } /// /// /// - public global::GitHub.WebhooksTeam1ParentNotificationSetting? Type1026 { get; set; } + public global::GitHub.RepositoryAdvisoryCreateVulnerabilitie? Type1026 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionConfigurationDisabledAction? Type1027 { get; set; } + public global::GitHub.RepositoryAdvisoryCreateVulnerabilitiePackage? Type1027 { get; set; } /// /// /// - public global::GitHub.EnterpriseWebhooks? Type1028 { get; set; } + public global::System.Collections.Generic.IList? Type1028 { get; set; } /// /// /// - public global::GitHub.SimpleInstallation? Type1029 { get; set; } + public global::GitHub.RepositoryAdvisoryCreateCredit? Type1029 { get; set; } /// /// /// - public global::GitHub.OrganizationSimpleWebhooks? Type1030 { get; set; } + public global::GitHub.RepositoryAdvisoryCreateSeverity? Type1030 { get; set; } /// /// /// - public global::GitHub.RepositoryWebhooks? Type1031 { get; set; } + public global::GitHub.PrivateVulnerabilityReportCreate? Type1031 { get; set; } /// /// /// - public global::GitHub.SimpleUserWebhooks? Type1032 { get; set; } + public global::System.Collections.Generic.IList? Type1032 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionConfigurationEnabledAction? Type1033 { get; set; } + public global::GitHub.PrivateVulnerabilityReportCreateVulnerabilitie? Type1033 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleCreatedAction? Type1034 { get; set; } + public global::GitHub.PrivateVulnerabilityReportCreateVulnerabilitiePackage? Type1034 { get; set; } /// /// /// - public global::GitHub.WebhooksRule? Type1035 { get; set; } + public global::GitHub.PrivateVulnerabilityReportCreateSeverity? Type1035 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleDeletedAction? Type1036 { get; set; } + public global::GitHub.RepositoryAdvisoryUpdate? Type1036 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedAction? Type1037 { get; set; } + public global::System.Collections.Generic.IList? Type1037 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChanges? Type1038 { get; set; } + public global::GitHub.RepositoryAdvisoryUpdateVulnerabilitie? Type1038 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesAdminEnforced? Type1039 { get; set; } + public global::GitHub.RepositoryAdvisoryUpdateVulnerabilitiePackage? Type1039 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesAuthorizedActorNames? Type1040 { get; set; } + public global::System.Collections.Generic.IList? Type1040 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesAuthorizedActorsOnly? Type1041 { get; set; } + public global::GitHub.RepositoryAdvisoryUpdateCredit? Type1041 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesAuthorizedDismissalActorsOnly? Type1042 { get; set; } + public global::GitHub.RepositoryAdvisoryUpdateSeverity? Type1042 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevel? Type1043 { get; set; } + public global::GitHub.RepositoryAdvisoryUpdateState? Type1043 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel? Type1044 { get; set; } + public global::GitHub.Stargazer? Type1044 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync? Type1045 { get; set; } + public global::GitHub.CommitActivity? Type1045 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel? Type1046 { get; set; } + public global::GitHub.ContributorActivity? Type1046 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval? Type1047 { get; set; } + public global::System.Collections.Generic.IList? Type1047 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecks? Type1048 { get; set; } + public global::GitHub.ContributorActivityWeek? Type1048 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevel? Type1049 { get; set; } + public global::GitHub.ParticipationStats? Type1049 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevelFrom? Type1050 { get; set; } + public global::GitHub.RepositorySubscription? Type1050 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom? Type1051 { get; set; } + public global::GitHub.Tag? Type1051 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom? Type1052 { get; set; } + public global::GitHub.TagCommit? Type1052 { get; set; } /// /// /// - public global::GitHub.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevelFrom? Type1053 { get; set; } + public global::GitHub.TagProtection? Type1053 { get; set; } /// /// /// - public global::GitHub.WebhookCheckRunCompletedAction? Type1054 { get; set; } + public global::GitHub.Topic? Type1054 { get; set; } /// /// /// - public global::GitHub.CheckRunWithSimpleCheckSuite? Type1055 { get; set; } + public global::GitHub.Traffic? Type1055 { get; set; } /// /// /// - public global::GitHub.WebhookCheckRunCreatedAction? Type1056 { get; set; } + public global::GitHub.CloneTraffic? Type1056 { get; set; } /// /// /// - public global::GitHub.WebhookCheckRunRequestedActionAction? Type1057 { get; set; } + public global::System.Collections.Generic.IList? Type1057 { get; set; } /// /// /// - public global::GitHub.WebhookCheckRunRequestedActionRequestedAction? Type1058 { get; set; } + public global::GitHub.ContentTraffic? Type1058 { get; set; } /// /// /// - public global::GitHub.WebhookCheckRunRerequestedAction? Type1059 { get; set; } + public global::GitHub.ReferrerTraffic? Type1059 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedAction? Type1060 { get; set; } + public global::GitHub.ViewTraffic? Type1060 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuite? Type1061 { get; set; } + public global::System.Collections.Generic.IList? Type1061 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteApp? Type1062 { get; set; } + public global::GitHub.SearchResultTextMatche? Type1062 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteConclusion? Type1063 { get; set; } + public global::System.Collections.Generic.IList? Type1063 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteHeadCommit? Type1064 { get; set; } + public global::GitHub.SearchResultTextMatcheMatche? Type1064 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1065 { get; set; } + public global::GitHub.CodeSearchResultItem? Type1065 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteStatus? Type1066 { get; set; } + public global::GitHub.CommitSearchResultItem? Type1066 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1067 { get; set; } + public global::GitHub.CommitSearchResultItemCommit? Type1067 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppOwner? Type1068 { get; set; } + public global::GitHub.CommitSearchResultItemCommitAuthor? Type1068 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissions? Type1069 { get; set; } + public global::GitHub.CommitSearchResultItemCommitTree? Type1069 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppOwnerType? Type1070 { get; set; } + public global::System.Collections.Generic.IList? Type1070 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsActions? Type1071 { get; set; } + public global::GitHub.CommitSearchResultItemParent? Type1071 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsAdministration? Type1072 { get; set; } + public global::GitHub.IssueSearchResultItem? Type1072 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsChecks? Type1073 { get; set; } + public global::System.Collections.Generic.IList? Type1073 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsContentReferences? Type1074 { get; set; } + public global::GitHub.IssueSearchResultItemLabel? Type1074 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsContents? Type1075 { get; set; } + public global::GitHub.IssueSearchResultItemPullRequest? Type1075 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsDeployments? Type1076 { get; set; } + public global::GitHub.LabelSearchResultItem? Type1076 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsDiscussions? Type1077 { get; set; } + public global::GitHub.RepoSearchResultItem? Type1077 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsEmails? Type1078 { get; set; } + public global::GitHub.RepoSearchResultItemPermissions? Type1078 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsEnvironments? Type1079 { get; set; } + public global::GitHub.TopicSearchResultItem? Type1079 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsIssues? Type1080 { get; set; } + public global::System.Collections.Generic.IList? Type1080 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsKeys? Type1081 { get; set; } + public global::GitHub.TopicSearchResultItemRelatedItem? Type1081 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsMembers? Type1082 { get; set; } + public global::GitHub.TopicSearchResultItemRelatedItemTopicRelation? Type1082 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsMetadata? Type1083 { get; set; } + public global::System.Collections.Generic.IList? Type1083 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationAdministration? Type1084 { get; set; } + public global::GitHub.TopicSearchResultItemAliase? Type1084 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationHooks? Type1085 { get; set; } + public global::GitHub.TopicSearchResultItemAliaseTopicRelation? Type1085 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationPackages? Type1086 { get; set; } + public global::GitHub.UserSearchResultItem? Type1086 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationPlan? Type1087 { get; set; } + public global::GitHub.PrivateUser? Type1087 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationProjects? Type1088 { get; set; } + public global::GitHub.PrivateUserPlan? Type1088 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationSecrets? Type1089 { get; set; } + public global::GitHub.CodespacesSecret? Type1089 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationSelfHostedRunners? Type1090 { get; set; } + public global::GitHub.CodespacesSecretVisibility? Type1090 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationUserBlocking? Type1091 { get; set; } + public global::GitHub.CodespacesUserPublicKey? Type1091 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsPackages? Type1092 { get; set; } + public global::GitHub.CodespaceExportDetails? Type1092 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsPages? Type1093 { get; set; } + public global::GitHub.CodespaceWithFullRepository? Type1093 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsPullRequests? Type1094 { get; set; } + public global::GitHub.CodespaceWithFullRepositoryState? Type1094 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsRepositoryHooks? Type1095 { get; set; } + public global::GitHub.CodespaceWithFullRepositoryGitStatus? Type1095 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsRepositoryProjects? Type1096 { get; set; } + public global::GitHub.CodespaceWithFullRepositoryLocation? Type1096 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecretScanningAlerts? Type1097 { get; set; } + public global::GitHub.CodespaceWithFullRepositoryRuntimeConstraints? Type1097 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecrets? Type1098 { get; set; } + public global::GitHub.Email? Type1098 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecurityEvents? Type1099 { get; set; } + public global::GitHub.GpgKey? Type1099 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecurityScanningAlert? Type1100 { get; set; } + public global::System.Collections.Generic.IList? Type1100 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSingleFile? Type1101 { get; set; } + public global::GitHub.GpgKeyEmail? Type1101 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsStatuses? Type1102 { get; set; } + public global::System.Collections.Generic.IList? Type1102 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsTeamDiscussions? Type1103 { get; set; } + public global::GitHub.GpgKeySubkey? Type1103 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsVulnerabilityAlerts? Type1104 { get; set; } + public global::System.Collections.Generic.IList? Type1104 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsWorkflows? Type1105 { get; set; } + public global::GitHub.GpgKeySubkeyEmail? Type1105 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteHeadCommitAuthor? Type1106 { get; set; } + public global::System.Collections.Generic.IList? Type1106 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteHeadCommitCommitter? Type1107 { get; set; } + public global::GitHub.GpgKeySubkeySubkey? Type1107 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestsBase? Type1108 { get; set; } + public global::GitHub.Key? Type1108 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestsHead? Type1109 { get; set; } + public global::GitHub.MarketplaceAccount? Type1109 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestsBaseRepo? Type1110 { get; set; } + public global::GitHub.UserMarketplacePurchase? Type1110 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestsHeadRepo? Type1111 { get; set; } + public global::GitHub.SocialAccount? Type1111 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedAction? Type1112 { get; set; } + public global::GitHub.SshSigningKey? Type1112 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuite? Type1113 { get; set; } + public global::GitHub.StarredRepository? Type1113 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteApp? Type1114 { get; set; } + public global::GitHub.SigstoreBundle0? Type1114 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteConclusion? Type1115 { get; set; } + public global::GitHub.SigstoreBundle0VerificationMaterial? Type1115 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteHeadCommit? Type1116 { get; set; } + public global::GitHub.SigstoreBundle0VerificationMaterialX509CertificateChain? Type1116 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1117 { get; set; } + public global::System.Collections.Generic.IList? Type1117 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteStatus? Type1118 { get; set; } + public global::GitHub.SigstoreBundle0VerificationMaterialX509CertificateChainCertificate? Type1118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1119 { get; set; } + public global::System.Collections.Generic.IList? Type1119 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppOwner? Type1120 { get; set; } + public global::GitHub.SigstoreBundle0VerificationMaterialTlogEntrie? Type1120 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissions? Type1121 { get; set; } + public global::GitHub.SigstoreBundle0VerificationMaterialTlogEntrieLogId? Type1121 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppOwnerType? Type1122 { get; set; } + public global::GitHub.SigstoreBundle0VerificationMaterialTlogEntrieKindVersion? Type1122 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsActions? Type1123 { get; set; } + public global::GitHub.SigstoreBundle0VerificationMaterialTlogEntrieInclusionPromise? Type1123 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsAdministration? Type1124 { get; set; } + public global::GitHub.SigstoreBundle0DsseEnvelope? Type1124 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsChecks? Type1125 { get; set; } + public global::System.Collections.Generic.IList? Type1125 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsContentReferences? Type1126 { get; set; } + public global::GitHub.SigstoreBundle0DsseEnvelopeSignature? Type1126 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsContents? Type1127 { get; set; } + public global::GitHub.Hovercard? Type1127 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsDeployments? Type1128 { get; set; } + public global::System.Collections.Generic.IList? Type1128 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsDiscussions? Type1129 { get; set; } + public global::GitHub.HovercardContext? Type1129 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsEmails? Type1130 { get; set; } + public global::GitHub.KeySimple? Type1130 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsEnvironments? Type1131 { get; set; } + public global::GitHub.EnterpriseWebhooks? Type1131 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsIssues? Type1132 { get; set; } + public global::GitHub.SimpleInstallation? Type1132 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsKeys? Type1133 { get; set; } + public global::GitHub.OrganizationSimpleWebhooks? Type1133 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsMembers? Type1134 { get; set; } + public global::GitHub.RepositoryWebhooks? Type1134 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsMetadata? Type1135 { get; set; } + public global::GitHub.RepositoryWebhooksPermissions? Type1135 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationAdministration? Type1136 { get; set; } + public global::GitHub.RepositoryWebhooksCustomProperties? Type1136 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationHooks? Type1137 { get; set; } + public global::GitHub.RepositoryWebhooksTemplateRepository? Type1137 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationPackages? Type1138 { get; set; } + public global::GitHub.RepositoryWebhooksTemplateRepositoryOwner? Type1138 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationPlan? Type1139 { get; set; } + public global::GitHub.RepositoryWebhooksTemplateRepositoryPermissions? Type1139 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationProjects? Type1140 { get; set; } + public global::GitHub.RepositoryWebhooksTemplateRepositorySquashMergeCommitTitle? Type1140 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationSecrets? Type1141 { get; set; } + public global::GitHub.RepositoryWebhooksTemplateRepositorySquashMergeCommitMessage? Type1141 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationSelfHostedRunners? Type1142 { get; set; } + public global::GitHub.RepositoryWebhooksTemplateRepositoryMergeCommitTitle? Type1142 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationUserBlocking? Type1143 { get; set; } + public global::GitHub.RepositoryWebhooksTemplateRepositoryMergeCommitMessage? Type1143 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsPackages? Type1144 { get; set; } + public global::GitHub.RepositoryWebhooksSquashMergeCommitTitle? Type1144 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsPages? Type1145 { get; set; } + public global::GitHub.RepositoryWebhooksSquashMergeCommitMessage? Type1145 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsPullRequests? Type1146 { get; set; } + public global::GitHub.RepositoryWebhooksMergeCommitTitle? Type1146 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsRepositoryHooks? Type1147 { get; set; } + public global::GitHub.RepositoryWebhooksMergeCommitMessage? Type1147 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsRepositoryProjects? Type1148 { get; set; } + public global::GitHub.SimpleUserWebhooks? Type1148 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecretScanningAlerts? Type1149 { get; set; } + public global::GitHub.WebhooksRule? Type1149 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecrets? Type1150 { get; set; } + public global::GitHub.WebhooksRuleAllowDeletionsEnforcementLevel? Type1150 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecurityEvents? Type1151 { get; set; } + public global::GitHub.WebhooksRuleAllowForcePushesEnforcementLevel? Type1151 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecurityScanningAlert? Type1152 { get; set; } + public global::GitHub.WebhooksRuleLinearHistoryRequirementEnforcementLevel? Type1152 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSingleFile? Type1153 { get; set; } + public global::GitHub.WebhooksRuleLockBranchEnforcementLevel? Type1153 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsStatuses? Type1154 { get; set; } + public global::GitHub.WebhooksRuleMergeQueueEnforcementLevel? Type1154 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsTeamDiscussions? Type1155 { get; set; } + public global::GitHub.WebhooksRulePullRequestReviewsEnforcementLevel? Type1155 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsVulnerabilityAlerts? Type1156 { get; set; } + public global::GitHub.WebhooksRuleRequiredConversationResolutionLevel? Type1156 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsWorkflows? Type1157 { get; set; } + public global::GitHub.WebhooksRuleRequiredDeploymentsEnforcementLevel? Type1157 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteHeadCommitAuthor? Type1158 { get; set; } + public global::GitHub.WebhooksRuleRequiredStatusChecksEnforcementLevel? Type1158 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteHeadCommitCommitter? Type1159 { get; set; } + public global::GitHub.WebhooksRuleSignatureRequirementEnforcementLevel? Type1159 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestsBase? Type1160 { get; set; } + public global::GitHub.SimpleCheckSuite? Type1160 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestsHead? Type1161 { get; set; } + public global::GitHub.SimpleCheckSuiteConclusion? Type1161 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestsBaseRepo? Type1162 { get; set; } + public global::GitHub.SimpleCheckSuiteStatus? Type1162 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestsHeadRepo? Type1163 { get; set; } + public global::GitHub.CheckRunWithSimpleCheckSuite? Type1163 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedAction? Type1164 { get; set; } + public global::GitHub.CheckRunWithSimpleCheckSuiteConclusion? Type1164 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuite? Type1165 { get; set; } + public global::GitHub.CheckRunWithSimpleCheckSuiteOutput? Type1165 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteApp? Type1166 { get; set; } + public global::GitHub.CheckRunWithSimpleCheckSuiteStatus? Type1166 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteConclusion? Type1167 { get; set; } + public global::GitHub.WebhooksDeployKey? Type1167 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteHeadCommit? Type1168 { get; set; } + public global::GitHub.WebhooksWorkflow? Type1168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1169 { get; set; } + public global::GitHub.WebhooksApprover? Type1169 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteStatus? Type1170 { get; set; } + public global::System.Collections.Generic.IList? Type1170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1171 { get; set; } + public global::GitHub.WebhooksReviewer? Type1171 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppOwner? Type1172 { get; set; } + public global::GitHub.WebhooksReviewerReviewer? Type1172 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissions? Type1173 { get; set; } + public global::GitHub.WebhooksReviewerReviewerType? Type1173 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppOwnerType? Type1174 { get; set; } + public global::GitHub.WebhooksReviewerType? Type1174 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsActions? Type1175 { get; set; } + public global::GitHub.WebhooksWorkflowJobRun? Type1175 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsAdministration? Type1176 { get; set; } + public global::GitHub.WebhooksWorkflowJobRunConclusion? Type1176 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsChecks? Type1177 { get; set; } + public global::GitHub.WebhooksWorkflowJobRunName? Type1177 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsContentReferences? Type1178 { get; set; } + public global::GitHub.WebhooksUser? Type1178 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsContents? Type1179 { get; set; } + public global::GitHub.WebhooksUserType? Type1179 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsDeployments? Type1180 { get; set; } + public global::GitHub.WebhooksAnswer? Type1180 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsDiscussions? Type1181 { get; set; } + public global::GitHub.WebhooksAnswerAuthorAssociation? Type1181 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsEmails? Type1182 { get; set; } + public global::GitHub.WebhooksAnswerParentId? Type1182 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsEnvironments? Type1183 { get; set; } + public global::GitHub.WebhooksAnswerReactions? Type1183 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsIssues? Type1184 { get; set; } + public global::GitHub.WebhooksAnswerUser? Type1184 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsKeys? Type1185 { get; set; } + public global::GitHub.WebhooksAnswerUserType? Type1185 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsMembers? Type1186 { get; set; } + public global::GitHub.Discussion? Type1186 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsMetadata? Type1187 { get; set; } + public global::GitHub.DiscussionAnswerChosenBy? Type1187 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationAdministration? Type1188 { get; set; } + public global::GitHub.DiscussionAnswerChosenByType? Type1188 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationHooks? Type1189 { get; set; } + public global::GitHub.DiscussionAuthorAssociation? Type1189 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationPackages? Type1190 { get; set; } + public global::GitHub.DiscussionCategory? Type1190 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationPlan? Type1191 { get; set; } + public global::GitHub.DiscussionReactions? Type1191 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationProjects? Type1192 { get; set; } + public global::GitHub.DiscussionState? Type1192 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationSecrets? Type1193 { get; set; } + public global::GitHub.DiscussionStateReason? Type1193 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationSelfHostedRunners? Type1194 { get; set; } + public global::GitHub.DiscussionUser? Type1194 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationUserBlocking? Type1195 { get; set; } + public global::GitHub.DiscussionUserType? Type1195 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsPackages? Type1196 { get; set; } + public global::System.Collections.Generic.IList? Type1196 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsPages? Type1197 { get; set; } + public global::GitHub.WebhooksComment? Type1197 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsPullRequests? Type1198 { get; set; } + public global::GitHub.WebhooksCommentAuthorAssociation? Type1198 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsRepositoryHooks? Type1199 { get; set; } + public global::GitHub.WebhooksCommentReactions? Type1199 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsRepositoryProjects? Type1200 { get; set; } + public global::GitHub.WebhooksCommentUser? Type1200 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecretScanningAlerts? Type1201 { get; set; } + public global::GitHub.WebhooksCommentUserType? Type1201 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecrets? Type1202 { get; set; } + public global::GitHub.WebhooksLabel? Type1202 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecurityEvents? Type1203 { get; set; } + public global::System.Collections.Generic.IList? Type1203 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecurityScanningAlert? Type1204 { get; set; } + public global::GitHub.WebhooksRepositorie? Type1204 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSingleFile? Type1205 { get; set; } + public global::System.Collections.Generic.IList? Type1205 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsStatuses? Type1206 { get; set; } + public global::GitHub.WebhooksRepositoriesAddedItem? Type1206 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsTeamDiscussions? Type1207 { get; set; } + public global::GitHub.WebhooksRepositorySelection? Type1207 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsVulnerabilityAlerts? Type1208 { get; set; } + public global::GitHub.WebhooksIssueComment? Type1208 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsWorkflows? Type1209 { get; set; } + public global::GitHub.WebhooksIssueCommentAuthorAssociation? Type1209 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteHeadCommitAuthor? Type1210 { get; set; } + public global::GitHub.WebhooksIssueCommentReactions? Type1210 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteHeadCommitCommitter? Type1211 { get; set; } + public global::GitHub.WebhooksIssueCommentUser? Type1211 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestsBase? Type1212 { get; set; } + public global::GitHub.WebhooksIssueCommentUserType? Type1212 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestsHead? Type1213 { get; set; } + public global::GitHub.WebhooksChanges? Type1213 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestsBaseRepo? Type1214 { get; set; } + public global::GitHub.WebhooksChangesBody? Type1214 { get; set; } /// /// /// - public global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestsHeadRepo? Type1215 { get; set; } + public global::GitHub.WebhooksIssue? Type1215 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAction? Type1216 { get; set; } + public global::GitHub.WebhooksIssueActiveLockReason? Type1216 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlert? Type1217 { get; set; } + public global::GitHub.WebhooksIssueAssignee? Type1217 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertDismissedBy? Type1218 { get; set; } + public global::GitHub.WebhooksIssueAssigneeType? Type1218 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertDismissedReason? Type1219 { get; set; } + public global::System.Collections.Generic.IList? Type1219 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstance? Type1220 { get; set; } + public global::GitHub.WebhooksIssueAssignee2? Type1220 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertRule? Type1221 { get; set; } + public global::GitHub.WebhooksIssueAssigneeType2? Type1221 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertState? Type1222 { get; set; } + public global::GitHub.WebhooksIssueAuthorAssociation? Type1222 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertTool? Type1223 { get; set; } + public global::System.Collections.Generic.IList? Type1223 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertDismissedByType? Type1224 { get; set; } + public global::GitHub.WebhooksIssueLabel? Type1224 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceLocation? Type1225 { get; set; } + public global::GitHub.WebhooksIssueMilestone? Type1225 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceMessage? Type1226 { get; set; } + public global::GitHub.WebhooksIssueMilestoneCreator? Type1226 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceState? Type1227 { get; set; } + public global::GitHub.WebhooksIssueMilestoneCreatorType? Type1227 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertRuleSeverity? Type1228 { get; set; } + public global::GitHub.WebhooksIssueMilestoneState? Type1228 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertClosedByUserAction? Type1229 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubApp? Type1229 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertClosedByUserAlert? Type1230 { get; set; } + public global::System.Collections.Generic.IList? Type1230 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertDismissedBy? Type1231 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppEvent? Type1231 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertDismissedReason? Type1232 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppOwner? Type1232 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstance? Type1233 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppOwnerType? Type1233 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertRule? Type1234 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissions? Type1234 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertState? Type1235 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsActions? Type1235 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertTool? Type1236 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsAdministration? Type1236 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertDismissedByType? Type1237 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsChecks? Type1237 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceLocation? Type1238 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsContentReferences? Type1238 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceMessage? Type1239 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsContents? Type1239 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceState? Type1240 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsDeployments? Type1240 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertRuleSeverity? Type1241 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsDiscussions? Type1241 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertCreatedAction? Type1242 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsEmails? Type1242 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertCreatedAlert? Type1243 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsEnvironments? Type1243 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertCreatedAlertMostRecentInstance? Type1244 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsIssues? Type1244 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertCreatedAlertRule? Type1245 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsKeys? Type1245 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertCreatedAlertState? Type1246 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsMembers? Type1246 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertCreatedAlertTool? Type1247 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsMetadata? Type1247 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceLocation? Type1248 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type1248 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceMessage? Type1249 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type1249 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceState? Type1250 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type1250 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertCreatedAlertRuleSeverity? Type1251 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type1251 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertFixedAction? Type1252 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type1252 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertFixedAlert? Type1253 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type1253 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertFixedAlertDismissedBy? Type1254 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1254 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertFixedAlertDismissedReason? Type1255 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1255 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertFixedAlertMostRecentInstance? Type1256 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsPackages? Type1256 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertFixedAlertRule? Type1257 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsPages? Type1257 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertFixedAlertState? Type1258 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsPullRequests? Type1258 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertFixedAlertTool? Type1259 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type1259 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertFixedAlertDismissedByType? Type1260 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type1260 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertFixedAlertMostRecentInstanceLocation? Type1261 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type1261 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertFixedAlertMostRecentInstanceMessage? Type1262 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsSecrets? Type1262 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertFixedAlertMostRecentInstanceState? Type1263 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsSecurityEvents? Type1263 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertFixedAlertRuleSeverity? Type1264 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type1264 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedAction? Type1265 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsSingleFile? Type1265 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedAlert? Type1266 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsStatuses? Type1266 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedAlertMostRecentInstance? Type1267 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type1267 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedAlertRule? Type1268 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1268 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedAlertState? Type1269 { get; set; } + public global::GitHub.WebhooksIssuePerformedViaGithubAppPermissionsWorkflows? Type1269 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedAlertTool? Type1270 { get; set; } + public global::GitHub.WebhooksIssuePullRequest? Type1270 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceLocation? Type1271 { get; set; } + public global::GitHub.WebhooksIssueReactions? Type1271 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceMessage? Type1272 { get; set; } + public global::GitHub.WebhooksIssueState? Type1272 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceState? Type1273 { get; set; } + public global::GitHub.WebhooksIssueUser? Type1273 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedAlertRuleSeverity? Type1274 { get; set; } + public global::GitHub.WebhooksIssueUserType? Type1274 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedByUserAction? Type1275 { get; set; } + public global::GitHub.WebhooksMilestone? Type1275 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlert? Type1276 { get; set; } + public global::GitHub.WebhooksMilestoneCreator? Type1276 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstance? Type1277 { get; set; } + public global::GitHub.WebhooksMilestoneCreatorType? Type1277 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertRule? Type1278 { get; set; } + public global::GitHub.WebhooksMilestoneState? Type1278 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertState? Type1279 { get; set; } + public global::GitHub.WebhooksIssue2? Type1279 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertTool? Type1280 { get; set; } + public global::GitHub.WebhooksIssue2ActiveLockReason? Type1280 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceLocation? Type1281 { get; set; } + public global::GitHub.WebhooksIssue2Assignee? Type1281 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceMessage? Type1282 { get; set; } + public global::GitHub.WebhooksIssue2AssigneeType? Type1282 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceState? Type1283 { get; set; } + public global::System.Collections.Generic.IList? Type1283 { get; set; } /// /// /// - public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertRuleSeverity? Type1284 { get; set; } + public global::GitHub.WebhooksIssue2Assignee2? Type1284 { get; set; } /// /// /// - public global::GitHub.WebhookCommitCommentCreatedAction? Type1285 { get; set; } + public global::GitHub.WebhooksIssue2AssigneeType2? Type1285 { get; set; } /// /// /// - public global::GitHub.WebhookCommitCommentCreatedComment? Type1286 { get; set; } + public global::GitHub.WebhooksIssue2AuthorAssociation? Type1286 { get; set; } /// /// /// - public global::GitHub.WebhookCommitCommentCreatedCommentAuthorAssociation? Type1287 { get; set; } + public global::System.Collections.Generic.IList? Type1287 { get; set; } /// /// /// - public global::GitHub.WebhookCommitCommentCreatedCommentReactions? Type1288 { get; set; } + public global::GitHub.WebhooksIssue2Label? Type1288 { get; set; } /// /// /// - public global::GitHub.WebhookCommitCommentCreatedCommentUser? Type1289 { get; set; } + public global::GitHub.WebhooksIssue2Milestone? Type1289 { get; set; } /// /// /// - public global::GitHub.WebhookCommitCommentCreatedCommentUserType? Type1290 { get; set; } + public global::GitHub.WebhooksIssue2MilestoneCreator? Type1290 { get; set; } /// /// /// - public global::GitHub.WebhookCreateRefType? Type1291 { get; set; } + public global::GitHub.WebhooksIssue2MilestoneCreatorType? Type1291 { get; set; } /// /// /// - public global::GitHub.WebhookCustomPropertyCreatedAction? Type1292 { get; set; } + public global::GitHub.WebhooksIssue2MilestoneState? Type1292 { get; set; } /// /// /// - public global::GitHub.OrgCustomProperty? Type1293 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubApp? Type1293 { get; set; } /// /// /// - public global::GitHub.WebhookCustomPropertyDeletedAction? Type1294 { get; set; } + public global::System.Collections.Generic.IList? Type1294 { get; set; } /// /// /// - public global::GitHub.WebhookCustomPropertyDeletedDefinition? Type1295 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppEvent? Type1295 { get; set; } /// /// /// - public global::GitHub.WebhookCustomPropertyUpdatedAction? Type1296 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppOwner? Type1296 { get; set; } /// /// /// - public global::GitHub.WebhookCustomPropertyValuesUpdatedAction? Type1297 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppOwnerType? Type1297 { get; set; } /// /// /// - public global::GitHub.WebhookDeleteRefType? Type1298 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissions? Type1298 { get; set; } /// /// /// - public global::GitHub.WebhookDependabotAlertAutoDismissedAction? Type1299 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsActions? Type1299 { get; set; } /// /// /// - public global::GitHub.DependabotAlert? Type1300 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsAdministration? Type1300 { get; set; } /// /// /// - public global::GitHub.WebhookDependabotAlertAutoReopenedAction? Type1301 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsChecks? Type1301 { get; set; } /// /// /// - public global::GitHub.WebhookDependabotAlertCreatedAction? Type1302 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsContentReferences? Type1302 { get; set; } /// /// /// - public global::GitHub.WebhookDependabotAlertDismissedAction? Type1303 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsContents? Type1303 { get; set; } /// /// /// - public global::GitHub.WebhookDependabotAlertFixedAction? Type1304 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsDeployments? Type1304 { get; set; } /// /// /// - public global::GitHub.WebhookDependabotAlertReintroducedAction? Type1305 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsDiscussions? Type1305 { get; set; } /// /// /// - public global::GitHub.WebhookDependabotAlertReopenedAction? Type1306 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsEmails? Type1306 { get; set; } /// /// /// - public global::GitHub.WebhookDeployKeyCreatedAction? Type1307 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsEnvironments? Type1307 { get; set; } /// /// /// - public global::GitHub.WebhooksDeployKey? Type1308 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsIssues? Type1308 { get; set; } /// /// /// - public global::GitHub.WebhookDeployKeyDeletedAction? Type1309 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsKeys? Type1309 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedAction? Type1310 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsMembers? Type1310 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeployment? Type1311 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsMetadata? Type1311 { get; set; } /// /// /// - public global::GitHub.WebhooksWorkflow? Type1312 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationAdministration? Type1312 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRun? Type1313 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationHooks? Type1313 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentCreator? Type1314 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationPackages? Type1314 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubApp? Type1315 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationPlan? Type1315 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentCreatorType? Type1316 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationProjects? Type1316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1317 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationSecrets? Type1317 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppOwner? Type1318 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1318 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissions? Type1319 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1319 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppOwnerType? Type1320 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsPackages? Type1320 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsActions? Type1321 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsPages? Type1321 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsAdministration? Type1322 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsPullRequests? Type1322 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsChecks? Type1323 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsRepositoryHooks? Type1323 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsContentReferences? Type1324 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsRepositoryProjects? Type1324 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsContents? Type1325 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsSecretScanningAlerts? Type1325 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsDeployments? Type1326 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsSecrets? Type1326 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsDiscussions? Type1327 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsSecurityEvents? Type1327 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsEmails? Type1328 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsSecurityScanningAlert? Type1328 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsEnvironments? Type1329 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsSingleFile? Type1329 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsIssues? Type1330 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsStatuses? Type1330 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsKeys? Type1331 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsTeamDiscussions? Type1331 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsMembers? Type1332 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1332 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsMetadata? Type1333 { get; set; } + public global::GitHub.WebhooksIssue2PerformedViaGithubAppPermissionsWorkflows? Type1333 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationAdministration? Type1334 { get; set; } + public global::GitHub.WebhooksIssue2PullRequest? Type1334 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationHooks? Type1335 { get; set; } + public global::GitHub.WebhooksIssue2Reactions? Type1335 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPackages? Type1336 { get; set; } + public global::GitHub.WebhooksIssue2State? Type1336 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPlan? Type1337 { get; set; } + public global::GitHub.WebhooksIssue2User? Type1337 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationProjects? Type1338 { get; set; } + public global::GitHub.WebhooksIssue2UserType? Type1338 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSecrets? Type1339 { get; set; } + public global::GitHub.WebhooksUserMannequin? Type1339 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1340 { get; set; } + public global::GitHub.WebhooksUserMannequinType? Type1340 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1341 { get; set; } + public global::GitHub.WebhooksMarketplacePurchase? Type1341 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsPackages? Type1342 { get; set; } + public global::GitHub.WebhooksMarketplacePurchaseAccount? Type1342 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsPages? Type1343 { get; set; } + public global::GitHub.WebhooksMarketplacePurchasePlan? Type1343 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsPullRequests? Type1344 { get; set; } + public global::GitHub.WebhooksMarketplacePurchasePlanPriceModel? Type1344 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryHooks? Type1345 { get; set; } + public global::GitHub.WebhooksPreviousMarketplacePurchase? Type1345 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryProjects? Type1346 { get; set; } + public global::GitHub.WebhooksPreviousMarketplacePurchaseAccount? Type1346 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecretScanningAlerts? Type1347 { get; set; } + public global::GitHub.WebhooksPreviousMarketplacePurchaseFreeTrialEndsOn? Type1347 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecrets? Type1348 { get; set; } + public global::GitHub.WebhooksPreviousMarketplacePurchasePlan? Type1348 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecurityEvents? Type1349 { get; set; } + public global::GitHub.WebhooksPreviousMarketplacePurchasePlanPriceModel? Type1349 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecurityScanningAlert? Type1350 { get; set; } + public global::GitHub.WebhooksTeam? Type1350 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSingleFile? Type1351 { get; set; } + public global::GitHub.WebhooksTeamParent? Type1351 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsStatuses? Type1352 { get; set; } + public global::GitHub.WebhooksTeamParentPrivacy? Type1352 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsTeamDiscussions? Type1353 { get; set; } + public global::GitHub.WebhooksTeamParentNotificationSetting? Type1353 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1354 { get; set; } + public global::GitHub.WebhooksTeamPrivacy? Type1354 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsWorkflows? Type1355 { get; set; } + public global::GitHub.WebhooksTeamNotificationSetting? Type1355 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunActor? Type1356 { get; set; } + public global::GitHub.MergeGroup? Type1356 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunConclusion? Type1357 { get; set; } + public global::GitHub.NullableRepositoryWebhooks? Type1357 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunHeadRepository? Type1358 { get; set; } + public global::GitHub.NullableRepositoryWebhooksPermissions? Type1358 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1359 { get; set; } + public global::GitHub.NullableRepositoryWebhooksCustomProperties? Type1359 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1360 { get; set; } + public global::GitHub.NullableRepositoryWebhooksTemplateRepository? Type1360 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunRepository? Type1361 { get; set; } + public global::GitHub.NullableRepositoryWebhooksTemplateRepositoryOwner? Type1361 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunStatus? Type1362 { get; set; } + public global::GitHub.NullableRepositoryWebhooksTemplateRepositoryPermissions? Type1362 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunTriggeringActor? Type1363 { get; set; } + public global::GitHub.NullableRepositoryWebhooksTemplateRepositorySquashMergeCommitTitle? Type1363 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunActorType? Type1364 { get; set; } + public global::GitHub.NullableRepositoryWebhooksTemplateRepositorySquashMergeCommitMessage? Type1364 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunHeadRepositoryOwner? Type1365 { get; set; } + public global::GitHub.NullableRepositoryWebhooksTemplateRepositoryMergeCommitTitle? Type1365 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunRepositoryOwner? Type1366 { get; set; } + public global::GitHub.NullableRepositoryWebhooksTemplateRepositoryMergeCommitMessage? Type1366 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunTriggeringActorType? Type1367 { get; set; } + public global::GitHub.NullableRepositoryWebhooksSquashMergeCommitTitle? Type1367 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestsBase? Type1368 { get; set; } + public global::GitHub.NullableRepositoryWebhooksSquashMergeCommitMessage? Type1368 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestsHead? Type1369 { get; set; } + public global::GitHub.NullableRepositoryWebhooksMergeCommitTitle? Type1369 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestsBaseRepo? Type1370 { get; set; } + public global::GitHub.NullableRepositoryWebhooksMergeCommitMessage? Type1370 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestsHeadRepo? Type1371 { get; set; } + public global::GitHub.WebhooksMilestone3? Type1371 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentProtectionRuleRequestedAction? Type1372 { get; set; } + public global::GitHub.WebhooksMilestone3Creator? Type1372 { get; set; } /// /// /// - public global::GitHub.Deployment? Type1373 { get; set; } + public global::GitHub.WebhooksMilestone3CreatorType? Type1373 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1374 { get; set; } + public global::GitHub.WebhooksMilestone3State? Type1374 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedAction? Type1375 { get; set; } + public global::GitHub.WebhooksMembership? Type1375 { get; set; } /// /// /// - public global::GitHub.WebhooksApprover? Type1376 { get; set; } + public global::GitHub.WebhooksMembershipUser? Type1376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1377 { get; set; } + public global::GitHub.WebhooksMembershipUserType? Type1377 { get; set; } /// /// /// - public global::GitHub.WebhooksWorkflowJobRun? Type1378 { get; set; } + public global::GitHub.PersonalAccessTokenRequest? Type1378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1379 { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsAdded? Type1379 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRun? Type1380 { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsAddedOrganization? Type1380 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunActor? Type1381 { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsAddedRepository? Type1381 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunConclusion? Type1382 { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsAddedOther? Type1382 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunHeadRepository? Type1383 { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsUpgraded? Type1383 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1384 { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsUpgradedOrganization? Type1384 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1385 { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsUpgradedRepository? Type1385 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunRepository? Type1386 { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsUpgradedOther? Type1386 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunStatus? Type1387 { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsResult? Type1387 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunTriggeringActor? Type1388 { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsResultOrganization? Type1388 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunActorType? Type1389 { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsResultRepository? Type1389 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunHeadRepositoryOwner? Type1390 { get; set; } + public global::GitHub.PersonalAccessTokenRequestPermissionsResultOther? Type1390 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunRepositoryOwner? Type1391 { get; set; } + public global::GitHub.PersonalAccessTokenRequestRepositorySelection? Type1391 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunTriggeringActorType? Type1392 { get; set; } + public global::System.Collections.Generic.IList? Type1392 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBase? Type1393 { get; set; } + public global::GitHub.PersonalAccessTokenRequestRepositorie? Type1393 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHead? Type1394 { get; set; } + public global::GitHub.WebhooksProjectCard? Type1394 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsBaseRepo? Type1395 { get; set; } + public global::GitHub.WebhooksProjectCardCreator? Type1395 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestsHeadRepo? Type1396 { get; set; } + public global::GitHub.WebhooksProjectCardCreatorType? Type1396 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewer? Type1397 { get; set; } + public global::GitHub.WebhooksProject? Type1397 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedReviewersType? Type1398 { get; set; } + public global::GitHub.WebhooksProjectCreator? Type1398 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewApprovedReviewersReviewerType? Type1399 { get; set; } + public global::GitHub.WebhooksProjectCreatorType? Type1399 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedAction? Type1400 { get; set; } + public global::GitHub.WebhooksProjectState? Type1400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1401 { get; set; } + public global::GitHub.WebhooksProjectColumn? Type1401 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1402 { get; set; } + public global::GitHub.ProjectsV2? Type1402 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRun? Type1403 { get; set; } + public global::GitHub.WebhooksProjectChanges? Type1403 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunActor? Type1404 { get; set; } + public global::GitHub.WebhooksProjectChangesArchivedAt? Type1404 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunConclusion? Type1405 { get; set; } + public global::GitHub.ProjectsV2ItemContentType? Type1405 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunHeadRepository? Type1406 { get; set; } + public global::GitHub.ProjectsV2Item? Type1406 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1407 { get; set; } + public global::GitHub.ProjectsV2SingleSelectOption? Type1407 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1408 { get; set; } + public global::GitHub.ProjectsV2IterationSetting? Type1408 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunRepository? Type1409 { get; set; } + public global::GitHub.ProjectsV2StatusUpdate? Type1409 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunStatus? Type1410 { get; set; } + public global::GitHub.ProjectsV2StatusUpdateStatus? Type1410 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunTriggeringActor? Type1411 { get; set; } + public global::GitHub.PullRequestWebhook? Type1411 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunActorType? Type1412 { get; set; } + public global::GitHub.PullRequestWebhookVariant2? Type1412 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunHeadRepositoryOwner? Type1413 { get; set; } + public global::GitHub.PullRequestWebhookVariant2MergeCommitMessage? Type1413 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunRepositoryOwner? Type1414 { get; set; } + public global::GitHub.PullRequestWebhookVariant2MergeCommitTitle? Type1414 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunTriggeringActorType? Type1415 { get; set; } + public global::GitHub.PullRequestWebhookVariant2SquashMergeCommitMessage? Type1415 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBase? Type1416 { get; set; } + public global::GitHub.PullRequestWebhookVariant2SquashMergeCommitTitle? Type1416 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHead? Type1417 { get; set; } + public global::GitHub.WebhooksPullRequest5? Type1417 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsBaseRepo? Type1418 { get; set; } + public global::GitHub.WebhooksPullRequest5Links? Type1418 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestsHeadRepo? Type1419 { get; set; } + public global::GitHub.WebhooksPullRequest5LinksComments? Type1419 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewer? Type1420 { get; set; } + public global::GitHub.WebhooksPullRequest5LinksCommits? Type1420 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedReviewersType? Type1421 { get; set; } + public global::GitHub.WebhooksPullRequest5LinksHtml? Type1421 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRejectedReviewersReviewerType? Type1422 { get; set; } + public global::GitHub.WebhooksPullRequest5LinksIssue? Type1422 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedAction? Type1423 { get; set; } + public global::GitHub.WebhooksPullRequest5LinksReviewComment? Type1423 { get; set; } /// /// /// - public global::GitHub.WebhooksUser? Type1424 { get; set; } + public global::GitHub.WebhooksPullRequest5LinksReviewComments? Type1424 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1425 { get; set; } + public global::GitHub.WebhooksPullRequest5LinksSelf? Type1425 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowJobRun? Type1426 { get; set; } + public global::GitHub.WebhooksPullRequest5LinksStatuses? Type1426 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRun? Type1427 { get; set; } + public global::GitHub.WebhooksPullRequest5ActiveLockReason? Type1427 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunActor? Type1428 { get; set; } + public global::GitHub.WebhooksPullRequest5Assignee? Type1428 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunConclusion? Type1429 { get; set; } + public global::GitHub.WebhooksPullRequest5AssigneeType? Type1429 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunHeadRepository? Type1430 { get; set; } + public global::System.Collections.Generic.IList? Type1430 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1431 { get; set; } + public global::GitHub.WebhooksPullRequest5Assignee2? Type1431 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1432 { get; set; } + public global::GitHub.WebhooksPullRequest5AssigneeType2? Type1432 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunRepository? Type1433 { get; set; } + public global::GitHub.WebhooksPullRequest5AuthorAssociation? Type1433 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunStatus? Type1434 { get; set; } + public global::GitHub.WebhooksPullRequest5AutoMerge? Type1434 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunTriggeringActor? Type1435 { get; set; } + public global::GitHub.WebhooksPullRequest5AutoMergeEnabledBy? Type1435 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunActorType? Type1436 { get; set; } + public global::GitHub.WebhooksPullRequest5AutoMergeEnabledByType? Type1436 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunHeadRepositoryOwner? Type1437 { get; set; } + public global::GitHub.WebhooksPullRequest5AutoMergeMergeMethod? Type1437 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunRepositoryOwner? Type1438 { get; set; } + public global::GitHub.WebhooksPullRequest5Base? Type1438 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunTriggeringActorType? Type1439 { get; set; } + public global::GitHub.WebhooksPullRequest5BaseRepo? Type1439 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBase? Type1440 { get; set; } + public global::System.OneOf? Type1440 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHead? Type1441 { get; set; } + public global::GitHub.WebhooksPullRequest5BaseRepoLicense? Type1441 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsBaseRepo? Type1442 { get; set; } + public global::GitHub.WebhooksPullRequest5BaseRepoMergeCommitMessage? Type1442 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestsHeadRepo? Type1443 { get; set; } + public global::GitHub.WebhooksPullRequest5BaseRepoMergeCommitTitle? Type1443 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewer? Type1444 { get; set; } + public global::GitHub.WebhooksPullRequest5BaseRepoOwner? Type1444 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedReviewersType? Type1445 { get; set; } + public global::GitHub.WebhooksPullRequest5BaseRepoOwnerType? Type1445 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentReviewRequestedReviewersReviewerType? Type1446 { get; set; } + public global::GitHub.WebhooksPullRequest5BaseRepoPermissions? Type1446 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedAction? Type1447 { get; set; } + public global::GitHub.WebhooksPullRequest5BaseRepoSquashMergeCommitMessage? Type1447 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedCheckRun? Type1448 { get; set; } + public global::GitHub.WebhooksPullRequest5BaseRepoSquashMergeCommitTitle? Type1448 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeployment? Type1449 { get; set; } + public global::GitHub.WebhooksPullRequest5BaseRepoVisibility? Type1449 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatus? Type1450 { get; set; } + public global::GitHub.WebhooksPullRequest5BaseUser? Type1450 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRun? Type1451 { get; set; } + public global::GitHub.WebhooksPullRequest5BaseUserType? Type1451 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedCheckRunConclusion? Type1452 { get; set; } + public global::GitHub.WebhooksPullRequest5Head? Type1452 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedCheckRunStatus? Type1453 { get; set; } + public global::GitHub.WebhooksPullRequest5HeadRepo? Type1453 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentCreator? Type1454 { get; set; } + public global::GitHub.WebhooksPullRequest5HeadRepoLicense? Type1454 { get; set; } /// /// /// - public global::System.OneOf? Type1455 { get; set; } + public global::GitHub.WebhooksPullRequest5HeadRepoMergeCommitMessage? Type1455 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubApp? Type1456 { get; set; } + public global::GitHub.WebhooksPullRequest5HeadRepoMergeCommitTitle? Type1456 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentCreatorType? Type1457 { get; set; } + public global::GitHub.WebhooksPullRequest5HeadRepoOwner? Type1457 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1458 { get; set; } + public global::GitHub.WebhooksPullRequest5HeadRepoOwnerType? Type1458 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppOwner? Type1459 { get; set; } + public global::GitHub.WebhooksPullRequest5HeadRepoPermissions? Type1459 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissions? Type1460 { get; set; } + public global::GitHub.WebhooksPullRequest5HeadRepoSquashMergeCommitMessage? Type1460 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppOwnerType? Type1461 { get; set; } + public global::GitHub.WebhooksPullRequest5HeadRepoSquashMergeCommitTitle? Type1461 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsActions? Type1462 { get; set; } + public global::GitHub.WebhooksPullRequest5HeadRepoVisibility? Type1462 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsAdministration? Type1463 { get; set; } + public global::GitHub.WebhooksPullRequest5HeadUser? Type1463 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsChecks? Type1464 { get; set; } + public global::GitHub.WebhooksPullRequest5HeadUserType? Type1464 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsContentReferences? Type1465 { get; set; } + public global::System.Collections.Generic.IList? Type1465 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsContents? Type1466 { get; set; } + public global::GitHub.WebhooksPullRequest5Label? Type1466 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsDeployments? Type1467 { get; set; } + public global::GitHub.WebhooksPullRequest5MergedBy? Type1467 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsDiscussions? Type1468 { get; set; } + public global::GitHub.WebhooksPullRequest5MergedByType? Type1468 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsEmails? Type1469 { get; set; } + public global::GitHub.WebhooksPullRequest5Milestone? Type1469 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsEnvironments? Type1470 { get; set; } + public global::GitHub.WebhooksPullRequest5MilestoneCreator? Type1470 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsIssues? Type1471 { get; set; } + public global::GitHub.WebhooksPullRequest5MilestoneCreatorType? Type1471 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsKeys? Type1472 { get; set; } + public global::GitHub.WebhooksPullRequest5MilestoneState? Type1472 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsMembers? Type1473 { get; set; } + public global::System.Collections.Generic.IList>? Type1473 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsMetadata? Type1474 { get; set; } + public global::System.OneOf? Type1474 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationAdministration? Type1475 { get; set; } + public global::GitHub.WebhooksPullRequest5RequestedReviewerVariant1? Type1475 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationHooks? Type1476 { get; set; } + public global::GitHub.WebhooksPullRequest5RequestedReviewerVariant1Type? Type1476 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPackages? Type1477 { get; set; } + public global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2? Type1477 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPlan? Type1478 { get; set; } + public global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2Parent? Type1478 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationProjects? Type1479 { get; set; } + public global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2ParentPrivacy? Type1479 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSecrets? Type1480 { get; set; } + public global::GitHub.WebhooksPullRequest5RequestedReviewerVariant2Privacy? Type1480 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1481 { get; set; } + public global::System.Collections.Generic.IList? Type1481 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1482 { get; set; } + public global::GitHub.WebhooksPullRequest5RequestedTeam? Type1482 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsPackages? Type1483 { get; set; } + public global::GitHub.WebhooksPullRequest5RequestedTeamParent? Type1483 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsPages? Type1484 { get; set; } + public global::GitHub.WebhooksPullRequest5RequestedTeamParentPrivacy? Type1484 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsPullRequests? Type1485 { get; set; } + public global::GitHub.WebhooksPullRequest5RequestedTeamPrivacy? Type1485 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryHooks? Type1486 { get; set; } + public global::GitHub.WebhooksPullRequest5State? Type1486 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryProjects? Type1487 { get; set; } + public global::GitHub.WebhooksPullRequest5User? Type1487 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecretScanningAlerts? Type1488 { get; set; } + public global::GitHub.WebhooksPullRequest5UserType? Type1488 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecrets? Type1489 { get; set; } + public global::GitHub.WebhooksReviewComment? Type1489 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecurityEvents? Type1490 { get; set; } + public global::GitHub.WebhooksReviewCommentLinks? Type1490 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecurityScanningAlert? Type1491 { get; set; } + public global::GitHub.WebhooksReviewCommentLinksHtml? Type1491 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSingleFile? Type1492 { get; set; } + public global::GitHub.WebhooksReviewCommentLinksPullRequest? Type1492 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsStatuses? Type1493 { get; set; } + public global::GitHub.WebhooksReviewCommentLinksSelf? Type1493 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsTeamDiscussions? Type1494 { get; set; } + public global::GitHub.WebhooksReviewCommentAuthorAssociation? Type1494 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1495 { get; set; } + public global::GitHub.WebhooksReviewCommentReactions? Type1495 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsWorkflows? Type1496 { get; set; } + public global::GitHub.WebhooksReviewCommentSide? Type1496 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusCreator? Type1497 { get; set; } + public global::GitHub.WebhooksReviewCommentStartSide? Type1497 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubApp? Type1498 { get; set; } + public global::GitHub.WebhooksReviewCommentSubjectType? Type1498 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusCreatorType? Type1499 { get; set; } + public global::GitHub.WebhooksReviewCommentUser? Type1499 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1500 { get; set; } + public global::GitHub.WebhooksReviewCommentUserType? Type1500 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppOwner? Type1501 { get; set; } + public global::GitHub.WebhooksReview? Type1501 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissions? Type1502 { get; set; } + public global::GitHub.WebhooksReviewLinks? Type1502 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppOwnerType? Type1503 { get; set; } + public global::GitHub.WebhooksReviewLinksHtml? Type1503 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsActions? Type1504 { get; set; } + public global::GitHub.WebhooksReviewLinksPullRequest? Type1504 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsAdministration? Type1505 { get; set; } + public global::GitHub.WebhooksReviewAuthorAssociation? Type1505 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsChecks? Type1506 { get; set; } + public global::GitHub.WebhooksReviewUser? Type1506 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsContentReferences? Type1507 { get; set; } + public global::GitHub.WebhooksReviewUserType? Type1507 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsContents? Type1508 { get; set; } + public global::GitHub.WebhooksRelease? Type1508 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsDeployments? Type1509 { get; set; } + public global::System.Collections.Generic.IList? Type1509 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsDiscussions? Type1510 { get; set; } + public global::GitHub.WebhooksReleaseAsset? Type1510 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsEmails? Type1511 { get; set; } + public global::GitHub.WebhooksReleaseAssetState? Type1511 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsEnvironments? Type1512 { get; set; } + public global::GitHub.WebhooksReleaseAssetUploader? Type1512 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsIssues? Type1513 { get; set; } + public global::GitHub.WebhooksReleaseAssetUploaderType? Type1513 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsKeys? Type1514 { get; set; } + public global::GitHub.WebhooksReleaseAuthor? Type1514 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsMembers? Type1515 { get; set; } + public global::GitHub.WebhooksReleaseAuthorType? Type1515 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsMetadata? Type1516 { get; set; } + public global::GitHub.WebhooksReleaseReactions? Type1516 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationAdministration? Type1517 { get; set; } + public global::GitHub.WebhooksRelease1? Type1517 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationHooks? Type1518 { get; set; } + public global::System.Collections.Generic.IList? Type1518 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationPackages? Type1519 { get; set; } + public global::GitHub.WebhooksRelease1Asset? Type1519 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationPlan? Type1520 { get; set; } + public global::GitHub.WebhooksRelease1AssetState? Type1520 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationProjects? Type1521 { get; set; } + public global::GitHub.WebhooksRelease1AssetUploader? Type1521 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationSecrets? Type1522 { get; set; } + public global::GitHub.WebhooksRelease1AssetUploaderType? Type1522 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1523 { get; set; } + public global::GitHub.WebhooksRelease1Author? Type1523 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1524 { get; set; } + public global::GitHub.WebhooksRelease1AuthorType? Type1524 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsPackages? Type1525 { get; set; } + public global::GitHub.WebhooksRelease1Reactions? Type1525 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsPages? Type1526 { get; set; } + public global::GitHub.WebhooksAlert? Type1526 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsPullRequests? Type1527 { get; set; } + public global::GitHub.WebhooksAlertDismisser? Type1527 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsRepositoryHooks? Type1528 { get; set; } + public global::GitHub.WebhooksAlertDismisserType? Type1528 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsRepositoryProjects? Type1529 { get; set; } + public global::GitHub.WebhooksAlertState? Type1529 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecretScanningAlerts? Type1530 { get; set; } + public global::GitHub.SecretScanningAlertResolutionWebhook? Type1530 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecrets? Type1531 { get; set; } + public global::GitHub.SecretScanningAlertWebhook? Type1531 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecurityEvents? Type1532 { get; set; } + public global::GitHub.SecretScanningAlertWebhookValidity? Type1532 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecurityScanningAlert? Type1533 { get; set; } + public global::GitHub.WebhooksSecurityAdvisory? Type1533 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSingleFile? Type1534 { get; set; } + public global::GitHub.WebhooksSecurityAdvisoryCvss? Type1534 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsStatuses? Type1535 { get; set; } + public global::System.Collections.Generic.IList? Type1535 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsTeamDiscussions? Type1536 { get; set; } + public global::GitHub.WebhooksSecurityAdvisoryCwe? Type1536 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1537 { get; set; } + public global::System.Collections.Generic.IList? Type1537 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsWorkflows? Type1538 { get; set; } + public global::GitHub.WebhooksSecurityAdvisoryIdentifier? Type1538 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunActor? Type1539 { get; set; } + public global::System.Collections.Generic.IList? Type1539 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunConclusion? Type1540 { get; set; } + public global::GitHub.WebhooksSecurityAdvisoryReference? Type1540 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunHeadRepository? Type1541 { get; set; } + public global::System.Collections.Generic.IList? Type1541 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1542 { get; set; } + public global::GitHub.WebhooksSecurityAdvisoryVulnerabilitie? Type1542 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1543 { get; set; } + public global::GitHub.WebhooksSecurityAdvisoryVulnerabilitieFirstPatchedVersion? Type1543 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunRepository? Type1544 { get; set; } + public global::GitHub.WebhooksSecurityAdvisoryVulnerabilitiePackage? Type1544 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunStatus? Type1545 { get; set; } + public global::GitHub.WebhooksSponsorship? Type1545 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunTriggeringActor? Type1546 { get; set; } + public global::GitHub.WebhooksSponsorshipMaintainer? Type1546 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunActorType? Type1547 { get; set; } + public global::GitHub.WebhooksSponsorshipSponsor? Type1547 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunHeadRepositoryOwner? Type1548 { get; set; } + public global::GitHub.WebhooksSponsorshipSponsorType? Type1548 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunRepositoryOwner? Type1549 { get; set; } + public global::GitHub.WebhooksSponsorshipSponsorable? Type1549 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunTriggeringActorType? Type1550 { get; set; } + public global::GitHub.WebhooksSponsorshipSponsorableType? Type1550 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBase? Type1551 { get; set; } + public global::GitHub.WebhooksSponsorshipTier? Type1551 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHead? Type1552 { get; set; } + public global::GitHub.WebhooksChanges8? Type1552 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsBaseRepo? Type1553 { get; set; } + public global::GitHub.WebhooksChanges8Tier? Type1553 { get; set; } /// /// /// - public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestsHeadRepo? Type1554 { get; set; } + public global::GitHub.WebhooksChanges8TierFrom? Type1554 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionAnsweredAction? Type1555 { get; set; } + public global::GitHub.WebhooksTeam1? Type1555 { get; set; } /// /// /// - public global::GitHub.WebhooksAnswer? Type1556 { get; set; } + public global::GitHub.WebhooksTeam1Parent? Type1556 { get; set; } /// /// /// - public global::GitHub.Discussion? Type1557 { get; set; } + public global::GitHub.WebhooksTeam1ParentPrivacy? Type1557 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionCategoryChangedAction? Type1558 { get; set; } + public global::GitHub.WebhooksTeam1ParentNotificationSetting? Type1558 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionCategoryChangedChanges? Type1559 { get; set; } + public global::GitHub.WebhooksTeam1Privacy? Type1559 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionCategoryChangedChangesCategory? Type1560 { get; set; } + public global::GitHub.WebhooksTeam1NotificationSetting? Type1560 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionCategoryChangedChangesCategoryFrom? Type1561 { get; set; } + public global::GitHub.WebhookBranchProtectionConfigurationDisabled? Type1561 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionClosedAction? Type1562 { get; set; } + public global::GitHub.WebhookBranchProtectionConfigurationDisabledAction? Type1562 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionCommentCreatedAction? Type1563 { get; set; } + public global::GitHub.WebhookBranchProtectionConfigurationEnabled? Type1563 { get; set; } /// /// /// - public global::GitHub.WebhooksComment? Type1564 { get; set; } + public global::GitHub.WebhookBranchProtectionConfigurationEnabledAction? Type1564 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionCommentDeletedAction? Type1565 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleCreated? Type1565 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionCommentEditedAction? Type1566 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleCreatedAction? Type1566 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionCommentEditedChanges? Type1567 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleDeleted? Type1567 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionCommentEditedChangesBody? Type1568 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleDeletedAction? Type1568 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionCreatedAction? Type1569 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEdited? Type1569 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionDeletedAction? Type1570 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedAction? Type1570 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionEditedAction? Type1571 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChanges? Type1571 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionEditedChanges? Type1572 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesAdminEnforced? Type1572 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionEditedChangesBody? Type1573 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesAuthorizedActorNames? Type1573 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionEditedChangesTitle? Type1574 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesAuthorizedActorsOnly? Type1574 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionLabeledAction? Type1575 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesAuthorizedDismissalActorsOnly? Type1575 { get; set; } /// /// /// - public global::GitHub.WebhooksLabel? Type1576 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevel? Type1576 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionLockedAction? Type1577 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevelFrom? Type1577 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionPinnedAction? Type1578 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevel? Type1578 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionReopenedAction? Type1579 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesLockBranchEnforcementLevelFrom? Type1579 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionTransferredAction? Type1580 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesLockAllowsForkSync? Type1580 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionTransferredChanges? Type1581 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevel? Type1581 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionUnansweredAction? Type1582 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesPullRequestReviewsEnforcementLevelFrom? Type1582 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionUnlabeledAction? Type1583 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesRequireLastPushApproval? Type1583 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionUnlockedAction? Type1584 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecks? Type1584 { get; set; } /// /// /// - public global::GitHub.WebhookDiscussionUnpinnedAction? Type1585 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevel? Type1585 { get; set; } /// /// /// - public global::System.AllOf? Type1586 { get; set; } + public global::GitHub.WebhookBranchProtectionRuleEditedChangesRequiredStatusChecksEnforcementLevelFrom? Type1586 { get; set; } /// /// /// - public global::GitHub.WebhookForkForkeeLicense? Type1587 { get; set; } + public global::GitHub.WebhookCheckRunCompleted? Type1587 { get; set; } /// /// /// - public global::GitHub.WebhookForkForkeeOwner? Type1588 { get; set; } + public global::GitHub.WebhookCheckRunCompletedAction? Type1588 { get; set; } /// /// /// - public global::GitHub.WebhookForkForkeePermissions? Type1589 { get; set; } + public global::GitHub.WebhookCheckRunCompletedFormEncoded? Type1589 { get; set; } /// /// /// - public global::GitHub.WebhookForkForkeeVisibility? Type1590 { get; set; } + public global::GitHub.WebhookCheckRunCreated? Type1590 { get; set; } /// /// /// - public global::GitHub.WebhookForkForkeeOwnerType? Type1591 { get; set; } + public global::GitHub.WebhookCheckRunCreatedAction? Type1591 { get; set; } /// /// /// - public global::GitHub.WebhookGithubAppAuthorizationRevokedAction? Type1592 { get; set; } + public global::GitHub.WebhookCheckRunCreatedFormEncoded? Type1592 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1593 { get; set; } + public global::GitHub.WebhookCheckRunRequestedAction? Type1593 { get; set; } /// /// /// - public global::GitHub.WebhookGollumPagesAction? Type1594 { get; set; } + public global::GitHub.WebhookCheckRunRequestedActionAction? Type1594 { get; set; } /// /// /// - public global::GitHub.WebhookInstallationCreatedAction? Type1595 { get; set; } + public global::GitHub.WebhookCheckRunRequestedActionRequestedAction? Type1595 { get; set; } /// /// /// - public global::GitHub.Installation? Type1596 { get; set; } + public global::GitHub.WebhookCheckRunRequestedActionFormEncoded? Type1596 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1597 { get; set; } + public global::GitHub.WebhookCheckRunRerequested? Type1597 { get; set; } /// /// /// - public global::GitHub.WebhookInstallationDeletedAction? Type1598 { get; set; } + public global::GitHub.WebhookCheckRunRerequestedAction? Type1598 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1599 { get; set; } + public global::GitHub.WebhookCheckRunRerequestedFormEncoded? Type1599 { get; set; } /// /// /// - public global::GitHub.WebhookInstallationNewPermissionsAcceptedAction? Type1600 { get; set; } + public global::GitHub.WebhookCheckSuiteCompleted? Type1600 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1601 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedAction? Type1601 { get; set; } /// /// /// - public global::GitHub.WebhookInstallationRepositoriesAddedAction? Type1602 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuite? Type1602 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1603 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteApp? Type1603 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1604 { get; set; } + public global::System.Collections.Generic.IList? Type1604 { get; set; } /// /// /// - public global::GitHub.WebhooksRepositorySelection? Type1605 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppEvent? Type1605 { get; set; } /// /// /// - public global::GitHub.WebhookInstallationRepositoriesRemovedAction? Type1606 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppOwner? Type1606 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1607 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppOwnerType? Type1607 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1608 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissions? Type1608 { get; set; } /// /// /// - public global::GitHub.WebhookInstallationSuspendAction? Type1609 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsActions? Type1609 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1610 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsAdministration? Type1610 { get; set; } /// /// /// - public global::GitHub.WebhookInstallationTargetRenamedAccount? Type1611 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsChecks? Type1611 { get; set; } /// /// /// - public global::GitHub.WebhookInstallationTargetRenamedAction? Type1612 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsContentReferences? Type1612 { get; set; } /// /// /// - public global::GitHub.WebhookInstallationTargetRenamedChanges? Type1613 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsContents? Type1613 { get; set; } /// /// /// - public global::GitHub.WebhookInstallationTargetRenamedChangesLogin? Type1614 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsDeployments? Type1614 { get; set; } /// /// /// - public global::GitHub.WebhookInstallationTargetRenamedChangesSlug? Type1615 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsDiscussions? Type1615 { get; set; } /// /// /// - public global::GitHub.WebhookInstallationUnsuspendAction? Type1616 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsEmails? Type1616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1617 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsEnvironments? Type1617 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedAction? Type1618 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsIssues? Type1618 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedComment? Type1619 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsKeys? Type1619 { get; set; } /// /// /// - public global::System.AllOf? Type1620 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsMembers? Type1620 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedCommentAuthorAssociation? Type1621 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsMetadata? Type1621 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedCommentReactions? Type1622 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationAdministration? Type1622 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedCommentUser? Type1623 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationHooks? Type1623 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedCommentUserType? Type1624 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationPackages? Type1624 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssueActiveLockReason? Type1625 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationPlan? Type1625 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssueAssignee? Type1626 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationProjects? Type1626 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1627 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationSecrets? Type1627 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssueAuthorAssociation? Type1628 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationSelfHostedRunners? Type1628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1629 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsOrganizationUserBlocking? Type1629 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssueMilestone? Type1630 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsPackages? Type1630 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubApp? Type1631 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsPages? Type1631 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePullRequest? Type1632 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsPullRequests? Type1632 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssueReactions? Type1633 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsRepositoryHooks? Type1633 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssueState? Type1634 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsRepositoryProjects? Type1634 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssueUser? Type1635 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecretScanningAlerts? Type1635 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssueAssigneeType? Type1636 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecrets? Type1636 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreator? Type1637 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecurityEvents? Type1637 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssueMilestoneState? Type1638 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSecurityScanningAlert? Type1638 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssueMilestoneCreatorType? Type1639 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsSingleFile? Type1639 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1640 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsStatuses? Type1640 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwner? Type1641 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsTeamDiscussions? Type1641 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissions? Type1642 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsVulnerabilityAlerts? Type1642 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppOwnerType? Type1643 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteAppPermissionsWorkflows? Type1643 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsActions? Type1644 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteConclusion? Type1644 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsAdministration? Type1645 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteHeadCommit? Type1645 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsChecks? Type1646 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteHeadCommitAuthor? Type1646 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContentReferences? Type1647 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteHeadCommitCommitter? Type1647 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsContents? Type1648 { get; set; } + public global::System.Collections.Generic.IList? Type1648 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDeployments? Type1649 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequest? Type1649 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsDiscussions? Type1650 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestBase? Type1650 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEmails? Type1651 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestBaseRepo? Type1651 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsEnvironments? Type1652 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestHead? Type1652 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsIssues? Type1653 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuitePullRequestHeadRepo? Type1653 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsKeys? Type1654 { get; set; } + public global::GitHub.WebhookCheckSuiteCompletedCheckSuiteStatus? Type1654 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMembers? Type1655 { get; set; } + public global::GitHub.WebhookCheckSuiteRequested? Type1655 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsMetadata? Type1656 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedAction? Type1656 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type1657 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuite? Type1657 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type1658 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteApp? Type1658 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type1659 { get; set; } + public global::System.Collections.Generic.IList? Type1659 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type1660 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppEvent? Type1660 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type1661 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppOwner? Type1661 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type1662 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppOwnerType? Type1662 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1663 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissions? Type1663 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1664 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsActions? Type1664 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPackages? Type1665 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsAdministration? Type1665 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPages? Type1666 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsChecks? Type1666 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsPullRequests? Type1667 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsContentReferences? Type1667 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type1668 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsContents? Type1668 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type1669 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsDeployments? Type1669 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type1670 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsDiscussions? Type1670 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecrets? Type1671 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsEmails? Type1671 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type1672 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsEnvironments? Type1672 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type1673 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsIssues? Type1673 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsSingleFile? Type1674 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsKeys? Type1674 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsStatuses? Type1675 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsMembers? Type1675 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type1676 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsMetadata? Type1676 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1677 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationAdministration? Type1677 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssuePerformedViaGithubAppPermissionsWorkflows? Type1678 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationHooks? Type1678 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssueUserType? Type1679 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationPackages? Type1679 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentCreatedIssueAssigneesType? Type1680 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationPlan? Type1680 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedAction? Type1681 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationProjects? Type1681 { get; set; } /// /// /// - public global::GitHub.WebhooksIssueComment? Type1682 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationSecrets? Type1682 { get; set; } /// /// /// - public global::System.AllOf? Type1683 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationSelfHostedRunners? Type1683 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssueActiveLockReason? Type1684 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsOrganizationUserBlocking? Type1684 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssueAssignee? Type1685 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsPackages? Type1685 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1686 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsPages? Type1686 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssueAuthorAssociation? Type1687 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsPullRequests? Type1687 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1688 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsRepositoryHooks? Type1688 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssueMilestone? Type1689 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsRepositoryProjects? Type1689 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubApp? Type1690 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecretScanningAlerts? Type1690 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePullRequest? Type1691 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecrets? Type1691 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssueReactions? Type1692 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecurityEvents? Type1692 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssueState? Type1693 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSecurityScanningAlert? Type1693 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssueUser? Type1694 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsSingleFile? Type1694 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssueAssigneeType? Type1695 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsStatuses? Type1695 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreator? Type1696 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsTeamDiscussions? Type1696 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssueMilestoneState? Type1697 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsVulnerabilityAlerts? Type1697 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssueMilestoneCreatorType? Type1698 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteAppPermissionsWorkflows? Type1698 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1699 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteConclusion? Type1699 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwner? Type1700 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteHeadCommit? Type1700 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissions? Type1701 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteHeadCommitAuthor? Type1701 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppOwnerType? Type1702 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteHeadCommitCommitter? Type1702 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsActions? Type1703 { get; set; } + public global::System.Collections.Generic.IList? Type1703 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsAdministration? Type1704 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequest? Type1704 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsChecks? Type1705 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestBase? Type1705 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContentReferences? Type1706 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestBaseRepo? Type1706 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsContents? Type1707 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestHead? Type1707 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDeployments? Type1708 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuitePullRequestHeadRepo? Type1708 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsDiscussions? Type1709 { get; set; } + public global::GitHub.WebhookCheckSuiteRequestedCheckSuiteStatus? Type1709 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEmails? Type1710 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequested? Type1710 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsEnvironments? Type1711 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedAction? Type1711 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsIssues? Type1712 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuite? Type1712 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsKeys? Type1713 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteApp? Type1713 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMembers? Type1714 { get; set; } + public global::System.Collections.Generic.IList? Type1714 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsMetadata? Type1715 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppEvent? Type1715 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type1716 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppOwner? Type1716 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type1717 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppOwnerType? Type1717 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type1718 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissions? Type1718 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type1719 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsActions? Type1719 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type1720 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsAdministration? Type1720 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type1721 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsChecks? Type1721 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1722 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsContentReferences? Type1722 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1723 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsContents? Type1723 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPackages? Type1724 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsDeployments? Type1724 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPages? Type1725 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsDiscussions? Type1725 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsPullRequests? Type1726 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsEmails? Type1726 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type1727 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsEnvironments? Type1727 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type1728 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsIssues? Type1728 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type1729 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsKeys? Type1729 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecrets? Type1730 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsMembers? Type1730 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type1731 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsMetadata? Type1731 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type1732 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationAdministration? Type1732 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsSingleFile? Type1733 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationHooks? Type1733 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsStatuses? Type1734 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationPackages? Type1734 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type1735 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationPlan? Type1735 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1736 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationProjects? Type1736 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssuePerformedViaGithubAppPermissionsWorkflows? Type1737 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationSecrets? Type1737 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssueUserType? Type1738 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationSelfHostedRunners? Type1738 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentDeletedIssueAssigneesType? Type1739 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsOrganizationUserBlocking? Type1739 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedAction? Type1740 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsPackages? Type1740 { get; set; } /// /// /// - public global::GitHub.WebhooksChanges? Type1741 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsPages? Type1741 { get; set; } /// /// /// - public global::System.AllOf? Type1742 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsPullRequests? Type1742 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssueActiveLockReason? Type1743 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsRepositoryHooks? Type1743 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssueAssignee? Type1744 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsRepositoryProjects? Type1744 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1745 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecretScanningAlerts? Type1745 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssueAuthorAssociation? Type1746 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecrets? Type1746 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1747 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecurityEvents? Type1747 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssueMilestone? Type1748 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSecurityScanningAlert? Type1748 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubApp? Type1749 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsSingleFile? Type1749 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePullRequest? Type1750 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsStatuses? Type1750 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssueReactions? Type1751 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsTeamDiscussions? Type1751 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssueState? Type1752 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsVulnerabilityAlerts? Type1752 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssueUser? Type1753 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteAppPermissionsWorkflows? Type1753 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssueAssigneeType? Type1754 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteConclusion? Type1754 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreator? Type1755 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteHeadCommit? Type1755 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssueMilestoneState? Type1756 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteHeadCommitAuthor? Type1756 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssueMilestoneCreatorType? Type1757 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteHeadCommitCommitter? Type1757 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1758 { get; set; } + public global::System.Collections.Generic.IList? Type1758 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwner? Type1759 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequest? Type1759 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissions? Type1760 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestBase? Type1760 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppOwnerType? Type1761 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestBaseRepo? Type1761 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsActions? Type1762 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestHead? Type1762 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsAdministration? Type1763 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuitePullRequestHeadRepo? Type1763 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsChecks? Type1764 { get; set; } + public global::GitHub.WebhookCheckSuiteRerequestedCheckSuiteStatus? Type1764 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContentReferences? Type1765 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranch? Type1765 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsContents? Type1766 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAction? Type1766 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDeployments? Type1767 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlert? Type1767 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsDiscussions? Type1768 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertDismissedBy? Type1768 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEmails? Type1769 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertDismissedByType? Type1769 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsEnvironments? Type1770 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertDismissedReason? Type1770 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsIssues? Type1771 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstance? Type1771 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsKeys? Type1772 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceLocation? Type1772 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMembers? Type1773 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceMessage? Type1773 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsMetadata? Type1774 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertMostRecentInstanceState? Type1774 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type1775 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertRule? Type1775 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type1776 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertRuleSeverity? Type1776 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type1777 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertState? Type1777 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type1778 { get; set; } + public global::GitHub.WebhookCodeScanningAlertAppearedInBranchAlertTool? Type1778 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type1779 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUser? Type1779 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type1780 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUserAction? Type1780 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1781 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUserAlert? Type1781 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1782 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertDismissedBy? Type1782 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPackages? Type1783 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertDismissedByType? Type1783 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPages? Type1784 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertDismissedReason? Type1784 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsPullRequests? Type1785 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstance? Type1785 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type1786 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceLocation? Type1786 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type1787 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceMessage? Type1787 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type1788 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertMostRecentInstanceState? Type1788 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecrets? Type1789 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertRule? Type1789 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type1790 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertRuleSeverity? Type1790 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type1791 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertState? Type1791 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsSingleFile? Type1792 { get; set; } + public global::GitHub.WebhookCodeScanningAlertClosedByUserAlertTool? Type1792 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsStatuses? Type1793 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreated? Type1793 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type1794 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAction? Type1794 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1795 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlert? Type1795 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssuePerformedViaGithubAppPermissionsWorkflows? Type1796 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlertDismissedAt? Type1796 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssueUserType? Type1797 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlertDismissedBy? Type1797 { get; set; } /// /// /// - public global::GitHub.WebhookIssueCommentEditedIssueAssigneesType? Type1798 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlertDismissedReason? Type1798 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesAssignedAction? Type1799 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlertFixedAt? Type1799 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue? Type1800 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlertMostRecentInstance? Type1800 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedAction? Type1801 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceLocation? Type1801 { get; set; } /// /// /// - public global::System.AllOf? Type1802 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceMessage? Type1802 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssueActiveLockReason? Type1803 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlertMostRecentInstanceState? Type1803 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssueAssignee? Type1804 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlertRule? Type1804 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1805 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlertRuleSeverity? Type1805 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssueAuthorAssociation? Type1806 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlertState? Type1806 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1807 { get; set; } + public global::GitHub.WebhookCodeScanningAlertCreatedAlertTool? Type1807 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssueMilestone? Type1808 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixed? Type1808 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubApp? Type1809 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixedAction? Type1809 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePullRequest? Type1810 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixedAlert? Type1810 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssueReactions? Type1811 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixedAlertDismissedBy? Type1811 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssueState? Type1812 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixedAlertDismissedByType? Type1812 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssueUser? Type1813 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixedAlertDismissedReason? Type1813 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssueAssigneeType? Type1814 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixedAlertMostRecentInstance? Type1814 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssueMilestoneCreator? Type1815 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixedAlertMostRecentInstanceLocation? Type1815 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssueMilestoneState? Type1816 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixedAlertMostRecentInstanceMessage? Type1816 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssueMilestoneCreatorType? Type1817 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixedAlertMostRecentInstanceState? Type1817 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1818 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixedAlertRule? Type1818 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwner? Type1819 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixedAlertRuleSeverity? Type1819 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissions? Type1820 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixedAlertState? Type1820 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppOwnerType? Type1821 { get; set; } + public global::GitHub.WebhookCodeScanningAlertFixedAlertTool? Type1821 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsActions? Type1822 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopened? Type1822 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsAdministration? Type1823 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedAction? Type1823 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsChecks? Type1824 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedAlert? Type1824 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContentReferences? Type1825 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedAlertDismissedBy? Type1825 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsContents? Type1826 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedAlertMostRecentInstance? Type1826 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDeployments? Type1827 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceLocation? Type1827 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsDiscussions? Type1828 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceMessage? Type1828 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEmails? Type1829 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedAlertMostRecentInstanceState? Type1829 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsEnvironments? Type1830 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedAlertRule? Type1830 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsIssues? Type1831 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedAlertRuleSeverity? Type1831 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsKeys? Type1832 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedAlertState? Type1832 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMembers? Type1833 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedAlertTool? Type1833 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsMetadata? Type1834 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUser? Type1834 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type1835 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUserAction? Type1835 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type1836 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlert? Type1836 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type1837 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertDismissedAt? Type1837 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type1838 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertDismissedBy? Type1838 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type1839 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertDismissedReason? Type1839 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type1840 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstance? Type1840 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1841 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceLocation? Type1841 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1842 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceMessage? Type1842 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPackages? Type1843 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertMostRecentInstanceState? Type1843 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPages? Type1844 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertRule? Type1844 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsPullRequests? Type1845 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertRuleSeverity? Type1845 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type1846 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertState? Type1846 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type1847 { get; set; } + public global::GitHub.WebhookCodeScanningAlertReopenedByUserAlertTool? Type1847 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type1848 { get; set; } + public global::GitHub.WebhookCommitCommentCreated? Type1848 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecrets? Type1849 { get; set; } + public global::GitHub.WebhookCommitCommentCreatedAction? Type1849 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type1850 { get; set; } + public global::GitHub.WebhookCommitCommentCreatedComment? Type1850 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type1851 { get; set; } + public global::GitHub.WebhookCommitCommentCreatedCommentAuthorAssociation? Type1851 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsSingleFile? Type1852 { get; set; } + public global::GitHub.WebhookCommitCommentCreatedCommentReactions? Type1852 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsStatuses? Type1853 { get; set; } + public global::GitHub.WebhookCommitCommentCreatedCommentUser? Type1853 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type1854 { get; set; } + public global::GitHub.WebhookCommitCommentCreatedCommentUserType? Type1854 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1855 { get; set; } + public global::GitHub.WebhookCreate? Type1855 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssuePerformedViaGithubAppPermissionsWorkflows? Type1856 { get; set; } + public global::GitHub.WebhookCreateRefType? Type1856 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssueUserType? Type1857 { get; set; } + public global::GitHub.WebhookCustomPropertyCreated? Type1857 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesClosedIssueAssigneesType? Type1858 { get; set; } + public global::GitHub.WebhookCustomPropertyCreatedAction? Type1858 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedAction? Type1859 { get; set; } + public global::GitHub.WebhookCustomPropertyDeleted? Type1859 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssue? Type1860 { get; set; } + public global::GitHub.WebhookCustomPropertyDeletedAction? Type1860 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssueActiveLockReason? Type1861 { get; set; } + public global::GitHub.WebhookCustomPropertyDeletedDefinition? Type1861 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssueAssignee? Type1862 { get; set; } + public global::GitHub.WebhookCustomPropertyUpdated? Type1862 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1863 { get; set; } + public global::GitHub.WebhookCustomPropertyUpdatedAction? Type1863 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssueAuthorAssociation? Type1864 { get; set; } + public global::GitHub.WebhookCustomPropertyValuesUpdated? Type1864 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1865 { get; set; } + public global::GitHub.WebhookCustomPropertyValuesUpdatedAction? Type1865 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssueMilestone? Type1866 { get; set; } + public global::GitHub.WebhookDelete? Type1866 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubApp? Type1867 { get; set; } + public global::GitHub.WebhookDeleteRefType? Type1867 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePullRequest? Type1868 { get; set; } + public global::GitHub.WebhookDependabotAlertAutoDismissed? Type1868 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssueReactions? Type1869 { get; set; } + public global::GitHub.WebhookDependabotAlertAutoDismissedAction? Type1869 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssueState? Type1870 { get; set; } + public global::GitHub.WebhookDependabotAlertAutoReopened? Type1870 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssueUser? Type1871 { get; set; } + public global::GitHub.WebhookDependabotAlertAutoReopenedAction? Type1871 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssueAssigneeType? Type1872 { get; set; } + public global::GitHub.WebhookDependabotAlertCreated? Type1872 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssueMilestoneCreator? Type1873 { get; set; } + public global::GitHub.WebhookDependabotAlertCreatedAction? Type1873 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssueMilestoneState? Type1874 { get; set; } + public global::GitHub.WebhookDependabotAlertDismissed? Type1874 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssueMilestoneCreatorType? Type1875 { get; set; } + public global::GitHub.WebhookDependabotAlertDismissedAction? Type1875 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1876 { get; set; } + public global::GitHub.WebhookDependabotAlertFixed? Type1876 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppOwner? Type1877 { get; set; } + public global::GitHub.WebhookDependabotAlertFixedAction? Type1877 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissions? Type1878 { get; set; } + public global::GitHub.WebhookDependabotAlertReintroduced? Type1878 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppOwnerType? Type1879 { get; set; } + public global::GitHub.WebhookDependabotAlertReintroducedAction? Type1879 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsActions? Type1880 { get; set; } + public global::GitHub.WebhookDependabotAlertReopened? Type1880 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsAdministration? Type1881 { get; set; } + public global::GitHub.WebhookDependabotAlertReopenedAction? Type1881 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsChecks? Type1882 { get; set; } + public global::GitHub.WebhookDeployKeyCreated? Type1882 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsContentReferences? Type1883 { get; set; } + public global::GitHub.WebhookDeployKeyCreatedAction? Type1883 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsContents? Type1884 { get; set; } + public global::GitHub.WebhookDeployKeyDeleted? Type1884 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsDeployments? Type1885 { get; set; } + public global::GitHub.WebhookDeployKeyDeletedAction? Type1885 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsDiscussions? Type1886 { get; set; } + public global::GitHub.WebhookDeploymentCreated? Type1886 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsEmails? Type1887 { get; set; } + public global::GitHub.WebhookDeploymentCreatedAction? Type1887 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsEnvironments? Type1888 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeployment? Type1888 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsIssues? Type1889 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentCreator? Type1889 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsKeys? Type1890 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentCreatorType? Type1890 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsMembers? Type1891 { get; set; } + public global::System.OneOf? Type1891 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsMetadata? Type1892 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPayload? Type1892 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type1893 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubApp? Type1893 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type1894 { get; set; } + public global::System.Collections.Generic.IList? Type1894 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type1895 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppEvent? Type1895 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type1896 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppOwner? Type1896 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type1897 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppOwnerType? Type1897 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type1898 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissions? Type1898 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1899 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsActions? Type1899 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1900 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsAdministration? Type1900 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsPackages? Type1901 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsChecks? Type1901 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsPages? Type1902 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsContentReferences? Type1902 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsPullRequests? Type1903 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsContents? Type1903 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type1904 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsDeployments? Type1904 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type1905 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsDiscussions? Type1905 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type1906 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsEmails? Type1906 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecrets? Type1907 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsEnvironments? Type1907 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type1908 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsIssues? Type1908 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type1909 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsKeys? Type1909 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSingleFile? Type1910 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsMembers? Type1910 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsStatuses? Type1911 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsMetadata? Type1911 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type1912 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationAdministration? Type1912 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1913 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationHooks? Type1913 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsWorkflows? Type1914 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPackages? Type1914 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssueUserType? Type1915 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPlan? Type1915 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDeletedIssueAssigneesType? Type1916 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationProjects? Type1916 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedAction? Type1917 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSecrets? Type1917 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssue? Type1918 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1918 { get; set; } /// /// /// - public global::GitHub.WebhooksMilestone? Type1919 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1919 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssueActiveLockReason? Type1920 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsPackages? Type1920 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssueAssignee? Type1921 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsPages? Type1921 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1922 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsPullRequests? Type1922 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssueAuthorAssociation? Type1923 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryHooks? Type1923 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1924 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryProjects? Type1924 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssueMilestone? Type1925 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecretScanningAlerts? Type1925 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubApp? Type1926 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecrets? Type1926 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePullRequest? Type1927 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecurityEvents? Type1927 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssueReactions? Type1928 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSecurityScanningAlert? Type1928 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssueState? Type1929 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsSingleFile? Type1929 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssueUser? Type1930 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsStatuses? Type1930 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType? Type1931 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsTeamDiscussions? Type1931 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssueMilestoneCreator? Type1932 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1932 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssueMilestoneState? Type1933 { get; set; } + public global::GitHub.WebhookDeploymentCreatedDeploymentPerformedViaGithubAppPermissionsWorkflows? Type1933 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssueMilestoneCreatorType? Type1934 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRun? Type1934 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1935 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunActor? Type1935 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppOwner? Type1936 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunActorType? Type1936 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissions? Type1937 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunConclusion? Type1937 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppOwnerType? Type1938 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunHeadCommit? Type1938 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsActions? Type1939 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunHeadRepository? Type1939 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsAdministration? Type1940 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunHeadRepositoryDescription? Type1940 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsChecks? Type1941 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunHeadRepositoryOwner? Type1941 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsContentReferences? Type1942 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunPreviousAttemptUrl? Type1942 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsContents? Type1943 { get; set; } + public global::System.Collections.Generic.IList? Type1943 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsDeployments? Type1944 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequest? Type1944 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsDiscussions? Type1945 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestBase? Type1945 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsEmails? Type1946 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestBaseRepo? Type1946 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsEnvironments? Type1947 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestHead? Type1947 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsIssues? Type1948 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunPullRequestHeadRepo? Type1948 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsKeys? Type1949 { get; set; } + public global::System.Collections.Generic.IList? Type1949 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsMembers? Type1950 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunReferencedWorkflow? Type1950 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsMetadata? Type1951 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunRepository? Type1951 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type1952 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunRepositoryDescription? Type1952 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type1953 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunRepositoryOwner? Type1953 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type1954 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunStatus? Type1954 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type1955 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunTriggeringActor? Type1955 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type1956 { get; set; } + public global::GitHub.WebhookDeploymentCreatedWorkflowRunTriggeringActorType? Type1956 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type1957 { get; set; } + public global::GitHub.WebhookDeploymentProtectionRuleRequested? Type1957 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type1958 { get; set; } + public global::GitHub.WebhookDeploymentProtectionRuleRequestedAction? Type1958 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type1959 { get; set; } + public global::System.Collections.Generic.IList? Type1959 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsPackages? Type1960 { get; set; } + public global::GitHub.WebhookDeploymentReviewApproved? Type1960 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsPages? Type1961 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedAction? Type1961 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsPullRequests? Type1962 { get; set; } + public global::System.Collections.Generic.IList? Type1962 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type1963 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowJobRun? Type1963 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type1964 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowJobRunConclusion? Type1964 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type1965 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRun? Type1965 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecrets? Type1966 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunActor? Type1966 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type1967 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunActorType? Type1967 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type1968 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunConclusion? Type1968 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSingleFile? Type1969 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunHeadCommit? Type1969 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsStatuses? Type1970 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunHeadRepository? Type1970 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type1971 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunHeadRepositoryOwner? Type1971 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type1972 { get; set; } + public global::System.Collections.Generic.IList? Type1972 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsWorkflows? Type1973 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequest? Type1973 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssueUserType? Type1974 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBase? Type1974 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesDemilestonedIssueAssigneesType? Type1975 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestBaseRepo? Type1975 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedAction? Type1976 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHead? Type1976 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedChanges? Type1977 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunPullRequestHeadRepo? Type1977 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssue? Type1978 { get; set; } + public global::System.Collections.Generic.IList? Type1978 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedChangesBody? Type1979 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunReferencedWorkflow? Type1979 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedChangesTitle? Type1980 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunRepository? Type1980 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssueActiveLockReason? Type1981 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunRepositoryOwner? Type1981 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssueAssignee? Type1982 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunStatus? Type1982 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1983 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunTriggeringActor? Type1983 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssueAuthorAssociation? Type1984 { get; set; } + public global::GitHub.WebhookDeploymentReviewApprovedWorkflowRunTriggeringActorType? Type1984 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1985 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejected? Type1985 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssueMilestone? Type1986 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedAction? Type1986 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubApp? Type1987 { get; set; } + public global::System.Collections.Generic.IList? Type1987 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePullRequest? Type1988 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowJobRun? Type1988 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssueReactions? Type1989 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRun? Type1989 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssueState? Type1990 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunActor? Type1990 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssueUser? Type1991 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunActorType? Type1991 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssueAssigneeType? Type1992 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunConclusion? Type1992 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssueMilestoneCreator? Type1993 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunHeadCommit? Type1993 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssueMilestoneState? Type1994 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunHeadRepository? Type1994 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssueMilestoneCreatorType? Type1995 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunHeadRepositoryOwner? Type1995 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1996 { get; set; } + public global::System.Collections.Generic.IList? Type1996 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppOwner? Type1997 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequest? Type1997 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissions? Type1998 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBase? Type1998 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppOwnerType? Type1999 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestBaseRepo? Type1999 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsActions? Type2000 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHead? Type2000 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsAdministration? Type2001 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunPullRequestHeadRepo? Type2001 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsChecks? Type2002 { get; set; } + public global::System.Collections.Generic.IList? Type2002 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsContentReferences? Type2003 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunReferencedWorkflow? Type2003 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsContents? Type2004 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunRepository? Type2004 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsDeployments? Type2005 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunRepositoryOwner? Type2005 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsDiscussions? Type2006 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunStatus? Type2006 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsEmails? Type2007 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunTriggeringActor? Type2007 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsEnvironments? Type2008 { get; set; } + public global::GitHub.WebhookDeploymentReviewRejectedWorkflowRunTriggeringActorType? Type2008 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsIssues? Type2009 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequested? Type2009 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsKeys? Type2010 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedAction? Type2010 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsMembers? Type2011 { get; set; } + public global::System.Collections.Generic.IList? Type2011 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsMetadata? Type2012 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedReviewer? Type2012 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2013 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewer? Type2013 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2014 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedReviewerReviewerType? Type2014 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2015 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedReviewerType? Type2015 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2016 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowJobRun? Type2016 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2017 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowJobRunConclusion? Type2017 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2018 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRun? Type2018 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2019 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunActor? Type2019 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2020 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunActorType? Type2020 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsPackages? Type2021 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunConclusion? Type2021 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsPages? Type2022 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunHeadCommit? Type2022 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsPullRequests? Type2023 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunHeadRepository? Type2023 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2024 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunHeadRepositoryOwner? Type2024 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2025 { get; set; } + public global::System.Collections.Generic.IList? Type2025 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2026 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequest? Type2026 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecrets? Type2027 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBase? Type2027 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2028 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestBaseRepo? Type2028 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2029 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHead? Type2029 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSingleFile? Type2030 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunPullRequestHeadRepo? Type2030 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsStatuses? Type2031 { get; set; } + public global::System.Collections.Generic.IList? Type2031 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2032 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunReferencedWorkflow? Type2032 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2033 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunRepository? Type2033 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsWorkflows? Type2034 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunRepositoryOwner? Type2034 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssueUserType? Type2035 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunStatus? Type2035 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesEditedIssueAssigneesType? Type2036 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunTriggeringActor? Type2036 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledAction? Type2037 { get; set; } + public global::GitHub.WebhookDeploymentReviewRequestedWorkflowRunTriggeringActorType? Type2037 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssue? Type2038 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreated? Type2038 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssueActiveLockReason? Type2039 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedAction? Type2039 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssueAssignee? Type2040 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedCheckRun? Type2040 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2041 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedCheckRunConclusion? Type2041 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssueAuthorAssociation? Type2042 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedCheckRunStatus? Type2042 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2043 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeployment? Type2043 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssueMilestone? Type2044 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentCreator? Type2044 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubApp? Type2045 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentCreatorType? Type2045 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePullRequest? Type2046 { get; set; } + public global::System.OneOf? Type2046 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssueReactions? Type2047 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPayload? Type2047 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssueState? Type2048 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubApp? Type2048 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssueUser? Type2049 { get; set; } + public global::System.Collections.Generic.IList? Type2049 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssueAssigneeType? Type2050 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppEvent? Type2050 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssueMilestoneCreator? Type2051 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppOwner? Type2051 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssueMilestoneState? Type2052 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppOwnerType? Type2052 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssueMilestoneCreatorType? Type2053 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissions? Type2053 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2054 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsActions? Type2054 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppOwner? Type2055 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsAdministration? Type2055 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissions? Type2056 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsChecks? Type2056 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppOwnerType? Type2057 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsContentReferences? Type2057 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsActions? Type2058 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsContents? Type2058 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsAdministration? Type2059 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsDeployments? Type2059 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsChecks? Type2060 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsDiscussions? Type2060 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsContentReferences? Type2061 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsEmails? Type2061 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsContents? Type2062 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsEnvironments? Type2062 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsDeployments? Type2063 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsIssues? Type2063 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsDiscussions? Type2064 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsKeys? Type2064 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsEmails? Type2065 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsMembers? Type2065 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsEnvironments? Type2066 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsMetadata? Type2066 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsIssues? Type2067 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationAdministration? Type2067 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsKeys? Type2068 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationHooks? Type2068 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsMembers? Type2069 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPackages? Type2069 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsMetadata? Type2070 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationPlan? Type2070 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2071 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationProjects? Type2071 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2072 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSecrets? Type2072 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2073 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2073 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2074 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2074 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2075 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsPackages? Type2075 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2076 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsPages? Type2076 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2077 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsPullRequests? Type2077 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2078 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryHooks? Type2078 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsPackages? Type2079 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsRepositoryProjects? Type2079 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsPages? Type2080 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecretScanningAlerts? Type2080 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsPullRequests? Type2081 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecrets? Type2081 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2082 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecurityEvents? Type2082 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2083 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSecurityScanningAlert? Type2083 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2084 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsSingleFile? Type2084 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecrets? Type2085 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsStatuses? Type2085 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2086 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsTeamDiscussions? Type2086 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2087 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2087 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSingleFile? Type2088 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentPerformedViaGithubAppPermissionsWorkflows? Type2088 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsStatuses? Type2089 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatus? Type2089 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2090 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusCreator? Type2090 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2091 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusCreatorType? Type2091 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsWorkflows? Type2092 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubApp? Type2092 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssueUserType? Type2093 { get; set; } + public global::System.Collections.Generic.IList? Type2093 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLabeledIssueAssigneesType? Type2094 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppEvent? Type2094 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedAction? Type2095 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppOwner? Type2095 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssue? Type2096 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppOwnerType? Type2096 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssueActiveLockReason? Type2097 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissions? Type2097 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssueAssignee? Type2098 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsActions? Type2098 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2099 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsAdministration? Type2099 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssueAuthorAssociation? Type2100 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsChecks? Type2100 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2101 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsContentReferences? Type2101 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssueMilestone? Type2102 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsContents? Type2102 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubApp? Type2103 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsDeployments? Type2103 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePullRequest? Type2104 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsDiscussions? Type2104 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssueReactions? Type2105 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsEmails? Type2105 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssueState? Type2106 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsEnvironments? Type2106 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssueUser? Type2107 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsIssues? Type2107 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssueAssigneeType? Type2108 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsKeys? Type2108 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssueMilestoneCreator? Type2109 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsMembers? Type2109 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssueMilestoneState? Type2110 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsMetadata? Type2110 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssueMilestoneCreatorType? Type2111 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationAdministration? Type2111 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2112 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationHooks? Type2112 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppOwner? Type2113 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationPackages? Type2113 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissions? Type2114 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationPlan? Type2114 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppOwnerType? Type2115 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationProjects? Type2115 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsActions? Type2116 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationSecrets? Type2116 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsAdministration? Type2117 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2117 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsChecks? Type2118 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2118 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsContentReferences? Type2119 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsPackages? Type2119 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsContents? Type2120 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsPages? Type2120 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsDeployments? Type2121 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsPullRequests? Type2121 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsDiscussions? Type2122 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsRepositoryHooks? Type2122 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsEmails? Type2123 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsRepositoryProjects? Type2123 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsEnvironments? Type2124 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecretScanningAlerts? Type2124 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsIssues? Type2125 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecrets? Type2125 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsKeys? Type2126 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecurityEvents? Type2126 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsMembers? Type2127 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSecurityScanningAlert? Type2127 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsMetadata? Type2128 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsSingleFile? Type2128 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2129 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsStatuses? Type2129 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2130 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsTeamDiscussions? Type2130 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2131 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2131 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2132 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedDeploymentStatusPerformedViaGithubAppPermissionsWorkflows? Type2132 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2133 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRun? Type2133 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2134 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunActor? Type2134 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2135 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunActorType? Type2135 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2136 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunConclusion? Type2136 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsPackages? Type2137 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunHeadCommit? Type2137 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsPages? Type2138 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunHeadRepository? Type2138 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsPullRequests? Type2139 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunHeadRepositoryDescription? Type2139 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2140 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunHeadRepositoryOwner? Type2140 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2141 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPreviousAttemptUrl? Type2141 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2142 { get; set; } + public global::System.Collections.Generic.IList? Type2142 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecrets? Type2143 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequest? Type2143 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2144 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBase? Type2144 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2145 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestBaseRepo? Type2145 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSingleFile? Type2146 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHead? Type2146 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsStatuses? Type2147 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunPullRequestHeadRepo? Type2147 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2148 { get; set; } + public global::System.Collections.Generic.IList? Type2148 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2149 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunReferencedWorkflow? Type2149 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsWorkflows? Type2150 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunRepository? Type2150 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssueUserType? Type2151 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunRepositoryDescription? Type2151 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesLockedIssueAssigneesType? Type2152 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunRepositoryOwner? Type2152 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedAction? Type2153 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunStatus? Type2153 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssue? Type2154 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunTriggeringActor? Type2154 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssueActiveLockReason? Type2155 { get; set; } + public global::GitHub.WebhookDeploymentStatusCreatedWorkflowRunTriggeringActorType? Type2155 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssueAssignee? Type2156 { get; set; } + public global::GitHub.WebhookDiscussionAnswered? Type2156 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2157 { get; set; } + public global::GitHub.WebhookDiscussionAnsweredAction? Type2157 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssueAuthorAssociation? Type2158 { get; set; } + public global::GitHub.WebhookDiscussionCategoryChanged? Type2158 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2159 { get; set; } + public global::GitHub.WebhookDiscussionCategoryChangedAction? Type2159 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssueMilestone? Type2160 { get; set; } + public global::GitHub.WebhookDiscussionCategoryChangedChanges? Type2160 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubApp? Type2161 { get; set; } + public global::GitHub.WebhookDiscussionCategoryChangedChangesCategory? Type2161 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePullRequest? Type2162 { get; set; } + public global::GitHub.WebhookDiscussionCategoryChangedChangesCategoryFrom? Type2162 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssueReactions? Type2163 { get; set; } + public global::GitHub.WebhookDiscussionClosed? Type2163 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssueState? Type2164 { get; set; } + public global::GitHub.WebhookDiscussionClosedAction? Type2164 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssueUser? Type2165 { get; set; } + public global::GitHub.WebhookDiscussionCommentCreated? Type2165 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssueAssigneeType? Type2166 { get; set; } + public global::GitHub.WebhookDiscussionCommentCreatedAction? Type2166 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssueMilestoneCreator? Type2167 { get; set; } + public global::GitHub.WebhookDiscussionCommentDeleted? Type2167 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssueMilestoneState? Type2168 { get; set; } + public global::GitHub.WebhookDiscussionCommentDeletedAction? Type2168 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssueMilestoneCreatorType? Type2169 { get; set; } + public global::GitHub.WebhookDiscussionCommentEdited? Type2169 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2170 { get; set; } + public global::GitHub.WebhookDiscussionCommentEditedAction? Type2170 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppOwner? Type2171 { get; set; } + public global::GitHub.WebhookDiscussionCommentEditedChanges? Type2171 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissions? Type2172 { get; set; } + public global::GitHub.WebhookDiscussionCommentEditedChangesBody? Type2172 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppOwnerType? Type2173 { get; set; } + public global::GitHub.WebhookDiscussionCreated? Type2173 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsActions? Type2174 { get; set; } + public global::GitHub.WebhookDiscussionCreatedAction? Type2174 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsAdministration? Type2175 { get; set; } + public global::GitHub.WebhookDiscussionDeleted? Type2175 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsChecks? Type2176 { get; set; } + public global::GitHub.WebhookDiscussionDeletedAction? Type2176 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsContentReferences? Type2177 { get; set; } + public global::GitHub.WebhookDiscussionEdited? Type2177 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsContents? Type2178 { get; set; } + public global::GitHub.WebhookDiscussionEditedAction? Type2178 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsDeployments? Type2179 { get; set; } + public global::GitHub.WebhookDiscussionEditedChanges? Type2179 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsDiscussions? Type2180 { get; set; } + public global::GitHub.WebhookDiscussionEditedChangesBody? Type2180 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsEmails? Type2181 { get; set; } + public global::GitHub.WebhookDiscussionEditedChangesTitle? Type2181 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsEnvironments? Type2182 { get; set; } + public global::GitHub.WebhookDiscussionLabeled? Type2182 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsIssues? Type2183 { get; set; } + public global::GitHub.WebhookDiscussionLabeledAction? Type2183 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsKeys? Type2184 { get; set; } + public global::GitHub.WebhookDiscussionLocked? Type2184 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsMembers? Type2185 { get; set; } + public global::GitHub.WebhookDiscussionLockedAction? Type2185 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsMetadata? Type2186 { get; set; } + public global::GitHub.WebhookDiscussionPinned? Type2186 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2187 { get; set; } + public global::GitHub.WebhookDiscussionPinnedAction? Type2187 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2188 { get; set; } + public global::GitHub.WebhookDiscussionReopened? Type2188 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2189 { get; set; } + public global::GitHub.WebhookDiscussionReopenedAction? Type2189 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2190 { get; set; } + public global::GitHub.WebhookDiscussionTransferred? Type2190 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2191 { get; set; } + public global::GitHub.WebhookDiscussionTransferredAction? Type2191 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2192 { get; set; } + public global::GitHub.WebhookDiscussionTransferredChanges? Type2192 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2193 { get; set; } + public global::GitHub.WebhookDiscussionUnanswered? Type2193 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2194 { get; set; } + public global::GitHub.WebhookDiscussionUnansweredAction? Type2194 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsPackages? Type2195 { get; set; } + public global::GitHub.WebhookDiscussionUnlabeled? Type2195 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsPages? Type2196 { get; set; } + public global::GitHub.WebhookDiscussionUnlabeledAction? Type2196 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsPullRequests? Type2197 { get; set; } + public global::GitHub.WebhookDiscussionUnlocked? Type2197 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2198 { get; set; } + public global::GitHub.WebhookDiscussionUnlockedAction? Type2198 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2199 { get; set; } + public global::GitHub.WebhookDiscussionUnpinned? Type2199 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2200 { get; set; } + public global::GitHub.WebhookDiscussionUnpinnedAction? Type2200 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecrets? Type2201 { get; set; } + public global::GitHub.WebhookFork? Type2201 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2202 { get; set; } + public global::System.AllOf? Type2202 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2203 { get; set; } + public global::GitHub.WebhookForkForkeeVariant1? Type2203 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSingleFile? Type2204 { get; set; } + public global::GitHub.WebhookForkForkeeVariant1License? Type2204 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsStatuses? Type2205 { get; set; } + public global::GitHub.WebhookForkForkeeVariant1Owner? Type2205 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2206 { get; set; } + public global::GitHub.WebhookForkForkeeVariant1OwnerType? Type2206 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2207 { get; set; } + public global::GitHub.WebhookForkForkeeVariant1Permissions? Type2207 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsWorkflows? Type2208 { get; set; } + public global::GitHub.WebhookForkForkeeVariant1Visibility? Type2208 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssueUserType? Type2209 { get; set; } + public global::GitHub.WebhookForkForkeeVariant2? Type2209 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesMilestonedIssueAssigneesType? Type2210 { get; set; } + public global::GitHub.WebhookForkForkeeVariant2Language? Type2210 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedAction? Type2211 { get; set; } + public global::GitHub.WebhookForkForkeeVariant2License? Type2211 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChanges? Type2212 { get; set; } + public global::GitHub.WebhookForkForkeeVariant2MirrorUrl? Type2212 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssue? Type2213 { get; set; } + public global::GitHub.WebhookForkForkeeVariant2Owner? Type2213 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssue? Type2214 { get; set; } + public global::System.Collections.Generic.IList? Type2214 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldRepository? Type2215 { get; set; } + public global::GitHub.WebhookForkForkeeVariant2Topic? Type2215 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssueActiveLockReason? Type2216 { get; set; } + public global::GitHub.WebhookGithubAppAuthorizationRevoked? Type2216 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssueAssignee? Type2217 { get; set; } + public global::GitHub.WebhookGithubAppAuthorizationRevokedAction? Type2217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2218 { get; set; } + public global::GitHub.WebhookGollum? Type2218 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssueAuthorAssociation? Type2219 { get; set; } + public global::System.Collections.Generic.IList? Type2219 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2220 { get; set; } + public global::GitHub.WebhookGollumPage? Type2220 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssueMilestone? Type2221 { get; set; } + public global::GitHub.WebhookGollumPageAction? Type2221 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubApp? Type2222 { get; set; } + public global::GitHub.WebhookInstallationCreated? Type2222 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePullRequest? Type2223 { get; set; } + public global::GitHub.WebhookInstallationCreatedAction? Type2223 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssueReactions? Type2224 { get; set; } + public global::GitHub.WebhookInstallationDeleted? Type2224 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssueState? Type2225 { get; set; } + public global::GitHub.WebhookInstallationDeletedAction? Type2225 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssueUser? Type2226 { get; set; } + public global::GitHub.WebhookInstallationDeletedRequester? Type2226 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType? Type2227 { get; set; } + public global::GitHub.WebhookInstallationNewPermissionsAccepted? Type2227 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssueMilestoneCreator? Type2228 { get; set; } + public global::GitHub.WebhookInstallationNewPermissionsAcceptedAction? Type2228 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssueMilestoneState? Type2229 { get; set; } + public global::GitHub.WebhookInstallationNewPermissionsAcceptedRequester? Type2229 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssueMilestoneCreatorType? Type2230 { get; set; } + public global::GitHub.WebhookInstallationRepositoriesAdded? Type2230 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2231 { get; set; } + public global::GitHub.WebhookInstallationRepositoriesAddedAction? Type2231 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppOwner? Type2232 { get; set; } + public global::System.Collections.Generic.IList? Type2232 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissions? Type2233 { get; set; } + public global::GitHub.WebhookInstallationRepositoriesAddedRepositoriesRemovedItem? Type2233 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppOwnerType? Type2234 { get; set; } + public global::GitHub.WebhookInstallationRepositoriesRemoved? Type2234 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsActions? Type2235 { get; set; } + public global::GitHub.WebhookInstallationRepositoriesRemovedAction? Type2235 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsAdministration? Type2236 { get; set; } + public global::System.Collections.Generic.IList? Type2236 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsChecks? Type2237 { get; set; } + public global::GitHub.WebhookInstallationRepositoriesRemovedRepositoriesRemovedItem? Type2237 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsContentReferences? Type2238 { get; set; } + public global::GitHub.WebhookInstallationSuspend? Type2238 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsContents? Type2239 { get; set; } + public global::GitHub.WebhookInstallationSuspendAction? Type2239 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsDeployments? Type2240 { get; set; } + public global::GitHub.WebhookInstallationSuspendRequester? Type2240 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsDiscussions? Type2241 { get; set; } + public global::GitHub.WebhookInstallationTargetRenamed? Type2241 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsEmails? Type2242 { get; set; } + public global::GitHub.WebhookInstallationTargetRenamedAccount? Type2242 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsEnvironments? Type2243 { get; set; } + public global::GitHub.WebhookInstallationTargetRenamedAccountDescription? Type2243 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsIssues? Type2244 { get; set; } + public global::GitHub.WebhookInstallationTargetRenamedAccountWebsiteUrl? Type2244 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsKeys? Type2245 { get; set; } + public global::GitHub.WebhookInstallationTargetRenamedAction? Type2245 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsMembers? Type2246 { get; set; } + public global::GitHub.WebhookInstallationTargetRenamedChanges? Type2246 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsMetadata? Type2247 { get; set; } + public global::GitHub.WebhookInstallationTargetRenamedChangesLogin? Type2247 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2248 { get; set; } + public global::GitHub.WebhookInstallationTargetRenamedChangesSlug? Type2248 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2249 { get; set; } + public global::GitHub.WebhookInstallationUnsuspend? Type2249 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2250 { get; set; } + public global::GitHub.WebhookInstallationUnsuspendAction? Type2250 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2251 { get; set; } + public global::GitHub.WebhookInstallationUnsuspendRequester? Type2251 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2252 { get; set; } + public global::GitHub.WebhookIssueCommentCreated? Type2252 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2253 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedAction? Type2253 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2254 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedComment? Type2254 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2255 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedCommentAuthorAssociation? Type2255 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsPackages? Type2256 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedCommentReactions? Type2256 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsPages? Type2257 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedCommentUser? Type2257 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsPullRequests? Type2258 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedCommentUserType? Type2258 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2259 { get; set; } + public global::System.AllOf? Type2259 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2260 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1? Type2260 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2261 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1ActiveLockReason? Type2261 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecrets? Type2262 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1Assignee? Type2262 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2263 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType? Type2263 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2264 { get; set; } + public global::System.Collections.Generic.IList? Type2264 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSingleFile? Type2265 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1Assignee2? Type2265 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsStatuses? Type2266 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1AssigneeType2? Type2266 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2267 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1AuthorAssociation? Type2267 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2268 { get; set; } + public global::System.Collections.Generic.IList? Type2268 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsWorkflows? Type2269 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1Label? Type2269 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssueUserType? Type2270 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1Milestone? Type2270 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneesType? Type2271 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreator? Type2271 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldRepositoryLicense? Type2272 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneCreatorType? Type2272 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldRepositoryOwner? Type2273 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1MilestoneState? Type2273 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldRepositoryPermissions? Type2274 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubApp? Type2274 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldRepositoryVisibility? Type2275 { get; set; } + public global::System.Collections.Generic.IList? Type2275 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedChangesOldRepositoryOwnerType? Type2276 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppEvent? Type2276 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssueActiveLockReason? Type2277 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwner? Type2277 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssueAssignee? Type2278 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppOwnerType? Type2278 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2279 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissions? Type2279 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssueAuthorAssociation? Type2280 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsActions? Type2280 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2281 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Type2281 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssueMilestone? Type2282 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsChecks? Type2282 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubApp? Type2283 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Type2283 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePullRequest? Type2284 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsContents? Type2284 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssueReactions? Type2285 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Type2285 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssueState? Type2286 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Type2286 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssueUser? Type2287 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEmails? Type2287 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssueAssigneeType? Type2288 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Type2288 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssueMilestoneCreator? Type2289 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsIssues? Type2289 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssueMilestoneState? Type2290 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsKeys? Type2290 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssueMilestoneCreatorType? Type2291 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMembers? Type2291 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2292 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Type2292 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppOwner? Type2293 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Type2293 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissions? Type2294 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Type2294 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppOwnerType? Type2295 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Type2295 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsActions? Type2296 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Type2296 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsAdministration? Type2297 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Type2297 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsChecks? Type2298 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Type2298 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsContentReferences? Type2299 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2299 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsContents? Type2300 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2300 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsDeployments? Type2301 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPackages? Type2301 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsDiscussions? Type2302 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPages? Type2302 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsEmails? Type2303 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Type2303 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsEnvironments? Type2304 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Type2304 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsIssues? Type2305 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Type2305 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsKeys? Type2306 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Type2306 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsMembers? Type2307 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Type2307 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsMetadata? Type2308 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Type2308 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2309 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Type2309 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2310 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Type2310 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2311 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Type2311 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2312 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Type2312 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2313 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2313 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2314 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Type2314 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2315 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1PullRequest? Type2315 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2316 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1Reactions? Type2316 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsPackages? Type2317 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1State? Type2317 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsPages? Type2318 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1User? Type2318 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsPullRequests? Type2319 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant1UserType? Type2319 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2320 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2? Type2320 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2321 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2Assignee? Type2321 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2322 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2AssigneeType? Type2322 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecrets? Type2323 { get; set; } + public global::System.Collections.Generic.IList? Type2323 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2324 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2Assignee2? Type2324 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2325 { get; set; } + public global::System.Collections.Generic.IList? Type2325 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSingleFile? Type2326 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2Label? Type2326 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsStatuses? Type2327 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2Milestone? Type2327 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2328 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2PerformedViaGithubApp? Type2328 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2329 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2Reactions? Type2329 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsWorkflows? Type2330 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2State? Type2330 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssueUserType? Type2331 { get; set; } + public global::GitHub.WebhookIssueCommentCreatedIssueVariant2User? Type2331 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesOpenedIssueAssigneesType? Type2332 { get; set; } + public global::GitHub.WebhookIssueCommentDeleted? Type2332 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesPinnedAction? Type2333 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedAction? Type2333 { get; set; } /// /// /// - public global::GitHub.WebhooksIssue2? Type2334 { get; set; } + public global::System.AllOf? Type2334 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedAction? Type2335 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1? Type2335 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssue? Type2336 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1ActiveLockReason? Type2336 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssueActiveLockReason? Type2337 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1Assignee? Type2337 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssueAssignee? Type2338 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType? Type2338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2339 { get; set; } + public global::System.Collections.Generic.IList? Type2339 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssueAuthorAssociation? Type2340 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1Assignee2? Type2340 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2341 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1AssigneeType2? Type2341 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssueMilestone? Type2342 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1AuthorAssociation? Type2342 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubApp? Type2343 { get; set; } + public global::System.Collections.Generic.IList? Type2343 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePullRequest? Type2344 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1Label? Type2344 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssueReactions? Type2345 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1Milestone? Type2345 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssueState? Type2346 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreator? Type2346 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssueUser? Type2347 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneCreatorType? Type2347 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssueAssigneeType? Type2348 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1MilestoneState? Type2348 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssueMilestoneCreator? Type2349 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubApp? Type2349 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssueMilestoneState? Type2350 { get; set; } + public global::System.Collections.Generic.IList? Type2350 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssueMilestoneCreatorType? Type2351 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppEvent? Type2351 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2352 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwner? Type2352 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppOwner? Type2353 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppOwnerType? Type2353 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissions? Type2354 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissions? Type2354 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppOwnerType? Type2355 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsActions? Type2355 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsActions? Type2356 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Type2356 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsAdministration? Type2357 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsChecks? Type2357 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsChecks? Type2358 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Type2358 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsContentReferences? Type2359 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsContents? Type2359 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsContents? Type2360 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Type2360 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsDeployments? Type2361 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Type2361 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsDiscussions? Type2362 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEmails? Type2362 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsEmails? Type2363 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Type2363 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsEnvironments? Type2364 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsIssues? Type2364 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsIssues? Type2365 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsKeys? Type2365 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsKeys? Type2366 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMembers? Type2366 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsMembers? Type2367 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Type2367 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsMetadata? Type2368 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Type2368 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2369 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Type2369 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2370 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Type2370 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2371 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Type2371 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2372 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Type2372 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2373 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Type2373 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2374 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2374 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2375 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2375 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2376 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPackages? Type2376 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsPackages? Type2377 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPages? Type2377 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsPages? Type2378 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Type2378 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsPullRequests? Type2379 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Type2379 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2380 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Type2380 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2381 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Type2381 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2382 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Type2382 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecrets? Type2383 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Type2383 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2384 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Type2384 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2385 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Type2385 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSingleFile? Type2386 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Type2386 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsStatuses? Type2387 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Type2387 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2388 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2388 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2389 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Type2389 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsWorkflows? Type2390 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1PullRequest? Type2390 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssueUserType? Type2391 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1Reactions? Type2391 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesReopenedIssueAssigneesType? Type2392 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1State? Type2392 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredAction? Type2393 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1User? Type2393 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChanges? Type2394 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant1UserType? Type2394 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssue? Type2395 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2? Type2395 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewRepository? Type2396 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2Assignee? Type2396 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssueActiveLockReason? Type2397 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2AssigneeType? Type2397 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssueAssignee? Type2398 { get; set; } + public global::System.Collections.Generic.IList? Type2398 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2399 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2Assignee2? Type2399 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssueAuthorAssociation? Type2400 { get; set; } + public global::System.Collections.Generic.IList? Type2400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2401 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2Label? Type2401 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssueMilestone? Type2402 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2Milestone? Type2402 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubApp? Type2403 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2PerformedViaGithubApp? Type2403 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePullRequest? Type2404 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2Reactions? Type2404 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssueReactions? Type2405 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2State? Type2405 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssueState? Type2406 { get; set; } + public global::GitHub.WebhookIssueCommentDeletedIssueVariant2User? Type2406 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssueUser? Type2407 { get; set; } + public global::GitHub.WebhookIssueCommentEdited? Type2407 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType? Type2408 { get; set; } + public global::GitHub.WebhookIssueCommentEditedAction? Type2408 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssueMilestoneCreator? Type2409 { get; set; } + public global::System.AllOf? Type2409 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssueMilestoneState? Type2410 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1? Type2410 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssueMilestoneCreatorType? Type2411 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1ActiveLockReason? Type2411 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2412 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1Assignee? Type2412 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppOwner? Type2413 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType? Type2413 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissions? Type2414 { get; set; } + public global::System.Collections.Generic.IList? Type2414 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppOwnerType? Type2415 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1Assignee2? Type2415 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsActions? Type2416 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1AssigneeType2? Type2416 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsAdministration? Type2417 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1AuthorAssociation? Type2417 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsChecks? Type2418 { get; set; } + public global::System.Collections.Generic.IList? Type2418 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsContentReferences? Type2419 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1Label? Type2419 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsContents? Type2420 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1Milestone? Type2420 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsDeployments? Type2421 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreator? Type2421 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsDiscussions? Type2422 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneCreatorType? Type2422 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsEmails? Type2423 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1MilestoneState? Type2423 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsEnvironments? Type2424 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubApp? Type2424 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsIssues? Type2425 { get; set; } + public global::System.Collections.Generic.IList? Type2425 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsKeys? Type2426 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppEvent? Type2426 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsMembers? Type2427 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwner? Type2427 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsMetadata? Type2428 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppOwnerType? Type2428 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2429 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissions? Type2429 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2430 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsActions? Type2430 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2431 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Type2431 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2432 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsChecks? Type2432 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2433 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Type2433 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2434 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsContents? Type2434 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2435 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Type2435 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2436 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Type2436 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsPackages? Type2437 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEmails? Type2437 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsPages? Type2438 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Type2438 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsPullRequests? Type2439 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsIssues? Type2439 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2440 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsKeys? Type2440 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2441 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMembers? Type2441 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2442 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Type2442 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecrets? Type2443 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Type2443 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2444 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Type2444 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2445 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Type2445 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSingleFile? Type2446 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Type2446 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsStatuses? Type2447 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Type2447 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2448 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Type2448 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2449 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2449 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsWorkflows? Type2450 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2450 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssueUserType? Type2451 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPackages? Type2451 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneesType? Type2452 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPages? Type2452 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewRepositoryLicense? Type2453 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Type2453 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewRepositoryOwner? Type2454 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Type2454 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewRepositoryPermissions? Type2455 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Type2455 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewRepositoryVisibility? Type2456 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Type2456 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesTransferredChangesNewRepositoryOwnerType? Type2457 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Type2457 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnassignedAction? Type2458 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Type2458 { get; set; } /// /// /// - public global::GitHub.WebhooksUserMannequin? Type2459 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Type2459 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlabeledAction? Type2460 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Type2460 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedAction? Type2461 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Type2461 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssue? Type2462 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Type2462 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssueActiveLockReason? Type2463 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2463 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssueAssignee? Type2464 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Type2464 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2465 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1PullRequest? Type2465 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssueAuthorAssociation? Type2466 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1Reactions? Type2466 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2467 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1State? Type2467 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssueMilestone? Type2468 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1User? Type2468 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubApp? Type2469 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant1UserType? Type2469 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePullRequest? Type2470 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant2? Type2470 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssueReactions? Type2471 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant2Assignee? Type2471 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssueState? Type2472 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant2AssigneeType? Type2472 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssueUser? Type2473 { get; set; } + public global::System.Collections.Generic.IList? Type2473 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssueAssigneeType? Type2474 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant2Assignee2? Type2474 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssueMilestoneCreator? Type2475 { get; set; } + public global::System.Collections.Generic.IList? Type2475 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssueMilestoneState? Type2476 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant2Label? Type2476 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssueMilestoneCreatorType? Type2477 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant2Milestone? Type2477 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2478 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant2PerformedViaGithubApp? Type2478 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppOwner? Type2479 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant2Reactions? Type2479 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissions? Type2480 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant2State? Type2480 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppOwnerType? Type2481 { get; set; } + public global::GitHub.WebhookIssueCommentEditedIssueVariant2User? Type2481 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsActions? Type2482 { get; set; } + public global::GitHub.WebhookIssuesAssigned? Type2482 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsAdministration? Type2483 { get; set; } + public global::GitHub.WebhookIssuesAssignedAction? Type2483 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsChecks? Type2484 { get; set; } + public global::GitHub.WebhookIssuesClosed? Type2484 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsContentReferences? Type2485 { get; set; } + public global::GitHub.WebhookIssuesClosedAction? Type2485 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsContents? Type2486 { get; set; } + public global::System.AllOf? Type2486 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsDeployments? Type2487 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1? Type2487 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsDiscussions? Type2488 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1ActiveLockReason? Type2488 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsEmails? Type2489 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1Assignee? Type2489 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsEnvironments? Type2490 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType? Type2490 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsIssues? Type2491 { get; set; } + public global::System.Collections.Generic.IList? Type2491 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsKeys? Type2492 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1Assignee2? Type2492 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsMembers? Type2493 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1AssigneeType2? Type2493 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsMetadata? Type2494 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1AuthorAssociation? Type2494 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2495 { get; set; } + public global::System.Collections.Generic.IList? Type2495 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2496 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1Label? Type2496 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2497 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1Milestone? Type2497 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2498 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreator? Type2498 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2499 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneCreatorType? Type2499 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2500 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1MilestoneState? Type2500 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2501 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubApp? Type2501 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2502 { get; set; } + public global::System.Collections.Generic.IList? Type2502 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsPackages? Type2503 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppEvent? Type2503 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsPages? Type2504 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwner? Type2504 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsPullRequests? Type2505 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppOwnerType? Type2505 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2506 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissions? Type2506 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2507 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsActions? Type2507 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2508 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsAdministration? Type2508 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecrets? Type2509 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsChecks? Type2509 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2510 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContentReferences? Type2510 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2511 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsContents? Type2511 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSingleFile? Type2512 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDeployments? Type2512 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsStatuses? Type2513 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsDiscussions? Type2513 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2514 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEmails? Type2514 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2515 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsEnvironments? Type2515 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsWorkflows? Type2516 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsIssues? Type2516 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssueUserType? Type2517 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsKeys? Type2517 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnlockedIssueAssigneesType? Type2518 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMembers? Type2518 { get; set; } /// /// /// - public global::GitHub.WebhookIssuesUnpinnedAction? Type2519 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsMetadata? Type2519 { get; set; } /// /// /// - public global::GitHub.WebhookLabelCreatedAction? Type2520 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationAdministration? Type2520 { get; set; } /// /// /// - public global::GitHub.WebhookLabelDeletedAction? Type2521 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationHooks? Type2521 { get; set; } /// /// /// - public global::GitHub.WebhookLabelEditedAction? Type2522 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPackages? Type2522 { get; set; } /// /// /// - public global::GitHub.WebhookLabelEditedChanges? Type2523 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationPlan? Type2523 { get; set; } /// /// /// - public global::GitHub.WebhookLabelEditedChangesColor? Type2524 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationProjects? Type2524 { get; set; } /// /// /// - public global::GitHub.WebhookLabelEditedChangesDescription? Type2525 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSecrets? Type2525 { get; set; } /// /// /// - public global::GitHub.WebhookLabelEditedChangesName? Type2526 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2526 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchaseCancelledAction? Type2527 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2527 { get; set; } /// /// /// - public global::GitHub.WebhooksMarketplacePurchase? Type2528 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPackages? Type2528 { get; set; } /// /// /// - public global::GitHub.WebhooksPreviousMarketplacePurchase? Type2529 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPages? Type2529 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchaseChangedAction? Type2530 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsPullRequests? Type2530 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchase? Type2531 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryHooks? Type2531 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchaseAccount? Type2532 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsRepositoryProjects? Type2532 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchasePlan? Type2533 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecretScanningAlerts? Type2533 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchasePlanPriceModel? Type2534 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecrets? Type2534 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchasePendingChangeAction? Type2535 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityEvents? Type2535 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchase? Type2536 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSecurityScanningAlert? Type2536 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchaseAccount? Type2537 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsSingleFile? Type2537 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchasePlan? Type2538 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsStatuses? Type2538 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchasePlanPriceModel? Type2539 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsTeamDiscussions? Type2539 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchasePendingChangeCancelledAction? Type2540 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2540 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchase? Type2541 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PerformedViaGithubAppPermissionsWorkflows? Type2541 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchaseAccount? Type2542 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1PullRequest? Type2542 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchasePlan? Type2543 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1Reactions? Type2543 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchasePlanPriceModel? Type2544 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1State? Type2544 { get; set; } /// /// /// - public global::GitHub.WebhookMarketplacePurchasePurchasedAction? Type2545 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1User? Type2545 { get; set; } /// /// /// - public global::GitHub.WebhookMemberAddedAction? Type2546 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant1UserType? Type2546 { get; set; } /// /// /// - public global::GitHub.WebhookMemberAddedChanges? Type2547 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant2? Type2547 { get; set; } /// /// /// - public global::GitHub.WebhookMemberAddedChangesPermission? Type2548 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant2Assignee? Type2548 { get; set; } /// /// /// - public global::GitHub.WebhookMemberAddedChangesRoleName? Type2549 { get; set; } + public global::System.Collections.Generic.IList? Type2549 { get; set; } /// /// /// - public global::GitHub.WebhookMemberAddedChangesPermissionTo? Type2550 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant2Assignee2? Type2550 { get; set; } /// /// /// - public global::GitHub.WebhookMemberEditedAction? Type2551 { get; set; } + public global::System.Collections.Generic.IList? Type2551 { get; set; } /// /// /// - public global::GitHub.WebhookMemberEditedChanges? Type2552 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant2Label? Type2552 { get; set; } /// /// /// - public global::GitHub.WebhookMemberEditedChangesOldPermission? Type2553 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant2Milestone? Type2553 { get; set; } /// /// /// - public global::GitHub.WebhookMemberEditedChangesPermission? Type2554 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant2PerformedViaGithubApp? Type2554 { get; set; } /// /// /// - public global::GitHub.WebhookMemberRemovedAction? Type2555 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant2Reactions? Type2555 { get; set; } /// /// /// - public global::GitHub.WebhookMembershipAddedAction? Type2556 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant2State? Type2556 { get; set; } /// /// /// - public global::GitHub.WebhookMembershipAddedScope? Type2557 { get; set; } + public global::GitHub.WebhookIssuesClosedIssueVariant2User? Type2557 { get; set; } /// /// /// - public global::GitHub.WebhookMembershipAddedSender? Type2558 { get; set; } + public global::GitHub.WebhookIssuesDeleted? Type2558 { get; set; } /// /// /// - public global::GitHub.WebhooksTeam? Type2559 { get; set; } + public global::GitHub.WebhookIssuesDeletedAction? Type2559 { get; set; } /// /// /// - public global::GitHub.WebhookMembershipAddedSenderType? Type2560 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssue? Type2560 { get; set; } /// /// /// - public global::GitHub.WebhookMembershipRemovedAction? Type2561 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueActiveLockReason? Type2561 { get; set; } /// /// /// - public global::GitHub.WebhookMembershipRemovedScope? Type2562 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueAssignee? Type2562 { get; set; } /// /// /// - public global::GitHub.WebhookMembershipRemovedSender? Type2563 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueAssigneeType? Type2563 { get; set; } /// /// /// - public global::GitHub.WebhookMembershipRemovedSenderType? Type2564 { get; set; } + public global::System.Collections.Generic.IList? Type2564 { get; set; } /// /// /// - public global::GitHub.WebhookMergeGroupChecksRequestedAction? Type2565 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueAssignee2? Type2565 { get; set; } /// /// /// - public global::GitHub.MergeGroup? Type2566 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueAssigneeType2? Type2566 { get; set; } /// /// /// - public global::GitHub.WebhookMergeGroupDestroyedAction? Type2567 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueAuthorAssociation? Type2567 { get; set; } /// /// /// - public global::GitHub.WebhookMergeGroupDestroyedReason? Type2568 { get; set; } + public global::System.Collections.Generic.IList? Type2568 { get; set; } /// /// /// - public global::GitHub.WebhookMetaDeletedAction? Type2569 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueLabel? Type2569 { get; set; } /// /// /// - public global::GitHub.WebhookMetaDeletedHook? Type2570 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueMilestone? Type2570 { get; set; } /// /// /// - public global::GitHub.NullableRepositoryWebhooks? Type2571 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueMilestoneCreator? Type2571 { get; set; } /// /// /// - public global::GitHub.WebhookMetaDeletedHookConfig? Type2572 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueMilestoneCreatorType? Type2572 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2573 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueMilestoneState? Type2573 { get; set; } /// /// /// - public global::GitHub.WebhookMetaDeletedHookConfigContentType? Type2574 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubApp? Type2574 { get; set; } /// /// /// - public global::GitHub.WebhookMilestoneClosedAction? Type2575 { get; set; } + public global::System.Collections.Generic.IList? Type2575 { get; set; } /// /// /// - public global::GitHub.WebhookMilestoneCreatedAction? Type2576 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppEvent? Type2576 { get; set; } /// /// /// - public global::GitHub.WebhooksMilestone3? Type2577 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppOwner? Type2577 { get; set; } /// /// /// - public global::GitHub.WebhookMilestoneDeletedAction? Type2578 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppOwnerType? Type2578 { get; set; } /// /// /// - public global::GitHub.WebhookMilestoneEditedAction? Type2579 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissions? Type2579 { get; set; } /// /// /// - public global::GitHub.WebhookMilestoneEditedChanges? Type2580 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsActions? Type2580 { get; set; } /// /// /// - public global::GitHub.WebhookMilestoneEditedChangesDescription? Type2581 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsAdministration? Type2581 { get; set; } /// /// /// - public global::GitHub.WebhookMilestoneEditedChangesDueOn? Type2582 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsChecks? Type2582 { get; set; } /// /// /// - public global::GitHub.WebhookMilestoneEditedChangesTitle? Type2583 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsContentReferences? Type2583 { get; set; } /// /// /// - public global::GitHub.WebhookMilestoneOpenedAction? Type2584 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsContents? Type2584 { get; set; } /// /// /// - public global::GitHub.WebhookOrgBlockBlockedAction? Type2585 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsDeployments? Type2585 { get; set; } /// /// /// - public global::GitHub.WebhookOrgBlockUnblockedAction? Type2586 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsDiscussions? Type2586 { get; set; } /// /// /// - public global::GitHub.WebhookOrganizationDeletedAction? Type2587 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsEmails? Type2587 { get; set; } /// /// /// - public global::GitHub.WebhooksMembership? Type2588 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsEnvironments? Type2588 { get; set; } /// /// /// - public global::GitHub.WebhookOrganizationMemberAddedAction? Type2589 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsIssues? Type2589 { get; set; } /// /// /// - public global::GitHub.WebhookOrganizationMemberInvitedAction? Type2590 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsKeys? Type2590 { get; set; } /// /// /// - public global::GitHub.WebhookOrganizationMemberInvitedInvitation? Type2591 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsMembers? Type2591 { get; set; } /// /// /// - public global::GitHub.WebhookOrganizationMemberInvitedInvitationInviter? Type2592 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsMetadata? Type2592 { get; set; } /// /// /// - public global::GitHub.WebhookOrganizationMemberInvitedInvitationInviterType? Type2593 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2593 { get; set; } /// /// /// - public global::GitHub.WebhookOrganizationMemberRemovedAction? Type2594 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2594 { get; set; } /// /// /// - public global::GitHub.WebhookOrganizationRenamedAction? Type2595 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2595 { get; set; } /// /// /// - public global::GitHub.WebhookOrganizationRenamedChanges? Type2596 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2596 { get; set; } /// /// /// - public global::GitHub.WebhookOrganizationRenamedChangesLogin? Type2597 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2597 { get; set; } /// /// /// - public global::GitHub.WebhookRubygemsMetadataVersionInfo? Type2598 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2598 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedAction? Type2599 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2599 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedPackage? Type2600 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2600 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedPackageOwner? Type2601 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsPackages? Type2601 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedPackagePackageVersion? Type2602 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsPages? Type2602 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedPackageRegistry? Type2603 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsPullRequests? Type2603 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedPackageOwnerType? Type2604 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2604 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedPackagePackageVersionAuthor? Type2605 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2605 { get; set; } /// /// /// - public global::System.OneOf? Type2606 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2606 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedPackagePackageVersionContainerMetadata? Type2607 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecrets? Type2607 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2608 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2608 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2609 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2609 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadata? Type2610 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsSingleFile? Type2610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2611 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsStatuses? Type2611 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2612 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2612 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedPackagePackageVersionRelease? Type2613 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2613 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2614 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePerformedViaGithubAppPermissionsWorkflows? Type2614 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedPackagePackageVersionAuthorType? Type2615 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssuePullRequest? Type2615 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedPackagePackageVersionContainerMetadataTag? Type2616 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueReactions? Type2616 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedPackagePackageVersionReleaseAuthor? Type2617 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueState? Type2617 { get; set; } /// /// /// - public global::GitHub.WebhookPackagePublishedPackagePackageVersionReleaseAuthorType? Type2618 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueUser? Type2618 { get; set; } /// /// /// - public global::System.OneOf? Type2619 { get; set; } + public global::GitHub.WebhookIssuesDeletedIssueUserType? Type2619 { get; set; } /// /// /// - public global::System.OneOf? Type2620 { get; set; } + public global::GitHub.WebhookIssuesDemilestoned? Type2620 { get; set; } /// /// /// - public global::GitHub.WebhookPackageUpdatedAction? Type2621 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedAction? Type2621 { get; set; } /// /// /// - public global::GitHub.WebhookPackageUpdatedPackage? Type2622 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssue? Type2622 { get; set; } /// /// /// - public global::GitHub.WebhookPackageUpdatedPackageOwner? Type2623 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueActiveLockReason? Type2623 { get; set; } /// /// /// - public global::GitHub.WebhookPackageUpdatedPackagePackageVersion? Type2624 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueAssignee? Type2624 { get; set; } /// /// /// - public global::GitHub.WebhookPackageUpdatedPackageRegistry? Type2625 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType? Type2625 { get; set; } /// /// /// - public global::GitHub.WebhookPackageUpdatedPackageOwnerType? Type2626 { get; set; } + public global::System.Collections.Generic.IList? Type2626 { get; set; } /// /// /// - public global::GitHub.WebhookPackageUpdatedPackagePackageVersionAuthor? Type2627 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueAssignee2? Type2627 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2628 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueAssigneeType2? Type2628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2629 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueAuthorAssociation? Type2629 { get; set; } /// /// /// - public global::GitHub.WebhookPackageUpdatedPackagePackageVersionRelease? Type2630 { get; set; } + public global::System.Collections.Generic.IList? Type2630 { get; set; } /// /// /// - public global::GitHub.WebhookPackageUpdatedPackagePackageVersionAuthorType? Type2631 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueLabel? Type2631 { get; set; } /// /// /// - public global::GitHub.WebhookPackageUpdatedPackagePackageVersionReleaseAuthor? Type2632 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueMilestone? Type2632 { get; set; } /// /// /// - public global::GitHub.WebhookPackageUpdatedPackagePackageVersionReleaseAuthorType? Type2633 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueMilestoneCreator? Type2633 { get; set; } /// /// /// - public global::GitHub.WebhookPageBuildBuild? Type2634 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueMilestoneCreatorType? Type2634 { get; set; } /// /// /// - public global::GitHub.WebhookPageBuildBuildError? Type2635 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueMilestoneState? Type2635 { get; set; } /// /// /// - public global::GitHub.WebhookPageBuildBuildPusher? Type2636 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubApp? Type2636 { get; set; } /// /// /// - public global::GitHub.WebhookPageBuildBuildPusherType? Type2637 { get; set; } + public global::System.Collections.Generic.IList? Type2637 { get; set; } /// /// /// - public global::GitHub.WebhookPersonalAccessTokenRequestApprovedAction? Type2638 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppEvent? Type2638 { get; set; } /// /// /// - public global::GitHub.PersonalAccessTokenRequest? Type2639 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppOwner? Type2639 { get; set; } /// /// /// - public global::GitHub.WebhookPersonalAccessTokenRequestCancelledAction? Type2640 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppOwnerType? Type2640 { get; set; } /// /// /// - public global::GitHub.WebhookPersonalAccessTokenRequestCreatedAction? Type2641 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissions? Type2641 { get; set; } /// /// /// - public global::GitHub.WebhookPersonalAccessTokenRequestDeniedAction? Type2642 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsActions? Type2642 { get; set; } /// /// /// - public global::GitHub.WebhookPingHook? Type2643 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsAdministration? Type2643 { get; set; } /// /// /// - public global::GitHub.WebhookPingHookConfig? Type2644 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsChecks? Type2644 { get; set; } /// /// /// - public global::GitHub.WebhookPingHookName? Type2645 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsContentReferences? Type2645 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardConvertedAction? Type2646 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsContents? Type2646 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardConvertedChanges? Type2647 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsDeployments? Type2647 { get; set; } /// /// /// - public global::GitHub.WebhooksProjectCard? Type2648 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsDiscussions? Type2648 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardConvertedChangesNote? Type2649 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsEmails? Type2649 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardCreatedAction? Type2650 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsEnvironments? Type2650 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardDeletedAction? Type2651 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsIssues? Type2651 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardDeletedProjectCard? Type2652 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsKeys? Type2652 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardDeletedProjectCardCreator? Type2653 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsMembers? Type2653 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardDeletedProjectCardCreatorType? Type2654 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsMetadata? Type2654 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardEditedAction? Type2655 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2655 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardEditedChanges? Type2656 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2656 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardEditedChangesNote? Type2657 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2657 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardMovedAction? Type2658 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2658 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardMovedChanges? Type2659 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2659 { get; set; } /// /// /// - public global::System.AllOf? Type2660 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2660 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardMovedChangesColumnId? Type2661 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2661 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardMovedProjectCardCreator? Type2662 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2662 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCardMovedProjectCardCreatorType? Type2663 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsPackages? Type2663 { get; set; } /// /// /// - public global::GitHub.WebhookProjectClosedAction? Type2664 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsPages? Type2664 { get; set; } /// /// /// - public global::GitHub.WebhooksProject? Type2665 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsPullRequests? Type2665 { get; set; } /// /// /// - public global::GitHub.WebhookProjectColumnCreatedAction? Type2666 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2666 { get; set; } /// /// /// - public global::GitHub.WebhooksProjectColumn? Type2667 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2667 { get; set; } /// /// /// - public global::GitHub.WebhookProjectColumnDeletedAction? Type2668 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2668 { get; set; } /// /// /// - public global::GitHub.WebhookProjectColumnEditedAction? Type2669 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecrets? Type2669 { get; set; } /// /// /// - public global::GitHub.WebhookProjectColumnEditedChanges? Type2670 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2670 { get; set; } /// /// /// - public global::GitHub.WebhookProjectColumnEditedChangesName? Type2671 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2671 { get; set; } /// /// /// - public global::GitHub.WebhookProjectColumnMovedAction? Type2672 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsSingleFile? Type2672 { get; set; } /// /// /// - public global::GitHub.WebhookProjectCreatedAction? Type2673 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsStatuses? Type2673 { get; set; } /// /// /// - public global::GitHub.WebhookProjectDeletedAction? Type2674 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2674 { get; set; } /// /// /// - public global::GitHub.WebhookProjectEditedAction? Type2675 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2675 { get; set; } /// /// /// - public global::GitHub.WebhookProjectEditedChanges? Type2676 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePerformedViaGithubAppPermissionsWorkflows? Type2676 { get; set; } /// /// /// - public global::GitHub.WebhookProjectEditedChangesBody? Type2677 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssuePullRequest? Type2677 { get; set; } /// /// /// - public global::GitHub.WebhookProjectEditedChangesName? Type2678 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueReactions? Type2678 { get; set; } /// /// /// - public global::GitHub.WebhookProjectReopenedAction? Type2679 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueState? Type2679 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ProjectClosedAction? Type2680 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueUser? Type2680 { get; set; } /// /// /// - public global::GitHub.ProjectsV2? Type2681 { get; set; } + public global::GitHub.WebhookIssuesDemilestonedIssueUserType? Type2681 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ProjectCreatedAction? Type2682 { get; set; } + public global::GitHub.WebhookIssuesEdited? Type2682 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ProjectDeletedAction? Type2683 { get; set; } + public global::GitHub.WebhookIssuesEditedAction? Type2683 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ProjectEditedAction? Type2684 { get; set; } + public global::GitHub.WebhookIssuesEditedChanges? Type2684 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ProjectEditedChanges? Type2685 { get; set; } + public global::GitHub.WebhookIssuesEditedChangesBody? Type2685 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ProjectEditedChangesDescription? Type2686 { get; set; } + public global::GitHub.WebhookIssuesEditedChangesTitle? Type2686 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ProjectEditedChangesPublic? Type2687 { get; set; } + public global::GitHub.WebhookIssuesEditedIssue? Type2687 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ProjectEditedChangesShortDescription? Type2688 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueActiveLockReason? Type2688 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ProjectEditedChangesTitle? Type2689 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueAssignee? Type2689 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ItemArchivedAction? Type2690 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueAssigneeType? Type2690 { get; set; } /// /// /// - public global::GitHub.WebhooksProjectChanges? Type2691 { get; set; } + public global::System.Collections.Generic.IList? Type2691 { get; set; } /// /// /// - public global::GitHub.ProjectsV2Item? Type2692 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueAssignee2? Type2692 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ItemConvertedAction? Type2693 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueAssigneeType2? Type2693 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ItemConvertedChanges? Type2694 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueAuthorAssociation? Type2694 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ItemConvertedChangesContentType? Type2695 { get; set; } + public global::System.Collections.Generic.IList? Type2695 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ItemCreatedAction? Type2696 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueLabel? Type2696 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ItemDeletedAction? Type2697 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueMilestone? Type2697 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ItemEditedAction? Type2698 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueMilestoneCreator? Type2698 { get; set; } /// /// /// - public global::System.OneOf? Type2699 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueMilestoneCreatorType? Type2699 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ItemEditedChangesFieldValue? Type2700 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueMilestoneState? Type2700 { get; set; } /// /// /// - public global::System.OneOf? Type2701 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubApp? Type2701 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ItemReorderedAction? Type2702 { get; set; } + public global::System.Collections.Generic.IList? Type2702 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ItemReorderedChanges? Type2703 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppEvent? Type2703 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ItemReorderedChangesPreviousProjectsV2ItemNodeId? Type2704 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppOwner? Type2704 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ItemRestoredAction? Type2705 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppOwnerType? Type2705 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2ProjectReopenedAction? Type2706 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissions? Type2706 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2StatusUpdateCreatedAction? Type2707 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsActions? Type2707 { get; set; } /// /// /// - public global::GitHub.ProjectsV2StatusUpdate? Type2708 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsAdministration? Type2708 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2StatusUpdateDeletedAction? Type2709 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsChecks? Type2709 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2StatusUpdateEditedAction? Type2710 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsContentReferences? Type2710 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2StatusUpdateEditedChanges? Type2711 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsContents? Type2711 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2StatusUpdateEditedChangesBody? Type2712 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsDeployments? Type2712 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2StatusUpdateEditedChangesStatus? Type2713 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsDiscussions? Type2713 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2StatusUpdateEditedChangesStartDate? Type2714 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsEmails? Type2714 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2StatusUpdateEditedChangesTargetDate? Type2715 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsEnvironments? Type2715 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom? Type2716 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsIssues? Type2716 { get; set; } /// /// /// - public global::GitHub.WebhookProjectsV2StatusUpdateEditedChangesStatusTo? Type2717 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsKeys? Type2717 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedAction? Type2718 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsMembers? Type2718 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequest? Type2719 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsMetadata? Type2719 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestLinks? Type2720 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2720 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestActiveLockReason? Type2721 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2721 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestAssignee? Type2722 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2722 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2723 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2723 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestAuthorAssociation? Type2724 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2724 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestAutoMerge? Type2725 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2725 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestBase? Type2726 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2726 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestHead? Type2727 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2727 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2728 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsPackages? Type2728 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestMergedBy? Type2729 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsPages? Type2729 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestMilestone? Type2730 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsPullRequests? Type2730 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2731 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2731 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2732 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2732 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestState? Type2733 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2733 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestUser? Type2734 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecrets? Type2734 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestLinksComments? Type2735 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2735 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestLinksCommits? Type2736 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2736 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestLinksHtml? Type2737 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsSingleFile? Type2737 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestLinksIssue? Type2738 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsStatuses? Type2738 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestLinksReviewComment? Type2739 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2739 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestLinksReviewComments? Type2740 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2740 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestLinksSelf? Type2741 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePerformedViaGithubAppPermissionsWorkflows? Type2741 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestLinksStatuses? Type2742 { get; set; } + public global::GitHub.WebhookIssuesEditedIssuePullRequest? Type2742 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType? Type2743 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueReactions? Type2743 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestAutoMergeEnabledBy? Type2744 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueState? Type2744 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestAutoMergeMergeMethod? Type2745 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueUser? Type2745 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestAutoMergeEnabledByType? Type2746 { get; set; } + public global::GitHub.WebhookIssuesEditedIssueUserType? Type2746 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepo? Type2747 { get; set; } + public global::GitHub.WebhookIssuesLabeled? Type2747 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestBaseUser? Type2748 { get; set; } + public global::GitHub.WebhookIssuesLabeledAction? Type2748 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoLicense? Type2749 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssue? Type2749 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoMergeCommitMessage? Type2750 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueActiveLockReason? Type2750 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoMergeCommitTitle? Type2751 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueAssignee? Type2751 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoOwner? Type2752 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueAssigneeType? Type2752 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoPermissions? Type2753 { get; set; } + public global::System.Collections.Generic.IList? Type2753 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoSquashMergeCommitMessage? Type2754 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueAssignee2? Type2754 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoSquashMergeCommitTitle? Type2755 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueAssigneeType2? Type2755 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoVisibility? Type2756 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueAuthorAssociation? Type2756 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoOwnerType? Type2757 { get; set; } + public global::System.Collections.Generic.IList? Type2757 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestBaseUserType? Type2758 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueLabel? Type2758 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepo? Type2759 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueMilestone? Type2759 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestHeadUser? Type2760 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueMilestoneCreator? Type2760 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoLicense? Type2761 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueMilestoneCreatorType? Type2761 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoMergeCommitMessage? Type2762 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueMilestoneState? Type2762 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoMergeCommitTitle? Type2763 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubApp? Type2763 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoOwner? Type2764 { get; set; } + public global::System.Collections.Generic.IList? Type2764 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoPermissions? Type2765 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppEvent? Type2765 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoSquashMergeCommitMessage? Type2766 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppOwner? Type2766 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoSquashMergeCommitTitle? Type2767 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppOwnerType? Type2767 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoVisibility? Type2768 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissions? Type2768 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoOwnerType? Type2769 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsActions? Type2769 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestHeadUserType? Type2770 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsAdministration? Type2770 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestMergedByType? Type2771 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsChecks? Type2771 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestMilestoneCreator? Type2772 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsContentReferences? Type2772 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestMilestoneState? Type2773 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsContents? Type2773 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestMilestoneCreatorType? Type2774 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsDeployments? Type2774 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestUserType? Type2775 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsDiscussions? Type2775 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestAssigneesType? Type2776 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsEmails? Type2776 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParent? Type2777 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsEnvironments? Type2777 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsPrivacy? Type2778 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsIssues? Type2778 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamsParentPrivacy? Type2779 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsKeys? Type2779 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledAction? Type2780 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsMembers? Type2780 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequest? Type2781 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsMetadata? Type2781 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinks? Type2782 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2782 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestActiveLockReason? Type2783 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2783 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssignee? Type2784 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2784 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2785 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2785 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAuthorAssociation? Type2786 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2786 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAutoMerge? Type2787 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2787 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBase? Type2788 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2788 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHead? Type2789 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2789 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2790 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsPackages? Type2790 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestMergedBy? Type2791 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsPages? Type2791 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestMilestone? Type2792 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsPullRequests? Type2792 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2793 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2793 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2794 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2794 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestState? Type2795 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2795 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestUser? Type2796 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecrets? Type2796 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksComments? Type2797 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2797 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksCommits? Type2798 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2798 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksHtml? Type2799 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsSingleFile? Type2799 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksIssue? Type2800 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsStatuses? Type2800 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksReviewComment? Type2801 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2801 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksReviewComments? Type2802 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2802 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksSelf? Type2803 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePerformedViaGithubAppPermissionsWorkflows? Type2803 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksStatuses? Type2804 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssuePullRequest? Type2804 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType? Type2805 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueReactions? Type2805 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeEnabledBy? Type2806 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueState? Type2806 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeMergeMethod? Type2807 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueUser? Type2807 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeEnabledByType? Type2808 { get; set; } + public global::GitHub.WebhookIssuesLabeledIssueUserType? Type2808 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepo? Type2809 { get; set; } + public global::GitHub.WebhookIssuesLocked? Type2809 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseUser? Type2810 { get; set; } + public global::GitHub.WebhookIssuesLockedAction? Type2810 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoLicense? Type2811 { get; set; } + public global::GitHub.WebhookIssuesLockedIssue? Type2811 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoMergeCommitMessage? Type2812 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueActiveLockReason? Type2812 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoMergeCommitTitle? Type2813 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueAssignee? Type2813 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoOwner? Type2814 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueAssigneeType? Type2814 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoPermissions? Type2815 { get; set; } + public global::System.Collections.Generic.IList? Type2815 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoSquashMergeCommitMessage? Type2816 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueAssignee2? Type2816 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoSquashMergeCommitTitle? Type2817 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueAssigneeType2? Type2817 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoVisibility? Type2818 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueAuthorAssociation? Type2818 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoOwnerType? Type2819 { get; set; } + public global::System.Collections.Generic.IList? Type2819 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseUserType? Type2820 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueLabel? Type2820 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepo? Type2821 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueMilestone? Type2821 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadUser? Type2822 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueMilestoneCreator? Type2822 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoLicense? Type2823 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueMilestoneCreatorType? Type2823 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoMergeCommitMessage? Type2824 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueMilestoneState? Type2824 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoMergeCommitTitle? Type2825 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubApp? Type2825 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoOwner? Type2826 { get; set; } + public global::System.Collections.Generic.IList? Type2826 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoPermissions? Type2827 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppEvent? Type2827 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoSquashMergeCommitMessage? Type2828 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppOwner? Type2828 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoSquashMergeCommitTitle? Type2829 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppOwnerType? Type2829 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoVisibility? Type2830 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissions? Type2830 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoOwnerType? Type2831 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsActions? Type2831 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadUserType? Type2832 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsAdministration? Type2832 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestMergedByType? Type2833 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsChecks? Type2833 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneCreator? Type2834 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsContentReferences? Type2834 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneState? Type2835 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsContents? Type2835 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneCreatorType? Type2836 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsDeployments? Type2836 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestUserType? Type2837 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsDiscussions? Type2837 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneesType? Type2838 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsEmails? Type2838 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParent? Type2839 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsEnvironments? Type2839 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsPrivacy? Type2840 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsIssues? Type2840 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamsParentPrivacy? Type2841 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsKeys? Type2841 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledAction? Type2842 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsMembers? Type2842 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequest? Type2843 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsMetadata? Type2843 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinks? Type2844 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2844 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestActiveLockReason? Type2845 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2845 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssignee? Type2846 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2846 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2847 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2847 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAuthorAssociation? Type2848 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2848 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAutoMerge? Type2849 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2849 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBase? Type2850 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2850 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHead? Type2851 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2851 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2852 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsPackages? Type2852 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestMergedBy? Type2853 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsPages? Type2853 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestMilestone? Type2854 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsPullRequests? Type2854 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2855 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2855 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2856 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2856 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestState? Type2857 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2857 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestUser? Type2858 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecrets? Type2858 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksComments? Type2859 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2859 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksCommits? Type2860 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2860 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksHtml? Type2861 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsSingleFile? Type2861 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksIssue? Type2862 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsStatuses? Type2862 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksReviewComment? Type2863 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2863 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksReviewComments? Type2864 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2864 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksSelf? Type2865 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePerformedViaGithubAppPermissionsWorkflows? Type2865 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksStatuses? Type2866 { get; set; } + public global::GitHub.WebhookIssuesLockedIssuePullRequest? Type2866 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType? Type2867 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueReactions? Type2867 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeEnabledBy? Type2868 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueState? Type2868 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeMergeMethod? Type2869 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueUser? Type2869 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeEnabledByType? Type2870 { get; set; } + public global::GitHub.WebhookIssuesLockedIssueUserType? Type2870 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepo? Type2871 { get; set; } + public global::GitHub.WebhookIssuesMilestoned? Type2871 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseUser? Type2872 { get; set; } + public global::GitHub.WebhookIssuesMilestonedAction? Type2872 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoLicense? Type2873 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssue? Type2873 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoMergeCommitMessage? Type2874 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueActiveLockReason? Type2874 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoMergeCommitTitle? Type2875 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueAssignee? Type2875 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoOwner? Type2876 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueAssigneeType? Type2876 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoPermissions? Type2877 { get; set; } + public global::System.Collections.Generic.IList? Type2877 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoSquashMergeCommitMessage? Type2878 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueAssignee2? Type2878 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoSquashMergeCommitTitle? Type2879 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueAssigneeType2? Type2879 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoVisibility? Type2880 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueAuthorAssociation? Type2880 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoOwnerType? Type2881 { get; set; } + public global::System.Collections.Generic.IList? Type2881 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseUserType? Type2882 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueLabel? Type2882 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepo? Type2883 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueMilestone? Type2883 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadUser? Type2884 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueMilestoneCreator? Type2884 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoLicense? Type2885 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueMilestoneCreatorType? Type2885 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoMergeCommitMessage? Type2886 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueMilestoneState? Type2886 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoMergeCommitTitle? Type2887 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubApp? Type2887 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoOwner? Type2888 { get; set; } + public global::System.Collections.Generic.IList? Type2888 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoPermissions? Type2889 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppEvent? Type2889 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoSquashMergeCommitMessage? Type2890 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppOwner? Type2890 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoSquashMergeCommitTitle? Type2891 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppOwnerType? Type2891 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoVisibility? Type2892 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissions? Type2892 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoOwnerType? Type2893 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsActions? Type2893 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadUserType? Type2894 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsAdministration? Type2894 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestMergedByType? Type2895 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsChecks? Type2895 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneCreator? Type2896 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsContentReferences? Type2896 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneState? Type2897 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsContents? Type2897 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneCreatorType? Type2898 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsDeployments? Type2898 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestUserType? Type2899 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsDiscussions? Type2899 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneesType? Type2900 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsEmails? Type2900 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParent? Type2901 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsEnvironments? Type2901 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsPrivacy? Type2902 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsIssues? Type2902 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamsParentPrivacy? Type2903 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsKeys? Type2903 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestClosedAction? Type2904 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsMembers? Type2904 { get; set; } /// /// /// - public global::System.AllOf? Type2905 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsMetadata? Type2905 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitMessage? Type2906 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2906 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestClosedPullRequestMergeCommitTitle? Type2907 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2907 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitMessage? Type2908 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2908 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestClosedPullRequestSquashMergeCommitTitle? Type2909 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2909 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestConvertedToDraftAction? Type2910 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2910 { get; set; } /// /// /// - public global::System.AllOf? Type2911 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2911 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitMessage? Type2912 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2912 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestConvertedToDraftPullRequestMergeCommitTitle? Type2913 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2913 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitMessage? Type2914 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsPackages? Type2914 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestConvertedToDraftPullRequestSquashMergeCommitTitle? Type2915 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsPages? Type2915 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDemilestonedAction? Type2916 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsPullRequests? Type2916 { get; set; } /// /// /// - public global::GitHub.Milestone? Type2917 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2917 { get; set; } /// /// /// - public global::GitHub.WebhooksPullRequest5? Type2918 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2918 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedAction? Type2919 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2919 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequest? Type2920 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecrets? Type2920 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestLinks? Type2921 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2921 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestActiveLockReason? Type2922 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2922 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestAssignee? Type2923 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsSingleFile? Type2923 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2924 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsStatuses? Type2924 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestAuthorAssociation? Type2925 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2925 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestAutoMerge? Type2926 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2926 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestBase? Type2927 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePerformedViaGithubAppPermissionsWorkflows? Type2927 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestHead? Type2928 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssuePullRequest? Type2928 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2929 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueReactions? Type2929 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestMergedBy? Type2930 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueState? Type2930 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestMilestone? Type2931 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueUser? Type2931 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2932 { get; set; } + public global::GitHub.WebhookIssuesMilestonedIssueUserType? Type2932 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2933 { get; set; } + public global::GitHub.WebhookIssuesOpened? Type2933 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestState? Type2934 { get; set; } + public global::GitHub.WebhookIssuesOpenedAction? Type2934 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestUser? Type2935 { get; set; } + public global::GitHub.WebhookIssuesOpenedChanges? Type2935 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksComments? Type2936 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssue? Type2936 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksCommits? Type2937 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueActiveLockReason? Type2937 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksHtml? Type2938 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueAssignee? Type2938 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksIssue? Type2939 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType? Type2939 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksReviewComment? Type2940 { get; set; } + public global::System.Collections.Generic.IList? Type2940 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksReviewComments? Type2941 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueAssignee2? Type2941 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksSelf? Type2942 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueAssigneeType2? Type2942 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksStatuses? Type2943 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueAuthorAssociation? Type2943 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType? Type2944 { get; set; } + public global::System.Collections.Generic.IList? Type2944 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestAutoMergeEnabledBy? Type2945 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueLabel? Type2945 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestAutoMergeMergeMethod? Type2946 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueMilestone? Type2946 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestAutoMergeEnabledByType? Type2947 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueMilestoneCreator? Type2947 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepo? Type2948 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueMilestoneCreatorType? Type2948 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseUser? Type2949 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueMilestoneState? Type2949 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoLicense? Type2950 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubApp? Type2950 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoMergeCommitMessage? Type2951 { get; set; } + public global::System.Collections.Generic.IList? Type2951 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoMergeCommitTitle? Type2952 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppEvent? Type2952 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoOwner? Type2953 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppOwner? Type2953 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoPermissions? Type2954 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppOwnerType? Type2954 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoSquashMergeCommitMessage? Type2955 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissions? Type2955 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoSquashMergeCommitTitle? Type2956 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsActions? Type2956 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoVisibility? Type2957 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsAdministration? Type2957 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoOwnerType? Type2958 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsChecks? Type2958 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseUserType? Type2959 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsContentReferences? Type2959 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepo? Type2960 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsContents? Type2960 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadUser? Type2961 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsDeployments? Type2961 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoLicense? Type2962 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsDiscussions? Type2962 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoMergeCommitMessage? Type2963 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsEmails? Type2963 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoMergeCommitTitle? Type2964 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsEnvironments? Type2964 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoOwner? Type2965 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsIssues? Type2965 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoPermissions? Type2966 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsKeys? Type2966 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoSquashMergeCommitMessage? Type2967 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsMembers? Type2967 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoSquashMergeCommitTitle? Type2968 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsMetadata? Type2968 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoVisibility? Type2969 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type2969 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoOwnerType? Type2970 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type2970 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadUserType? Type2971 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type2971 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestMergedByType? Type2972 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type2972 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestMilestoneCreator? Type2973 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type2973 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestMilestoneState? Type2974 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type2974 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestMilestoneCreatorType? Type2975 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type2975 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestUserType? Type2976 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type2976 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneesType? Type2977 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsPackages? Type2977 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParent? Type2978 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsPages? Type2978 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsPrivacy? Type2979 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsPullRequests? Type2979 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamsParentPrivacy? Type2980 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type2980 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEditedAction? Type2981 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type2981 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEditedChanges? Type2982 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type2982 { get; set; } /// /// /// - public global::System.AllOf? Type2983 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecrets? Type2983 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEditedChangesBase? Type2984 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecurityEvents? Type2984 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEditedChangesBody? Type2985 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type2985 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEditedChangesTitle? Type2986 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsSingleFile? Type2986 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEditedChangesBaseRef? Type2987 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsStatuses? Type2987 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEditedChangesBaseSha? Type2988 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type2988 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitMessage? Type2989 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type2989 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEditedPullRequestMergeCommitTitle? Type2990 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePerformedViaGithubAppPermissionsWorkflows? Type2990 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitMessage? Type2991 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssuePullRequest? Type2991 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEditedPullRequestSquashMergeCommitTitle? Type2992 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueReactions? Type2992 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedAction? Type2993 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueState? Type2993 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequest? Type2994 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueUser? Type2994 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinks? Type2995 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldIssueUserType? Type2995 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestActiveLockReason? Type2996 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldRepository? Type2996 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestAssignee? Type2997 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldRepositoryCustomProperties? Type2997 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2998 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldRepositoryLicense? Type2998 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestAuthorAssociation? Type2999 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldRepositoryOwner? Type2999 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestAutoMerge? Type3000 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldRepositoryOwnerType? Type3000 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestBase? Type3001 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldRepositoryPermissions? Type3001 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestHead? Type3002 { get; set; } + public global::GitHub.WebhookIssuesOpenedChangesOldRepositoryVisibility? Type3002 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3003 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssue? Type3003 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestMergedBy? Type3004 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueActiveLockReason? Type3004 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestMilestone? Type3005 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueAssignee? Type3005 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3006 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueAssigneeType? Type3006 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3007 { get; set; } + public global::System.Collections.Generic.IList? Type3007 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestState? Type3008 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueAssignee2? Type3008 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestUser? Type3009 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueAssigneeType2? Type3009 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksComments? Type3010 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueAuthorAssociation? Type3010 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksCommits? Type3011 { get; set; } + public global::System.Collections.Generic.IList? Type3011 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksHtml? Type3012 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueLabel? Type3012 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksIssue? Type3013 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueMilestone? Type3013 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksReviewComment? Type3014 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueMilestoneCreator? Type3014 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksReviewComments? Type3015 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueMilestoneCreatorType? Type3015 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksSelf? Type3016 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueMilestoneState? Type3016 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksStatuses? Type3017 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubApp? Type3017 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType? Type3018 { get; set; } + public global::System.Collections.Generic.IList? Type3018 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestAutoMergeEnabledBy? Type3019 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppEvent? Type3019 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestAutoMergeMergeMethod? Type3020 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppOwner? Type3020 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestAutoMergeEnabledByType? Type3021 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppOwnerType? Type3021 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepo? Type3022 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissions? Type3022 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseUser? Type3023 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsActions? Type3023 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoLicense? Type3024 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsAdministration? Type3024 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoMergeCommitMessage? Type3025 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsChecks? Type3025 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoMergeCommitTitle? Type3026 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsContentReferences? Type3026 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoOwner? Type3027 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsContents? Type3027 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoPermissions? Type3028 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsDeployments? Type3028 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoSquashMergeCommitMessage? Type3029 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsDiscussions? Type3029 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoSquashMergeCommitTitle? Type3030 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsEmails? Type3030 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoVisibility? Type3031 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsEnvironments? Type3031 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoOwnerType? Type3032 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsIssues? Type3032 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseUserType? Type3033 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsKeys? Type3033 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepo? Type3034 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsMembers? Type3034 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadUser? Type3035 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsMetadata? Type3035 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoLicense? Type3036 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type3036 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoMergeCommitMessage? Type3037 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type3037 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoMergeCommitTitle? Type3038 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type3038 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoOwner? Type3039 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type3039 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoPermissions? Type3040 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type3040 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoSquashMergeCommitMessage? Type3041 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type3041 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoSquashMergeCommitTitle? Type3042 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type3042 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoVisibility? Type3043 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type3043 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoOwnerType? Type3044 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsPackages? Type3044 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadUserType? Type3045 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsPages? Type3045 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestMergedByType? Type3046 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsPullRequests? Type3046 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestMilestoneCreator? Type3047 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type3047 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestMilestoneState? Type3048 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type3048 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestMilestoneCreatorType? Type3049 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type3049 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestUserType? Type3050 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecrets? Type3050 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneesType? Type3051 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type3051 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParent? Type3052 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type3052 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsPrivacy? Type3053 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsSingleFile? Type3053 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamsParentPrivacy? Type3054 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsStatuses? Type3054 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledAction? Type3055 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type3055 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequest? Type3056 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type3056 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestLinks? Type3057 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePerformedViaGithubAppPermissionsWorkflows? Type3057 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestActiveLockReason? Type3058 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssuePullRequest? Type3058 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestAssignee? Type3059 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueReactions? Type3059 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3060 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueState? Type3060 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestAuthorAssociation? Type3061 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueUser? Type3061 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestAutoMerge? Type3062 { get; set; } + public global::GitHub.WebhookIssuesOpenedIssueUserType? Type3062 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestBase? Type3063 { get; set; } + public global::GitHub.WebhookIssuesPinned? Type3063 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestHead? Type3064 { get; set; } + public global::GitHub.WebhookIssuesPinnedAction? Type3064 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3065 { get; set; } + public global::GitHub.WebhookIssuesReopened? Type3065 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestMergedBy? Type3066 { get; set; } + public global::GitHub.WebhookIssuesReopenedAction? Type3066 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestMilestone? Type3067 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssue? Type3067 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3068 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueActiveLockReason? Type3068 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3069 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueAssignee? Type3069 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestState? Type3070 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueAssigneeType? Type3070 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestUser? Type3071 { get; set; } + public global::System.Collections.Generic.IList? Type3071 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestLinksComments? Type3072 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueAssignee2? Type3072 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestLinksCommits? Type3073 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueAssigneeType2? Type3073 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestLinksHtml? Type3074 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueAuthorAssociation? Type3074 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestLinksIssue? Type3075 { get; set; } + public global::System.Collections.Generic.IList? Type3075 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestLinksReviewComment? Type3076 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueLabel? Type3076 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestLinksReviewComments? Type3077 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueMilestone? Type3077 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestLinksSelf? Type3078 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueMilestoneCreator? Type3078 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestLinksStatuses? Type3079 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueMilestoneCreatorType? Type3079 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType? Type3080 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueMilestoneState? Type3080 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestAutoMergeEnabledBy? Type3081 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubApp? Type3081 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestAutoMergeMergeMethod? Type3082 { get; set; } + public global::System.Collections.Generic.IList? Type3082 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestAutoMergeEnabledByType? Type3083 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppEvent? Type3083 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepo? Type3084 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppOwner? Type3084 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestBaseUser? Type3085 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppOwnerType? Type3085 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoLicense? Type3086 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissions? Type3086 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoMergeCommitMessage? Type3087 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsActions? Type3087 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoMergeCommitTitle? Type3088 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsAdministration? Type3088 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoOwner? Type3089 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsChecks? Type3089 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoPermissions? Type3090 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsContentReferences? Type3090 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoSquashMergeCommitMessage? Type3091 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsContents? Type3091 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoSquashMergeCommitTitle? Type3092 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsDeployments? Type3092 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoVisibility? Type3093 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsDiscussions? Type3093 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoOwnerType? Type3094 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsEmails? Type3094 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestBaseUserType? Type3095 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsEnvironments? Type3095 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepo? Type3096 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsIssues? Type3096 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestHeadUser? Type3097 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsKeys? Type3097 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoLicense? Type3098 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsMembers? Type3098 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoMergeCommitMessage? Type3099 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsMetadata? Type3099 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoMergeCommitTitle? Type3100 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type3100 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoOwner? Type3101 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type3101 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoPermissions? Type3102 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type3102 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoSquashMergeCommitMessage? Type3103 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type3103 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoSquashMergeCommitTitle? Type3104 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type3104 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoVisibility? Type3105 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type3105 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoOwnerType? Type3106 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type3106 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestHeadUserType? Type3107 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type3107 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestMergedByType? Type3108 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsPackages? Type3108 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestMilestoneCreator? Type3109 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsPages? Type3109 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestMilestoneState? Type3110 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsPullRequests? Type3110 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestMilestoneCreatorType? Type3111 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type3111 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestUserType? Type3112 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type3112 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestAssigneesType? Type3113 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type3113 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParent? Type3114 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecrets? Type3114 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsPrivacy? Type3115 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type3115 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamsParentPrivacy? Type3116 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type3116 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedAction? Type3117 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsSingleFile? Type3117 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequest? Type3118 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsStatuses? Type3118 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestLinks? Type3119 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type3119 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestActiveLockReason? Type3120 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type3120 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestAssignee? Type3121 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePerformedViaGithubAppPermissionsWorkflows? Type3121 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3122 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssuePullRequest? Type3122 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestAuthorAssociation? Type3123 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueReactions? Type3123 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestAutoMerge? Type3124 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueState? Type3124 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestBase? Type3125 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueUser? Type3125 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestHead? Type3126 { get; set; } + public global::GitHub.WebhookIssuesReopenedIssueUserType? Type3126 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3127 { get; set; } + public global::GitHub.WebhookIssuesTransferred? Type3127 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestMergedBy? Type3128 { get; set; } + public global::GitHub.WebhookIssuesTransferredAction? Type3128 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestMilestone? Type3129 { get; set; } + public global::GitHub.WebhookIssuesTransferredChanges? Type3129 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3130 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssue? Type3130 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3131 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueActiveLockReason? Type3131 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestState? Type3132 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueAssignee? Type3132 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestUser? Type3133 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType? Type3133 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestLinksComments? Type3134 { get; set; } + public global::System.Collections.Generic.IList? Type3134 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestLinksCommits? Type3135 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueAssignee2? Type3135 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestLinksHtml? Type3136 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueAssigneeType2? Type3136 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestLinksIssue? Type3137 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueAuthorAssociation? Type3137 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestLinksReviewComment? Type3138 { get; set; } + public global::System.Collections.Generic.IList? Type3138 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestLinksReviewComments? Type3139 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueLabel? Type3139 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestLinksSelf? Type3140 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueMilestone? Type3140 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestLinksStatuses? Type3141 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueMilestoneCreator? Type3141 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType? Type3142 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueMilestoneCreatorType? Type3142 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestAutoMergeEnabledBy? Type3143 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueMilestoneState? Type3143 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestAutoMergeMergeMethod? Type3144 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubApp? Type3144 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestAutoMergeEnabledByType? Type3145 { get; set; } + public global::System.Collections.Generic.IList? Type3145 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepo? Type3146 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppEvent? Type3146 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestBaseUser? Type3147 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppOwner? Type3147 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoLicense? Type3148 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppOwnerType? Type3148 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoMergeCommitMessage? Type3149 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissions? Type3149 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoMergeCommitTitle? Type3150 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsActions? Type3150 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoOwner? Type3151 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsAdministration? Type3151 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoPermissions? Type3152 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsChecks? Type3152 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoSquashMergeCommitMessage? Type3153 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsContentReferences? Type3153 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoSquashMergeCommitTitle? Type3154 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsContents? Type3154 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoVisibility? Type3155 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsDeployments? Type3155 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoOwnerType? Type3156 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsDiscussions? Type3156 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestBaseUserType? Type3157 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsEmails? Type3157 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepo? Type3158 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsEnvironments? Type3158 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestHeadUser? Type3159 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsIssues? Type3159 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoLicense? Type3160 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsKeys? Type3160 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoMergeCommitMessage? Type3161 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsMembers? Type3161 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoMergeCommitTitle? Type3162 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsMetadata? Type3162 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoOwner? Type3163 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type3163 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoPermissions? Type3164 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type3164 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoSquashMergeCommitMessage? Type3165 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type3165 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoSquashMergeCommitTitle? Type3166 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type3166 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoVisibility? Type3167 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type3167 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoOwnerType? Type3168 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type3168 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestHeadUserType? Type3169 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type3169 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestMergedByType? Type3170 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type3170 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestMilestoneCreator? Type3171 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsPackages? Type3171 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestMilestoneState? Type3172 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsPages? Type3172 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestMilestoneCreatorType? Type3173 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsPullRequests? Type3173 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestUserType? Type3174 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type3174 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestAssigneesType? Type3175 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type3175 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParent? Type3176 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type3176 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsPrivacy? Type3177 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecrets? Type3177 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamsParentPrivacy? Type3178 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecurityEvents? Type3178 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestMilestonedAction? Type3179 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type3179 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestOpenedAction? Type3180 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsSingleFile? Type3180 { get; set; } /// /// /// - public global::System.AllOf? Type3181 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsStatuses? Type3181 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitMessage? Type3182 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type3182 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestOpenedPullRequestMergeCommitTitle? Type3183 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type3183 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitMessage? Type3184 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePerformedViaGithubAppPermissionsWorkflows? Type3184 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestOpenedPullRequestSquashMergeCommitTitle? Type3185 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssuePullRequest? Type3185 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReadyForReviewAction? Type3186 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueReactions? Type3186 { get; set; } /// /// /// - public global::System.AllOf? Type3187 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueState? Type3187 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitMessage? Type3188 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueUser? Type3188 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReadyForReviewPullRequestMergeCommitTitle? Type3189 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewIssueUserType? Type3189 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitMessage? Type3190 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewRepository? Type3190 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReadyForReviewPullRequestSquashMergeCommitTitle? Type3191 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewRepositoryCustomProperties? Type3191 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReopenedAction? Type3192 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewRepositoryLicense? Type3192 { get; set; } /// /// /// - public global::System.AllOf? Type3193 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewRepositoryOwner? Type3193 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitMessage? Type3194 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewRepositoryOwnerType? Type3194 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReopenedPullRequestMergeCommitTitle? Type3195 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewRepositoryPermissions? Type3195 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitMessage? Type3196 { get; set; } + public global::GitHub.WebhookIssuesTransferredChangesNewRepositoryVisibility? Type3196 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReopenedPullRequestSquashMergeCommitTitle? Type3197 { get; set; } + public global::GitHub.WebhookIssuesUnassigned? Type3197 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedAction? Type3198 { get; set; } + public global::GitHub.WebhookIssuesUnassignedAction? Type3198 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedComment? Type3199 { get; set; } + public global::GitHub.WebhookIssuesUnlabeled? Type3199 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequest? Type3200 { get; set; } + public global::GitHub.WebhookIssuesUnlabeledAction? Type3200 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentLinks? Type3201 { get; set; } + public global::GitHub.WebhookIssuesUnlocked? Type3201 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentAuthorAssociation? Type3202 { get; set; } + public global::GitHub.WebhookIssuesUnlockedAction? Type3202 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentReactions? Type3203 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssue? Type3203 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentSide? Type3204 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueActiveLockReason? Type3204 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentStartSide? Type3205 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueAssignee? Type3205 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentSubjectType? Type3206 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueAssigneeType? Type3206 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentUser? Type3207 { get; set; } + public global::System.Collections.Generic.IList? Type3207 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentLinksHtml? Type3208 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueAssignee2? Type3208 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentLinksPullRequest? Type3209 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueAssigneeType2? Type3209 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentLinksSelf? Type3210 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueAuthorAssociation? Type3210 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentUserType? Type3211 { get; set; } + public global::System.Collections.Generic.IList? Type3211 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinks? Type3212 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueLabel? Type3212 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestActiveLockReason? Type3213 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueMilestone? Type3213 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssignee? Type3214 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueMilestoneCreator? Type3214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3215 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueMilestoneCreatorType? Type3215 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAuthorAssociation? Type3216 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueMilestoneState? Type3216 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAutoMerge? Type3217 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubApp? Type3217 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBase? Type3218 { get; set; } + public global::System.Collections.Generic.IList? Type3218 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHead? Type3219 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppEvent? Type3219 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3220 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppOwner? Type3220 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestMilestone? Type3221 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppOwnerType? Type3221 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3222 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissions? Type3222 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3223 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsActions? Type3223 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestState? Type3224 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsAdministration? Type3224 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestUser? Type3225 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsChecks? Type3225 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksComments? Type3226 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsContentReferences? Type3226 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksCommits? Type3227 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsContents? Type3227 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksHtml? Type3228 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsDeployments? Type3228 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksIssue? Type3229 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsDiscussions? Type3229 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksReviewComment? Type3230 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsEmails? Type3230 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksReviewComments? Type3231 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsEnvironments? Type3231 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksSelf? Type3232 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsIssues? Type3232 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksStatuses? Type3233 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsKeys? Type3233 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType? Type3234 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsMembers? Type3234 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeEnabledBy? Type3235 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsMetadata? Type3235 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeMergeMethod? Type3236 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationAdministration? Type3236 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeEnabledByType? Type3237 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationHooks? Type3237 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepo? Type3238 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationPackages? Type3238 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseUser? Type3239 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationPlan? Type3239 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoLicense? Type3240 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationProjects? Type3240 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoMergeCommitMessage? Type3241 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationSecrets? Type3241 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoMergeCommitTitle? Type3242 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationSelfHostedRunners? Type3242 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoOwner? Type3243 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsOrganizationUserBlocking? Type3243 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoPermissions? Type3244 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsPackages? Type3244 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoSquashMergeCommitMessage? Type3245 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsPages? Type3245 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoSquashMergeCommitTitle? Type3246 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsPullRequests? Type3246 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoVisibility? Type3247 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsRepositoryHooks? Type3247 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoOwnerType? Type3248 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsRepositoryProjects? Type3248 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseUserType? Type3249 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecretScanningAlerts? Type3249 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepo? Type3250 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecrets? Type3250 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadUser? Type3251 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecurityEvents? Type3251 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoLicense? Type3252 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSecurityScanningAlert? Type3252 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoMergeCommitMessage? Type3253 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsSingleFile? Type3253 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoMergeCommitTitle? Type3254 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsStatuses? Type3254 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoOwner? Type3255 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsTeamDiscussions? Type3255 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoPermissions? Type3256 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsVulnerabilityAlerts? Type3256 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoSquashMergeCommitMessage? Type3257 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePerformedViaGithubAppPermissionsWorkflows? Type3257 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoSquashMergeCommitTitle? Type3258 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssuePullRequest? Type3258 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoVisibility? Type3259 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueReactions? Type3259 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoOwnerType? Type3260 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueState? Type3260 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadUserType? Type3261 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueUser? Type3261 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneCreator? Type3262 { get; set; } + public global::GitHub.WebhookIssuesUnlockedIssueUserType? Type3262 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneState? Type3263 { get; set; } + public global::GitHub.WebhookIssuesUnpinned? Type3263 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneCreatorType? Type3264 { get; set; } + public global::GitHub.WebhookIssuesUnpinnedAction? Type3264 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestUserType? Type3265 { get; set; } + public global::GitHub.WebhookLabelCreated? Type3265 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneesType? Type3266 { get; set; } + public global::GitHub.WebhookLabelCreatedAction? Type3266 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParent? Type3267 { get; set; } + public global::GitHub.WebhookLabelDeleted? Type3267 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsPrivacy? Type3268 { get; set; } + public global::GitHub.WebhookLabelDeletedAction? Type3268 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamsParentPrivacy? Type3269 { get; set; } + public global::GitHub.WebhookLabelEdited? Type3269 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedAction? Type3270 { get; set; } + public global::GitHub.WebhookLabelEditedAction? Type3270 { get; set; } /// /// /// - public global::GitHub.WebhooksReviewComment? Type3271 { get; set; } + public global::GitHub.WebhookLabelEditedChanges? Type3271 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequest? Type3272 { get; set; } + public global::GitHub.WebhookLabelEditedChangesColor? Type3272 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinks? Type3273 { get; set; } + public global::GitHub.WebhookLabelEditedChangesDescription? Type3273 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestActiveLockReason? Type3274 { get; set; } + public global::GitHub.WebhookLabelEditedChangesName? Type3274 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssignee? Type3275 { get; set; } + public global::GitHub.WebhookMarketplacePurchaseCancelled? Type3275 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3276 { get; set; } + public global::GitHub.WebhookMarketplacePurchaseCancelledAction? Type3276 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAuthorAssociation? Type3277 { get; set; } + public global::GitHub.WebhookMarketplacePurchaseChanged? Type3277 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAutoMerge? Type3278 { get; set; } + public global::GitHub.WebhookMarketplacePurchaseChangedAction? Type3278 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBase? Type3279 { get; set; } + public global::GitHub.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchase? Type3279 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHead? Type3280 { get; set; } + public global::GitHub.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchaseAccount? Type3280 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3281 { get; set; } + public global::GitHub.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchasePlan? Type3281 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestMilestone? Type3282 { get; set; } + public global::GitHub.WebhookMarketplacePurchaseChangedPreviousMarketplacePurchasePlanPriceModel? Type3282 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3283 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePendingChange? Type3283 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3284 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePendingChangeAction? Type3284 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestState? Type3285 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchase? Type3285 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestUser? Type3286 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchaseAccount? Type3286 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksComments? Type3287 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchasePlan? Type3287 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksCommits? Type3288 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePendingChangePreviousMarketplacePurchasePlanPriceModel? Type3288 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksHtml? Type3289 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePendingChangeCancelled? Type3289 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksIssue? Type3290 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePendingChangeCancelledAction? Type3290 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksReviewComment? Type3291 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchase? Type3291 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksReviewComments? Type3292 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchaseAccount? Type3292 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksSelf? Type3293 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchaseFreeTrialEndsOn? Type3293 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksStatuses? Type3294 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchasePlan? Type3294 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType? Type3295 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePendingChangeCancelledMarketplacePurchasePlanPriceModel? Type3295 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeEnabledBy? Type3296 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePurchased? Type3296 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeMergeMethod? Type3297 { get; set; } + public global::GitHub.WebhookMarketplacePurchasePurchasedAction? Type3297 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeEnabledByType? Type3298 { get; set; } + public global::GitHub.WebhookMemberAdded? Type3298 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepo? Type3299 { get; set; } + public global::GitHub.WebhookMemberAddedAction? Type3299 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseUser? Type3300 { get; set; } + public global::GitHub.WebhookMemberAddedChanges? Type3300 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoLicense? Type3301 { get; set; } + public global::GitHub.WebhookMemberAddedChangesPermission? Type3301 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoMergeCommitMessage? Type3302 { get; set; } + public global::GitHub.WebhookMemberAddedChangesPermissionTo? Type3302 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoMergeCommitTitle? Type3303 { get; set; } + public global::GitHub.WebhookMemberAddedChangesRoleName? Type3303 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoOwner? Type3304 { get; set; } + public global::GitHub.WebhookMemberEdited? Type3304 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoPermissions? Type3305 { get; set; } + public global::GitHub.WebhookMemberEditedAction? Type3305 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoSquashMergeCommitMessage? Type3306 { get; set; } + public global::GitHub.WebhookMemberEditedChanges? Type3306 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoSquashMergeCommitTitle? Type3307 { get; set; } + public global::GitHub.WebhookMemberEditedChangesOldPermission? Type3307 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoVisibility? Type3308 { get; set; } + public global::GitHub.WebhookMemberEditedChangesPermission? Type3308 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoOwnerType? Type3309 { get; set; } + public global::GitHub.WebhookMemberRemoved? Type3309 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseUserType? Type3310 { get; set; } + public global::GitHub.WebhookMemberRemovedAction? Type3310 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepo? Type3311 { get; set; } + public global::GitHub.WebhookMembershipAdded? Type3311 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadUser? Type3312 { get; set; } + public global::GitHub.WebhookMembershipAddedAction? Type3312 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoLicense? Type3313 { get; set; } + public global::GitHub.WebhookMembershipAddedScope? Type3313 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoMergeCommitMessage? Type3314 { get; set; } + public global::GitHub.WebhookMembershipAddedSender? Type3314 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoMergeCommitTitle? Type3315 { get; set; } + public global::GitHub.WebhookMembershipAddedSenderType? Type3315 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoOwner? Type3316 { get; set; } + public global::GitHub.WebhookMembershipRemoved? Type3316 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoPermissions? Type3317 { get; set; } + public global::GitHub.WebhookMembershipRemovedAction? Type3317 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoSquashMergeCommitMessage? Type3318 { get; set; } + public global::GitHub.WebhookMembershipRemovedScope? Type3318 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoSquashMergeCommitTitle? Type3319 { get; set; } + public global::GitHub.WebhookMembershipRemovedSender? Type3319 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoVisibility? Type3320 { get; set; } + public global::GitHub.WebhookMembershipRemovedSenderType? Type3320 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoOwnerType? Type3321 { get; set; } + public global::GitHub.WebhookMergeGroupChecksRequested? Type3321 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadUserType? Type3322 { get; set; } + public global::GitHub.WebhookMergeGroupChecksRequestedAction? Type3322 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneCreator? Type3323 { get; set; } + public global::GitHub.WebhookMergeGroupDestroyed? Type3323 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneState? Type3324 { get; set; } + public global::GitHub.WebhookMergeGroupDestroyedAction? Type3324 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneCreatorType? Type3325 { get; set; } + public global::GitHub.WebhookMergeGroupDestroyedReason? Type3325 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestUserType? Type3326 { get; set; } + public global::GitHub.WebhookMetaDeleted? Type3326 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneesType? Type3327 { get; set; } + public global::GitHub.WebhookMetaDeletedAction? Type3327 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParent? Type3328 { get; set; } + public global::GitHub.WebhookMetaDeletedHook? Type3328 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsPrivacy? Type3329 { get; set; } + public global::GitHub.WebhookMetaDeletedHookConfig? Type3329 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamsParentPrivacy? Type3330 { get; set; } + public global::GitHub.WebhookMetaDeletedHookConfigContentType? Type3330 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedAction? Type3331 { get; set; } + public global::System.Collections.Generic.IList? Type3331 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequest? Type3332 { get; set; } + public global::GitHub.WebhookMetaDeletedHookEvent? Type3332 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinks? Type3333 { get; set; } + public global::GitHub.WebhookMilestoneClosed? Type3333 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestActiveLockReason? Type3334 { get; set; } + public global::GitHub.WebhookMilestoneClosedAction? Type3334 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssignee? Type3335 { get; set; } + public global::GitHub.WebhookMilestoneCreated? Type3335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3336 { get; set; } + public global::GitHub.WebhookMilestoneCreatedAction? Type3336 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAuthorAssociation? Type3337 { get; set; } + public global::GitHub.WebhookMilestoneDeleted? Type3337 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAutoMerge? Type3338 { get; set; } + public global::GitHub.WebhookMilestoneDeletedAction? Type3338 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBase? Type3339 { get; set; } + public global::GitHub.WebhookMilestoneEdited? Type3339 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHead? Type3340 { get; set; } + public global::GitHub.WebhookMilestoneEditedAction? Type3340 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3341 { get; set; } + public global::GitHub.WebhookMilestoneEditedChanges? Type3341 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestMilestone? Type3342 { get; set; } + public global::GitHub.WebhookMilestoneEditedChangesDescription? Type3342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3343 { get; set; } + public global::GitHub.WebhookMilestoneEditedChangesDueOn? Type3343 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3344 { get; set; } + public global::GitHub.WebhookMilestoneEditedChangesTitle? Type3344 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestState? Type3345 { get; set; } + public global::GitHub.WebhookMilestoneOpened? Type3345 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestUser? Type3346 { get; set; } + public global::GitHub.WebhookMilestoneOpenedAction? Type3346 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksComments? Type3347 { get; set; } + public global::GitHub.WebhookOrgBlockBlocked? Type3347 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksCommits? Type3348 { get; set; } + public global::GitHub.WebhookOrgBlockBlockedAction? Type3348 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksHtml? Type3349 { get; set; } + public global::GitHub.WebhookOrgBlockUnblocked? Type3349 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksIssue? Type3350 { get; set; } + public global::GitHub.WebhookOrgBlockUnblockedAction? Type3350 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksReviewComment? Type3351 { get; set; } + public global::GitHub.WebhookOrganizationDeleted? Type3351 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksReviewComments? Type3352 { get; set; } + public global::GitHub.WebhookOrganizationDeletedAction? Type3352 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksSelf? Type3353 { get; set; } + public global::GitHub.WebhookOrganizationMemberAdded? Type3353 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksStatuses? Type3354 { get; set; } + public global::GitHub.WebhookOrganizationMemberAddedAction? Type3354 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType? Type3355 { get; set; } + public global::GitHub.WebhookOrganizationMemberInvited? Type3355 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeEnabledBy? Type3356 { get; set; } + public global::GitHub.WebhookOrganizationMemberInvitedAction? Type3356 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeMergeMethod? Type3357 { get; set; } + public global::GitHub.WebhookOrganizationMemberInvitedInvitation? Type3357 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeEnabledByType? Type3358 { get; set; } + public global::GitHub.WebhookOrganizationMemberInvitedInvitationInviter? Type3358 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepo? Type3359 { get; set; } + public global::GitHub.WebhookOrganizationMemberInvitedInvitationInviterType? Type3359 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseUser? Type3360 { get; set; } + public global::GitHub.WebhookOrganizationMemberRemoved? Type3360 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoLicense? Type3361 { get; set; } + public global::GitHub.WebhookOrganizationMemberRemovedAction? Type3361 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoMergeCommitMessage? Type3362 { get; set; } + public global::GitHub.WebhookOrganizationRenamed? Type3362 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoMergeCommitTitle? Type3363 { get; set; } + public global::GitHub.WebhookOrganizationRenamedAction? Type3363 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoOwner? Type3364 { get; set; } + public global::GitHub.WebhookOrganizationRenamedChanges? Type3364 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoPermissions? Type3365 { get; set; } + public global::GitHub.WebhookOrganizationRenamedChangesLogin? Type3365 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoSquashMergeCommitMessage? Type3366 { get; set; } + public global::GitHub.WebhookRubygemsMetadata? Type3366 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoSquashMergeCommitTitle? Type3367 { get; set; } + public global::GitHub.WebhookRubygemsMetadataVersionInfo? Type3367 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoVisibility? Type3368 { get; set; } + public global::GitHub.WebhookRubygemsMetadataMetadata? Type3368 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoOwnerType? Type3369 { get; set; } + public global::System.Collections.Generic.IList? Type3369 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseUserType? Type3370 { get; set; } + public global::GitHub.WebhookRubygemsMetadataDependencie? Type3370 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepo? Type3371 { get; set; } + public global::GitHub.WebhookPackagePublished? Type3371 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadUser? Type3372 { get; set; } + public global::GitHub.WebhookPackagePublishedAction? Type3372 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoLicense? Type3373 { get; set; } + public global::GitHub.WebhookPackagePublishedPackage? Type3373 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoMergeCommitMessage? Type3374 { get; set; } + public global::GitHub.WebhookPackagePublishedPackageOwner? Type3374 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoMergeCommitTitle? Type3375 { get; set; } + public global::GitHub.WebhookPackagePublishedPackageOwnerType? Type3375 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoOwner? Type3376 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersion? Type3376 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoPermissions? Type3377 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionAuthor? Type3377 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoSquashMergeCommitMessage? Type3378 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionAuthorType? Type3378 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoSquashMergeCommitTitle? Type3379 { get; set; } + public global::System.OneOf? Type3379 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoVisibility? Type3380 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionBody? Type3380 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoOwnerType? Type3381 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionContainerMetadata? Type3381 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadUserType? Type3382 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionContainerMetadataLabels? Type3382 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestMilestoneCreator? Type3383 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionContainerMetadataManifest? Type3383 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestMilestoneState? Type3384 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionContainerMetadataTag? Type3384 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestMilestoneCreatorType? Type3385 { get; set; } + public global::System.Collections.Generic.IList? Type3385 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestUserType? Type3386 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionDockerMetadataItem? Type3386 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneesType? Type3387 { get; set; } + public global::System.Collections.Generic.IList? Type3387 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParent? Type3388 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionMetadataItem? Type3388 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsPrivacy? Type3389 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadata? Type3389 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamsParentPrivacy? Type3390 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataAuthor? Type3390 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedAction? Type3391 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataBugs? Type3391 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequest? Type3392 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataDependencies? Type3392 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedReview? Type3393 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataDevDependencies? Type3393 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinks? Type3394 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataPeerDependencies? Type3394 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestActiveLockReason? Type3395 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataOptionalDependencies? Type3395 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssignee? Type3396 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataDist? Type3396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3397 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataRepository? Type3397 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAuthorAssociation? Type3398 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataScripts? Type3398 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAutoMerge? Type3399 { get; set; } + public global::System.Collections.Generic.IList? Type3399 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBase? Type3400 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataMaintainer? Type3400 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHead? Type3401 { get; set; } + public global::System.Collections.Generic.IList? Type3401 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3402 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataContributor? Type3402 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestMilestone? Type3403 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataEngines? Type3403 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3404 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataBin? Type3404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3405 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataMan? Type3405 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestState? Type3406 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNpmMetadataDirectories? Type3406 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestUser? Type3407 { get; set; } + public global::System.Collections.Generic.IList? Type3407 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksComments? Type3408 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNugetMetadataItem? Type3408 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksCommits? Type3409 { get; set; } + public global::System.OneOf? Type3409 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksHtml? Type3410 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionNugetMetadataItemValue? Type3410 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksIssue? Type3411 { get; set; } + public global::System.Collections.Generic.IList? Type3411 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksReviewComment? Type3412 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionPackageFile? Type3412 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksReviewComments? Type3413 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionRelease? Type3413 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksSelf? Type3414 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionReleaseAuthor? Type3414 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksStatuses? Type3415 { get; set; } + public global::GitHub.WebhookPackagePublishedPackagePackageVersionReleaseAuthorType? Type3415 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType? Type3416 { get; set; } + public global::System.Collections.Generic.IList? Type3416 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAutoMergeEnabledBy? Type3417 { get; set; } + public global::GitHub.WebhookPackagePublishedPackageRegistry? Type3417 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAutoMergeMergeMethod? Type3418 { get; set; } + public global::GitHub.WebhookPackageUpdated? Type3418 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAutoMergeEnabledByType? Type3419 { get; set; } + public global::GitHub.WebhookPackageUpdatedAction? Type3419 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepo? Type3420 { get; set; } + public global::GitHub.WebhookPackageUpdatedPackage? Type3420 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseUser? Type3421 { get; set; } + public global::GitHub.WebhookPackageUpdatedPackageOwner? Type3421 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoLicense? Type3422 { get; set; } + public global::GitHub.WebhookPackageUpdatedPackageOwnerType? Type3422 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoMergeCommitMessage? Type3423 { get; set; } + public global::GitHub.WebhookPackageUpdatedPackagePackageVersion? Type3423 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoMergeCommitTitle? Type3424 { get; set; } + public global::GitHub.WebhookPackageUpdatedPackagePackageVersionAuthor? Type3424 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoOwner? Type3425 { get; set; } + public global::GitHub.WebhookPackageUpdatedPackagePackageVersionAuthorType? Type3425 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoPermissions? Type3426 { get; set; } + public global::System.Collections.Generic.IList? Type3426 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoSquashMergeCommitMessage? Type3427 { get; set; } + public global::GitHub.WebhookPackageUpdatedPackagePackageVersionDockerMetadataItem? Type3427 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoSquashMergeCommitTitle? Type3428 { get; set; } + public global::System.Collections.Generic.IList? Type3428 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoVisibility? Type3429 { get; set; } + public global::GitHub.WebhookPackageUpdatedPackagePackageVersionMetadataItem? Type3429 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoOwnerType? Type3430 { get; set; } + public global::System.Collections.Generic.IList? Type3430 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseUserType? Type3431 { get; set; } + public global::GitHub.WebhookPackageUpdatedPackagePackageVersionPackageFile? Type3431 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepo? Type3432 { get; set; } + public global::GitHub.WebhookPackageUpdatedPackagePackageVersionRelease? Type3432 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadUser? Type3433 { get; set; } + public global::GitHub.WebhookPackageUpdatedPackagePackageVersionReleaseAuthor? Type3433 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoLicense? Type3434 { get; set; } + public global::GitHub.WebhookPackageUpdatedPackagePackageVersionReleaseAuthorType? Type3434 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoMergeCommitMessage? Type3435 { get; set; } + public global::GitHub.WebhookPackageUpdatedPackageRegistry? Type3435 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoMergeCommitTitle? Type3436 { get; set; } + public global::GitHub.WebhookPageBuild? Type3436 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoOwner? Type3437 { get; set; } + public global::GitHub.WebhookPageBuildBuild? Type3437 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoPermissions? Type3438 { get; set; } + public global::GitHub.WebhookPageBuildBuildError? Type3438 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoSquashMergeCommitMessage? Type3439 { get; set; } + public global::GitHub.WebhookPageBuildBuildPusher? Type3439 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoSquashMergeCommitTitle? Type3440 { get; set; } + public global::GitHub.WebhookPageBuildBuildPusherType? Type3440 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoVisibility? Type3441 { get; set; } + public global::GitHub.WebhookPersonalAccessTokenRequestApproved? Type3441 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoOwnerType? Type3442 { get; set; } + public global::GitHub.WebhookPersonalAccessTokenRequestApprovedAction? Type3442 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadUserType? Type3443 { get; set; } + public global::GitHub.WebhookPersonalAccessTokenRequestCancelled? Type3443 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestMilestoneCreator? Type3444 { get; set; } + public global::GitHub.WebhookPersonalAccessTokenRequestCancelledAction? Type3444 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestMilestoneState? Type3445 { get; set; } + public global::GitHub.WebhookPersonalAccessTokenRequestCreated? Type3445 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestMilestoneCreatorType? Type3446 { get; set; } + public global::GitHub.WebhookPersonalAccessTokenRequestCreatedAction? Type3446 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestUserType? Type3447 { get; set; } + public global::GitHub.WebhookPersonalAccessTokenRequestDenied? Type3447 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneesType? Type3448 { get; set; } + public global::GitHub.WebhookPersonalAccessTokenRequestDeniedAction? Type3448 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParent? Type3449 { get; set; } + public global::GitHub.WebhookPing? Type3449 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsPrivacy? Type3450 { get; set; } + public global::GitHub.WebhookPingHook? Type3450 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamsParentPrivacy? Type3451 { get; set; } + public global::GitHub.WebhookPingHookConfig? Type3451 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedReviewLinks? Type3452 { get; set; } + public global::GitHub.WebhookPingHookName? Type3452 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedReviewAuthorAssociation? Type3453 { get; set; } + public global::GitHub.WebhookPingFormEncoded? Type3453 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedReviewState? Type3454 { get; set; } + public global::GitHub.WebhookProjectCardConverted? Type3454 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedReviewUser? Type3455 { get; set; } + public global::GitHub.WebhookProjectCardConvertedAction? Type3455 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedReviewLinksHtml? Type3456 { get; set; } + public global::GitHub.WebhookProjectCardConvertedChanges? Type3456 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedReviewLinksPullRequest? Type3457 { get; set; } + public global::GitHub.WebhookProjectCardConvertedChangesNote? Type3457 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewDismissedReviewUserType? Type3458 { get; set; } + public global::GitHub.WebhookProjectCardCreated? Type3458 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedAction? Type3459 { get; set; } + public global::GitHub.WebhookProjectCardCreatedAction? Type3459 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedChanges? Type3460 { get; set; } + public global::GitHub.WebhookProjectCardDeleted? Type3460 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequest? Type3461 { get; set; } + public global::GitHub.WebhookProjectCardDeletedAction? Type3461 { get; set; } /// /// /// - public global::GitHub.WebhooksReview? Type3462 { get; set; } + public global::GitHub.WebhookProjectCardDeletedProjectCard? Type3462 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedChangesBody? Type3463 { get; set; } + public global::GitHub.WebhookProjectCardDeletedProjectCardCreator? Type3463 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinks? Type3464 { get; set; } + public global::GitHub.WebhookProjectCardDeletedProjectCardCreatorType? Type3464 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestActiveLockReason? Type3465 { get; set; } + public global::GitHub.WebhookProjectCardEdited? Type3465 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestAssignee? Type3466 { get; set; } + public global::GitHub.WebhookProjectCardEditedAction? Type3466 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3467 { get; set; } + public global::GitHub.WebhookProjectCardEditedChanges? Type3467 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestAuthorAssociation? Type3468 { get; set; } + public global::GitHub.WebhookProjectCardEditedChangesNote? Type3468 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestAutoMerge? Type3469 { get; set; } + public global::GitHub.WebhookProjectCardMoved? Type3469 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestBase? Type3470 { get; set; } + public global::GitHub.WebhookProjectCardMovedAction? Type3470 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestHead? Type3471 { get; set; } + public global::GitHub.WebhookProjectCardMovedChanges? Type3471 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3472 { get; set; } + public global::GitHub.WebhookProjectCardMovedChangesColumnId? Type3472 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestMilestone? Type3473 { get; set; } + public global::System.AllOf? Type3473 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3474 { get; set; } + public global::GitHub.WebhookProjectCardMovedProjectCardVariant1? Type3474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3475 { get; set; } + public global::GitHub.WebhookProjectCardMovedProjectCardVariant1Creator? Type3475 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestState? Type3476 { get; set; } + public global::GitHub.WebhookProjectCardMovedProjectCardVariant1CreatorType? Type3476 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestUser? Type3477 { get; set; } + public global::GitHub.WebhookProjectCardMovedProjectCardVariant2? Type3477 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksComments? Type3478 { get; set; } + public global::GitHub.WebhookProjectCardMovedProjectCardVariant2Creator? Type3478 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksCommits? Type3479 { get; set; } + public global::GitHub.WebhookProjectClosed? Type3479 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksHtml? Type3480 { get; set; } + public global::GitHub.WebhookProjectClosedAction? Type3480 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksIssue? Type3481 { get; set; } + public global::GitHub.WebhookProjectColumnCreated? Type3481 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksReviewComment? Type3482 { get; set; } + public global::GitHub.WebhookProjectColumnCreatedAction? Type3482 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksReviewComments? Type3483 { get; set; } + public global::GitHub.WebhookProjectColumnDeleted? Type3483 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksSelf? Type3484 { get; set; } + public global::GitHub.WebhookProjectColumnDeletedAction? Type3484 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksStatuses? Type3485 { get; set; } + public global::GitHub.WebhookProjectColumnEdited? Type3485 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType? Type3486 { get; set; } + public global::GitHub.WebhookProjectColumnEditedAction? Type3486 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestAutoMergeEnabledBy? Type3487 { get; set; } + public global::GitHub.WebhookProjectColumnEditedChanges? Type3487 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestAutoMergeMergeMethod? Type3488 { get; set; } + public global::GitHub.WebhookProjectColumnEditedChangesName? Type3488 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestAutoMergeEnabledByType? Type3489 { get; set; } + public global::GitHub.WebhookProjectColumnMoved? Type3489 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseRepo? Type3490 { get; set; } + public global::GitHub.WebhookProjectColumnMovedAction? Type3490 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseUser? Type3491 { get; set; } + public global::GitHub.WebhookProjectCreated? Type3491 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseRepoLicense? Type3492 { get; set; } + public global::GitHub.WebhookProjectCreatedAction? Type3492 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseRepoOwner? Type3493 { get; set; } + public global::GitHub.WebhookProjectDeleted? Type3493 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseRepoPermissions? Type3494 { get; set; } + public global::GitHub.WebhookProjectDeletedAction? Type3494 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseRepoVisibility? Type3495 { get; set; } + public global::GitHub.WebhookProjectEdited? Type3495 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseRepoOwnerType? Type3496 { get; set; } + public global::GitHub.WebhookProjectEditedAction? Type3496 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseUserType? Type3497 { get; set; } + public global::GitHub.WebhookProjectEditedChanges? Type3497 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadRepo? Type3498 { get; set; } + public global::GitHub.WebhookProjectEditedChangesBody? Type3498 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadUser? Type3499 { get; set; } + public global::GitHub.WebhookProjectEditedChangesName? Type3499 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadRepoLicense? Type3500 { get; set; } + public global::GitHub.WebhookProjectReopened? Type3500 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadRepoOwner? Type3501 { get; set; } + public global::GitHub.WebhookProjectReopenedAction? Type3501 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadRepoPermissions? Type3502 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectClosed? Type3502 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadRepoVisibility? Type3503 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectClosedAction? Type3503 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadRepoOwnerType? Type3504 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectCreated? Type3504 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadUserType? Type3505 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectCreatedAction? Type3505 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestMilestoneCreator? Type3506 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectDeleted? Type3506 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestMilestoneState? Type3507 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectDeletedAction? Type3507 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestMilestoneCreatorType? Type3508 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectEdited? Type3508 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestUserType? Type3509 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectEditedAction? Type3509 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneesType? Type3510 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectEditedChanges? Type3510 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParent? Type3511 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectEditedChangesDescription? Type3511 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsPrivacy? Type3512 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectEditedChangesPublic? Type3512 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamsParentPrivacy? Type3513 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectEditedChangesShortDescription? Type3513 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1Action? Type3514 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectEditedChangesTitle? Type3514 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequest? Type3515 { get; set; } + public global::GitHub.WebhookProjectsV2ItemArchived? Type3515 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewer? Type3516 { get; set; } + public global::GitHub.WebhookProjectsV2ItemArchivedAction? Type3516 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinks? Type3517 { get; set; } + public global::GitHub.WebhookProjectsV2ItemConverted? Type3517 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestActiveLockReason? Type3518 { get; set; } + public global::GitHub.WebhookProjectsV2ItemConvertedAction? Type3518 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignee? Type3519 { get; set; } + public global::GitHub.WebhookProjectsV2ItemConvertedChanges? Type3519 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3520 { get; set; } + public global::GitHub.WebhookProjectsV2ItemConvertedChangesContentType? Type3520 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAuthorAssociation? Type3521 { get; set; } + public global::GitHub.WebhookProjectsV2ItemCreated? Type3521 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMerge? Type3522 { get; set; } + public global::GitHub.WebhookProjectsV2ItemCreatedAction? Type3522 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBase? Type3523 { get; set; } + public global::GitHub.WebhookProjectsV2ItemDeleted? Type3523 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHead? Type3524 { get; set; } + public global::GitHub.WebhookProjectsV2ItemDeletedAction? Type3524 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3525 { get; set; } + public global::GitHub.WebhookProjectsV2ItemEdited? Type3525 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMergedBy? Type3526 { get; set; } + public global::GitHub.WebhookProjectsV2ItemEditedAction? Type3526 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestone? Type3527 { get; set; } + public global::System.OneOf? Type3527 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3528 { get; set; } + public global::GitHub.WebhookProjectsV2ItemEditedChangesVariant1? Type3528 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3529 { get; set; } + public global::GitHub.WebhookProjectsV2ItemEditedChangesVariant1FieldValue? Type3529 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestState? Type3530 { get; set; } + public global::System.OneOf? Type3530 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUser? Type3531 { get; set; } + public global::GitHub.WebhookProjectsV2ItemEditedChangesVariant2? Type3531 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksComments? Type3532 { get; set; } + public global::GitHub.WebhookProjectsV2ItemEditedChangesVariant2Body? Type3532 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksCommits? Type3533 { get; set; } + public global::GitHub.WebhookProjectsV2ItemReordered? Type3533 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksHtml? Type3534 { get; set; } + public global::GitHub.WebhookProjectsV2ItemReorderedAction? Type3534 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksIssue? Type3535 { get; set; } + public global::GitHub.WebhookProjectsV2ItemReorderedChanges? Type3535 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksReviewComment? Type3536 { get; set; } + public global::GitHub.WebhookProjectsV2ItemReorderedChangesPreviousProjectsV2ItemNodeId? Type3536 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksReviewComments? Type3537 { get; set; } + public global::GitHub.WebhookProjectsV2ItemRestored? Type3537 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksSelf? Type3538 { get; set; } + public global::GitHub.WebhookProjectsV2ItemRestoredAction? Type3538 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksStatuses? Type3539 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectReopened? Type3539 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType? Type3540 { get; set; } + public global::GitHub.WebhookProjectsV2ProjectReopenedAction? Type3540 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeEnabledBy? Type3541 { get; set; } + public global::GitHub.WebhookProjectsV2StatusUpdateCreated? Type3541 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeMergeMethod? Type3542 { get; set; } + public global::GitHub.WebhookProjectsV2StatusUpdateCreatedAction? Type3542 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeEnabledByType? Type3543 { get; set; } + public global::GitHub.WebhookProjectsV2StatusUpdateDeleted? Type3543 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepo? Type3544 { get; set; } + public global::GitHub.WebhookProjectsV2StatusUpdateDeletedAction? Type3544 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUser? Type3545 { get; set; } + public global::GitHub.WebhookProjectsV2StatusUpdateEdited? Type3545 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoLicense? Type3546 { get; set; } + public global::GitHub.WebhookProjectsV2StatusUpdateEditedAction? Type3546 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoMergeCommitMessage? Type3547 { get; set; } + public global::GitHub.WebhookProjectsV2StatusUpdateEditedChanges? Type3547 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoMergeCommitTitle? Type3548 { get; set; } + public global::GitHub.WebhookProjectsV2StatusUpdateEditedChangesBody? Type3548 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoOwner? Type3549 { get; set; } + public global::GitHub.WebhookProjectsV2StatusUpdateEditedChangesStatus? Type3549 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoPermissions? Type3550 { get; set; } + public global::GitHub.WebhookProjectsV2StatusUpdateEditedChangesStatusFrom? Type3550 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoSquashMergeCommitMessage? Type3551 { get; set; } + public global::GitHub.WebhookProjectsV2StatusUpdateEditedChangesStatusTo? Type3551 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoSquashMergeCommitTitle? Type3552 { get; set; } + public global::GitHub.WebhookProjectsV2StatusUpdateEditedChangesStartDate? Type3552 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoVisibility? Type3553 { get; set; } + public global::GitHub.WebhookProjectsV2StatusUpdateEditedChangesTargetDate? Type3553 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoOwnerType? Type3554 { get; set; } + public global::GitHub.WebhookPublic? Type3554 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUserType? Type3555 { get; set; } + public global::GitHub.WebhookPullRequestAssigned? Type3555 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepo? Type3556 { get; set; } + public global::GitHub.WebhookPullRequestAssignedAction? Type3556 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUser? Type3557 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequest? Type3557 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoLicense? Type3558 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestLinks? Type3558 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoMergeCommitMessage? Type3559 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestLinksComments? Type3559 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoMergeCommitTitle? Type3560 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestLinksCommits? Type3560 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoOwner? Type3561 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestLinksHtml? Type3561 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoPermissions? Type3562 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestLinksIssue? Type3562 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoSquashMergeCommitMessage? Type3563 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestLinksReviewComment? Type3563 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoSquashMergeCommitTitle? Type3564 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestLinksReviewComments? Type3564 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoVisibility? Type3565 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestLinksSelf? Type3565 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoOwnerType? Type3566 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestLinksStatuses? Type3566 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUserType? Type3567 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestActiveLockReason? Type3567 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMergedByType? Type3568 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestAssignee? Type3568 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneCreator? Type3569 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType? Type3569 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneState? Type3570 { get; set; } + public global::System.Collections.Generic.IList? Type3570 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneCreatorType? Type3571 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestAssignee2? Type3571 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUserType? Type3572 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestAssigneeType2? Type3572 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneesType? Type3573 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestAuthorAssociation? Type3573 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParent? Type3574 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestAutoMerge? Type3574 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsPrivacy? Type3575 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestAutoMergeEnabledBy? Type3575 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamsParentPrivacy? Type3576 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestAutoMergeEnabledByType? Type3576 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewerType? Type3577 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestAutoMergeMergeMethod? Type3577 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2Action? Type3578 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestBase? Type3578 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequest? Type3579 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepo? Type3579 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeam? Type3580 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoLicense? Type3580 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinks? Type3581 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoMergeCommitMessage? Type3581 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestActiveLockReason? Type3582 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoMergeCommitTitle? Type3582 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignee? Type3583 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoOwner? Type3583 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3584 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoOwnerType? Type3584 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAuthorAssociation? Type3585 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoPermissions? Type3585 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMerge? Type3586 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoSquashMergeCommitMessage? Type3586 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBase? Type3587 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoSquashMergeCommitTitle? Type3587 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHead? Type3588 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestBaseRepoVisibility? Type3588 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3589 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestBaseUser? Type3589 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMergedBy? Type3590 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestBaseUserType? Type3590 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestone? Type3591 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestHead? Type3591 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3592 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepo? Type3592 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3593 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoLicense? Type3593 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestState? Type3594 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoMergeCommitMessage? Type3594 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUser? Type3595 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoMergeCommitTitle? Type3595 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksComments? Type3596 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoOwner? Type3596 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksCommits? Type3597 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoOwnerType? Type3597 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksHtml? Type3598 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoPermissions? Type3598 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksIssue? Type3599 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoSquashMergeCommitMessage? Type3599 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksReviewComment? Type3600 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoSquashMergeCommitTitle? Type3600 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksReviewComments? Type3601 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestHeadRepoVisibility? Type3601 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksSelf? Type3602 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestHeadUser? Type3602 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksStatuses? Type3603 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestHeadUserType? Type3603 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType? Type3604 { get; set; } + public global::System.Collections.Generic.IList? Type3604 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeEnabledBy? Type3605 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestLabel? Type3605 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeMergeMethod? Type3606 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestMergedBy? Type3606 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeEnabledByType? Type3607 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestMergedByType? Type3607 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepo? Type3608 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestMilestone? Type3608 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUser? Type3609 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestMilestoneCreator? Type3609 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoLicense? Type3610 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestMilestoneCreatorType? Type3610 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoMergeCommitMessage? Type3611 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestMilestoneState? Type3611 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoMergeCommitTitle? Type3612 { get; set; } + public global::System.Collections.Generic.IList>? Type3612 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoOwner? Type3613 { get; set; } + public global::System.OneOf? Type3613 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoPermissions? Type3614 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1? Type3614 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoSquashMergeCommitMessage? Type3615 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant1Type? Type3615 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoSquashMergeCommitTitle? Type3616 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2? Type3616 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoVisibility? Type3617 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Parent? Type3617 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoOwnerType? Type3618 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2ParentPrivacy? Type3618 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUserType? Type3619 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedReviewerVariant2Privacy? Type3619 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepo? Type3620 { get; set; } + public global::System.Collections.Generic.IList? Type3620 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUser? Type3621 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeam? Type3621 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoLicense? Type3622 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParent? Type3622 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoMergeCommitMessage? Type3623 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamParentPrivacy? Type3623 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoMergeCommitTitle? Type3624 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestRequestedTeamPrivacy? Type3624 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoOwner? Type3625 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestState? Type3625 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoPermissions? Type3626 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestUser? Type3626 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoSquashMergeCommitMessage? Type3627 { get; set; } + public global::GitHub.WebhookPullRequestAssignedPullRequestUserType? Type3627 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoSquashMergeCommitTitle? Type3628 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabled? Type3628 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoVisibility? Type3629 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledAction? Type3629 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoOwnerType? Type3630 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequest? Type3630 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUserType? Type3631 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinks? Type3631 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMergedByType? Type3632 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksComments? Type3632 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneCreator? Type3633 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksCommits? Type3633 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneState? Type3634 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksHtml? Type3634 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneCreatorType? Type3635 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksIssue? Type3635 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUserType? Type3636 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksReviewComment? Type3636 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneesType? Type3637 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksReviewComments? Type3637 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParent? Type3638 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksSelf? Type3638 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsPrivacy? Type3639 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLinksStatuses? Type3639 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamsParentPrivacy? Type3640 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestActiveLockReason? Type3640 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamParent? Type3641 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssignee? Type3641 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamPrivacy? Type3642 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType? Type3642 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamParentPrivacy? Type3643 { get; set; } + public global::System.Collections.Generic.IList? Type3643 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1Action? Type3644 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssignee2? Type3644 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequest? Type3645 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAssigneeType2? Type3645 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1RequestedReviewer? Type3646 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAuthorAssociation? Type3646 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinks? Type3647 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAutoMerge? Type3647 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestActiveLockReason? Type3648 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeEnabledBy? Type3648 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssignee? Type3649 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeEnabledByType? Type3649 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3650 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestAutoMergeMergeMethod? Type3650 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAuthorAssociation? Type3651 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBase? Type3651 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMerge? Type3652 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepo? Type3652 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBase? Type3653 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoLicense? Type3653 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHead? Type3654 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoMergeCommitMessage? Type3654 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3655 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoMergeCommitTitle? Type3655 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestMergedBy? Type3656 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoOwner? Type3656 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestMilestone? Type3657 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoOwnerType? Type3657 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3658 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoPermissions? Type3658 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3659 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoSquashMergeCommitMessage? Type3659 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestState? Type3660 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoSquashMergeCommitTitle? Type3660 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestUser? Type3661 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseRepoVisibility? Type3661 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksComments? Type3662 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseUser? Type3662 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksCommits? Type3663 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestBaseUserType? Type3663 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksHtml? Type3664 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHead? Type3664 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksIssue? Type3665 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepo? Type3665 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksReviewComment? Type3666 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoLicense? Type3666 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksReviewComments? Type3667 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoMergeCommitMessage? Type3667 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksSelf? Type3668 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoMergeCommitTitle? Type3668 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksStatuses? Type3669 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoOwner? Type3669 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType? Type3670 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoOwnerType? Type3670 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeEnabledBy? Type3671 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoPermissions? Type3671 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeMergeMethod? Type3672 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoSquashMergeCommitMessage? Type3672 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeEnabledByType? Type3673 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoSquashMergeCommitTitle? Type3673 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepo? Type3674 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadRepoVisibility? Type3674 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUser? Type3675 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadUser? Type3675 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoLicense? Type3676 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestHeadUserType? Type3676 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoMergeCommitMessage? Type3677 { get; set; } + public global::System.Collections.Generic.IList? Type3677 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoMergeCommitTitle? Type3678 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestLabel? Type3678 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoOwner? Type3679 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestMergedBy? Type3679 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoPermissions? Type3680 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestMergedByType? Type3680 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoSquashMergeCommitMessage? Type3681 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestMilestone? Type3681 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoSquashMergeCommitTitle? Type3682 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneCreator? Type3682 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoVisibility? Type3683 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneCreatorType? Type3683 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoOwnerType? Type3684 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestMilestoneState? Type3684 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUserType? Type3685 { get; set; } + public global::System.Collections.Generic.IList>? Type3685 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepo? Type3686 { get; set; } + public global::System.OneOf? Type3686 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUser? Type3687 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1? Type3687 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoLicense? Type3688 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant1Type? Type3688 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoMergeCommitMessage? Type3689 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2? Type3689 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoMergeCommitTitle? Type3690 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Parent? Type3690 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoOwner? Type3691 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2ParentPrivacy? Type3691 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoPermissions? Type3692 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedReviewerVariant2Privacy? Type3692 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoSquashMergeCommitMessage? Type3693 { get; set; } + public global::System.Collections.Generic.IList? Type3693 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoSquashMergeCommitTitle? Type3694 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeam? Type3694 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoVisibility? Type3695 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParent? Type3695 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoOwnerType? Type3696 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamParentPrivacy? Type3696 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUserType? Type3697 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestRequestedTeamPrivacy? Type3697 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestMergedByType? Type3698 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestState? Type3698 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneCreator? Type3699 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestUser? Type3699 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneState? Type3700 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeDisabledPullRequestUserType? Type3700 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneCreatorType? Type3701 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabled? Type3701 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestUserType? Type3702 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledAction? Type3702 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneesType? Type3703 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequest? Type3703 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParent? Type3704 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinks? Type3704 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsPrivacy? Type3705 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksComments? Type3705 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamsParentPrivacy? Type3706 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksCommits? Type3706 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant1RequestedReviewerType? Type3707 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksHtml? Type3707 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2Action? Type3708 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksIssue? Type3708 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequest? Type3709 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksReviewComment? Type3709 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2RequestedTeam? Type3710 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksReviewComments? Type3710 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinks? Type3711 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksSelf? Type3711 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestActiveLockReason? Type3712 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLinksStatuses? Type3712 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssignee? Type3713 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestActiveLockReason? Type3713 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3714 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssignee? Type3714 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAuthorAssociation? Type3715 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType? Type3715 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMerge? Type3716 { get; set; } + public global::System.Collections.Generic.IList? Type3716 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBase? Type3717 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssignee2? Type3717 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHead? Type3718 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAssigneeType2? Type3718 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3719 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAuthorAssociation? Type3719 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestMergedBy? Type3720 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAutoMerge? Type3720 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestMilestone? Type3721 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeEnabledBy? Type3721 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3722 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeEnabledByType? Type3722 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3723 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestAutoMergeMergeMethod? Type3723 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestState? Type3724 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBase? Type3724 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestUser? Type3725 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepo? Type3725 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksComments? Type3726 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoLicense? Type3726 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksCommits? Type3727 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoMergeCommitMessage? Type3727 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksHtml? Type3728 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoMergeCommitTitle? Type3728 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksIssue? Type3729 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoOwner? Type3729 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksReviewComment? Type3730 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoOwnerType? Type3730 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksReviewComments? Type3731 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoPermissions? Type3731 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksSelf? Type3732 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoSquashMergeCommitMessage? Type3732 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksStatuses? Type3733 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoSquashMergeCommitTitle? Type3733 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType? Type3734 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseRepoVisibility? Type3734 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeEnabledBy? Type3735 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseUser? Type3735 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeMergeMethod? Type3736 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestBaseUserType? Type3736 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeEnabledByType? Type3737 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHead? Type3737 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepo? Type3738 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepo? Type3738 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUser? Type3739 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoLicense? Type3739 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoLicense? Type3740 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoMergeCommitMessage? Type3740 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoMergeCommitMessage? Type3741 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoMergeCommitTitle? Type3741 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoMergeCommitTitle? Type3742 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoOwner? Type3742 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoOwner? Type3743 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoOwnerType? Type3743 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoPermissions? Type3744 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoPermissions? Type3744 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoSquashMergeCommitMessage? Type3745 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoSquashMergeCommitMessage? Type3745 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoSquashMergeCommitTitle? Type3746 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoSquashMergeCommitTitle? Type3746 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoVisibility? Type3747 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadRepoVisibility? Type3747 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoOwnerType? Type3748 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadUser? Type3748 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUserType? Type3749 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestHeadUserType? Type3749 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepo? Type3750 { get; set; } + public global::System.Collections.Generic.IList? Type3750 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUser? Type3751 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestLabel? Type3751 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoLicense? Type3752 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestMergedBy? Type3752 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoMergeCommitMessage? Type3753 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestMergedByType? Type3753 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoMergeCommitTitle? Type3754 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestMilestone? Type3754 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoOwner? Type3755 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneCreator? Type3755 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoPermissions? Type3756 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneCreatorType? Type3756 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoSquashMergeCommitMessage? Type3757 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestMilestoneState? Type3757 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoSquashMergeCommitTitle? Type3758 { get; set; } + public global::System.Collections.Generic.IList>? Type3758 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoVisibility? Type3759 { get; set; } + public global::System.OneOf? Type3759 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoOwnerType? Type3760 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1? Type3760 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUserType? Type3761 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant1Type? Type3761 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestMergedByType? Type3762 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2? Type3762 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneCreator? Type3763 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Parent? Type3763 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneState? Type3764 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2ParentPrivacy? Type3764 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneCreatorType? Type3765 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedReviewerVariant2Privacy? Type3765 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestUserType? Type3766 { get; set; } + public global::System.Collections.Generic.IList? Type3766 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneesType? Type3767 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeam? Type3767 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParent? Type3768 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParent? Type3768 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsPrivacy? Type3769 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamParentPrivacy? Type3769 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamsParentPrivacy? Type3770 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestRequestedTeamPrivacy? Type3770 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2RequestedTeamParent? Type3771 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestState? Type3771 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2RequestedTeamPrivacy? Type3772 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestUser? Type3772 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewRequestedVariant2RequestedTeamParentPrivacy? Type3773 { get; set; } + public global::GitHub.WebhookPullRequestAutoMergeEnabledPullRequestUserType? Type3773 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedAction? Type3774 { get; set; } + public global::GitHub.WebhookPullRequestClosed? Type3774 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequest? Type3775 { get; set; } + public global::GitHub.WebhookPullRequestClosedAction? Type3775 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinks? Type3776 { get; set; } + public global::GitHub.WebhookPullRequestConvertedToDraft? Type3776 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestActiveLockReason? Type3777 { get; set; } + public global::GitHub.WebhookPullRequestConvertedToDraftAction? Type3777 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssignee? Type3778 { get; set; } + public global::GitHub.WebhookPullRequestDemilestoned? Type3778 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3779 { get; set; } + public global::GitHub.WebhookPullRequestDemilestonedAction? Type3779 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAuthorAssociation? Type3780 { get; set; } + public global::GitHub.WebhookPullRequestDequeued? Type3780 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAutoMerge? Type3781 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedAction? Type3781 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBase? Type3782 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequest? Type3782 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHead? Type3783 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestLinks? Type3783 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3784 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksComments? Type3784 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestMilestone? Type3785 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksCommits? Type3785 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3786 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksHtml? Type3786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3787 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksIssue? Type3787 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestState? Type3788 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksReviewComment? Type3788 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestUser? Type3789 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksReviewComments? Type3789 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksComments? Type3790 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksSelf? Type3790 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksCommits? Type3791 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestLinksStatuses? Type3791 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksHtml? Type3792 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestActiveLockReason? Type3792 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksIssue? Type3793 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestAssignee? Type3793 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksReviewComment? Type3794 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType? Type3794 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksReviewComments? Type3795 { get; set; } + public global::System.Collections.Generic.IList? Type3795 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksSelf? Type3796 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestAssignee2? Type3796 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksStatuses? Type3797 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestAssigneeType2? Type3797 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType? Type3798 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestAuthorAssociation? Type3798 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAutoMergeEnabledBy? Type3799 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestAutoMerge? Type3799 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAutoMergeMergeMethod? Type3800 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestAutoMergeEnabledBy? Type3800 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAutoMergeEnabledByType? Type3801 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestAutoMergeEnabledByType? Type3801 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepo? Type3802 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestAutoMergeMergeMethod? Type3802 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseUser? Type3803 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestBase? Type3803 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoLicense? Type3804 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepo? Type3804 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoMergeCommitMessage? Type3805 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoLicense? Type3805 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoMergeCommitTitle? Type3806 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoMergeCommitMessage? Type3806 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoOwner? Type3807 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoMergeCommitTitle? Type3807 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoPermissions? Type3808 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoOwner? Type3808 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoSquashMergeCommitMessage? Type3809 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoOwnerType? Type3809 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoSquashMergeCommitTitle? Type3810 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoPermissions? Type3810 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoVisibility? Type3811 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoSquashMergeCommitMessage? Type3811 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoOwnerType? Type3812 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoSquashMergeCommitTitle? Type3812 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseUserType? Type3813 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseRepoVisibility? Type3813 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepo? Type3814 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseUser? Type3814 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadUser? Type3815 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestBaseUserType? Type3815 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoLicense? Type3816 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestHead? Type3816 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoMergeCommitMessage? Type3817 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepo? Type3817 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoMergeCommitTitle? Type3818 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoLicense? Type3818 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoOwner? Type3819 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoMergeCommitMessage? Type3819 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoPermissions? Type3820 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoMergeCommitTitle? Type3820 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoSquashMergeCommitMessage? Type3821 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoOwner? Type3821 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoSquashMergeCommitTitle? Type3822 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoOwnerType? Type3822 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoVisibility? Type3823 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoPermissions? Type3823 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoOwnerType? Type3824 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoSquashMergeCommitMessage? Type3824 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadUserType? Type3825 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoSquashMergeCommitTitle? Type3825 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestMilestoneCreator? Type3826 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadRepoVisibility? Type3826 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestMilestoneState? Type3827 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadUser? Type3827 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestMilestoneCreatorType? Type3828 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestHeadUserType? Type3828 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestUserType? Type3829 { get; set; } + public global::System.Collections.Generic.IList? Type3829 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneesType? Type3830 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestLabel? Type3830 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParent? Type3831 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestMergedBy? Type3831 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsPrivacy? Type3832 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestMergedByType? Type3832 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamsParentPrivacy? Type3833 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestMilestone? Type3833 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedAction? Type3834 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestMilestoneCreator? Type3834 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequest? Type3835 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestMilestoneCreatorType? Type3835 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedThread? Type3836 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestMilestoneState? Type3836 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinks? Type3837 { get; set; } + public global::System.Collections.Generic.IList>? Type3837 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestActiveLockReason? Type3838 { get; set; } + public global::System.OneOf? Type3838 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssignee? Type3839 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1? Type3839 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3840 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant1Type? Type3840 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAuthorAssociation? Type3841 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2? Type3841 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAutoMerge? Type3842 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Parent? Type3842 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBase? Type3843 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2ParentPrivacy? Type3843 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHead? Type3844 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedReviewerVariant2Privacy? Type3844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3845 { get; set; } + public global::System.Collections.Generic.IList? Type3845 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestMilestone? Type3846 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeam? Type3846 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3847 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParent? Type3847 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3848 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamParentPrivacy? Type3848 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestState? Type3849 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestRequestedTeamPrivacy? Type3849 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestUser? Type3850 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestState? Type3850 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksComments? Type3851 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestUser? Type3851 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksCommits? Type3852 { get; set; } + public global::GitHub.WebhookPullRequestDequeuedPullRequestUserType? Type3852 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksHtml? Type3853 { get; set; } + public global::GitHub.WebhookPullRequestEdited? Type3853 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksIssue? Type3854 { get; set; } + public global::GitHub.WebhookPullRequestEditedAction? Type3854 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksReviewComment? Type3855 { get; set; } + public global::GitHub.WebhookPullRequestEditedChanges? Type3855 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksReviewComments? Type3856 { get; set; } + public global::GitHub.WebhookPullRequestEditedChangesBase? Type3856 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksSelf? Type3857 { get; set; } + public global::GitHub.WebhookPullRequestEditedChangesBaseRef? Type3857 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksStatuses? Type3858 { get; set; } + public global::GitHub.WebhookPullRequestEditedChangesBaseSha? Type3858 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType? Type3859 { get; set; } + public global::GitHub.WebhookPullRequestEditedChangesBody? Type3859 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeEnabledBy? Type3860 { get; set; } + public global::GitHub.WebhookPullRequestEditedChangesTitle? Type3860 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeMergeMethod? Type3861 { get; set; } + public global::GitHub.WebhookPullRequestEnqueued? Type3861 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeEnabledByType? Type3862 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedAction? Type3862 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepo? Type3863 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequest? Type3863 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseUser? Type3864 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinks? Type3864 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoLicense? Type3865 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksComments? Type3865 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoOwner? Type3866 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksCommits? Type3866 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoPermissions? Type3867 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksHtml? Type3867 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoVisibility? Type3868 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksIssue? Type3868 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoOwnerType? Type3869 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksReviewComment? Type3869 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseUserType? Type3870 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksReviewComments? Type3870 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepo? Type3871 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksSelf? Type3871 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadUser? Type3872 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestLinksStatuses? Type3872 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoLicense? Type3873 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestActiveLockReason? Type3873 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoOwner? Type3874 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestAssignee? Type3874 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoPermissions? Type3875 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType? Type3875 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoVisibility? Type3876 { get; set; } + public global::System.Collections.Generic.IList? Type3876 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoOwnerType? Type3877 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestAssignee2? Type3877 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadUserType? Type3878 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestAssigneeType2? Type3878 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneCreator? Type3879 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestAuthorAssociation? Type3879 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneState? Type3880 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestAutoMerge? Type3880 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneCreatorType? Type3881 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestAutoMergeEnabledBy? Type3881 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestUserType? Type3882 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestAutoMergeEnabledByType? Type3882 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneesType? Type3883 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestAutoMergeMergeMethod? Type3883 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParent? Type3884 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestBase? Type3884 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsPrivacy? Type3885 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepo? Type3885 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamsParentPrivacy? Type3886 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoLicense? Type3886 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3887 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoMergeCommitMessage? Type3887 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsLinks? Type3888 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoMergeCommitTitle? Type3888 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsAuthorAssociation? Type3889 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoOwner? Type3889 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsReactions? Type3890 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoOwnerType? Type3890 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSide? Type3891 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoPermissions? Type3891 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsStartSide? Type3892 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoSquashMergeCommitMessage? Type3892 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsSubjectType? Type3893 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoSquashMergeCommitTitle? Type3893 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUser? Type3894 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseRepoVisibility? Type3894 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksHtml? Type3895 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseUser? Type3895 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksPullRequest? Type3896 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestBaseUserType? Type3896 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsLinksSelf? Type3897 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestHead? Type3897 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentsUserType? Type3898 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepo? Type3898 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedAction? Type3899 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoLicense? Type3899 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequest? Type3900 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoMergeCommitMessage? Type3900 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThread? Type3901 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoMergeCommitTitle? Type3901 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinks? Type3902 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoOwner? Type3902 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestActiveLockReason? Type3903 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoOwnerType? Type3903 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignee? Type3904 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoPermissions? Type3904 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3905 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoSquashMergeCommitMessage? Type3905 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAuthorAssociation? Type3906 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoSquashMergeCommitTitle? Type3906 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMerge? Type3907 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadRepoVisibility? Type3907 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBase? Type3908 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadUser? Type3908 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHead? Type3909 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestHeadUserType? Type3909 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3910 { get; set; } + public global::System.Collections.Generic.IList? Type3910 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestone? Type3911 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestLabel? Type3911 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3912 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestMergedBy? Type3912 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3913 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestMergedByType? Type3913 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestState? Type3914 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestMilestone? Type3914 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestUser? Type3915 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestMilestoneCreator? Type3915 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksComments? Type3916 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestMilestoneCreatorType? Type3916 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksCommits? Type3917 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestMilestoneState? Type3917 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksHtml? Type3918 { get; set; } + public global::System.Collections.Generic.IList>? Type3918 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksIssue? Type3919 { get; set; } + public global::System.OneOf? Type3919 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksReviewComment? Type3920 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1? Type3920 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksReviewComments? Type3921 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant1Type? Type3921 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksSelf? Type3922 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2? Type3922 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksStatuses? Type3923 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Parent? Type3923 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType? Type3924 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2ParentPrivacy? Type3924 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeEnabledBy? Type3925 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedReviewerVariant2Privacy? Type3925 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeMergeMethod? Type3926 { get; set; } + public global::System.Collections.Generic.IList? Type3926 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeEnabledByType? Type3927 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeam? Type3927 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepo? Type3928 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParent? Type3928 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUser? Type3929 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamParentPrivacy? Type3929 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoLicense? Type3930 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestRequestedTeamPrivacy? Type3930 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoOwner? Type3931 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestState? Type3931 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoPermissions? Type3932 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestUser? Type3932 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoVisibility? Type3933 { get; set; } + public global::GitHub.WebhookPullRequestEnqueuedPullRequestUserType? Type3933 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoOwnerType? Type3934 { get; set; } + public global::GitHub.WebhookPullRequestLabeled? Type3934 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUserType? Type3935 { get; set; } + public global::GitHub.WebhookPullRequestLabeledAction? Type3935 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepo? Type3936 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequest? Type3936 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUser? Type3937 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestLinks? Type3937 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoLicense? Type3938 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestLinksComments? Type3938 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoOwner? Type3939 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestLinksCommits? Type3939 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoPermissions? Type3940 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestLinksHtml? Type3940 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoVisibility? Type3941 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestLinksIssue? Type3941 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoOwnerType? Type3942 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestLinksReviewComment? Type3942 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUserType? Type3943 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestLinksReviewComments? Type3943 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneCreator? Type3944 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestLinksSelf? Type3944 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneState? Type3945 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestLinksStatuses? Type3945 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneCreatorType? Type3946 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestActiveLockReason? Type3946 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestUserType? Type3947 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestAssignee? Type3947 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneesType? Type3948 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType? Type3948 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParent? Type3949 { get; set; } + public global::System.Collections.Generic.IList? Type3949 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsPrivacy? Type3950 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestAssignee2? Type3950 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamsParentPrivacy? Type3951 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestAssigneeType2? Type3951 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3952 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestAuthorAssociation? Type3952 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinks? Type3953 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestAutoMerge? Type3953 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsAuthorAssociation? Type3954 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestAutoMergeEnabledBy? Type3954 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsReactions? Type3955 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestAutoMergeEnabledByType? Type3955 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSide? Type3956 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestAutoMergeMergeMethod? Type3956 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsStartSide? Type3957 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestBase? Type3957 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsSubjectType? Type3958 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepo? Type3958 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUser? Type3959 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoLicense? Type3959 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksHtml? Type3960 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoMergeCommitMessage? Type3960 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksPullRequest? Type3961 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoMergeCommitTitle? Type3961 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsLinksSelf? Type3962 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoOwner? Type3962 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentsUserType? Type3963 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoOwnerType? Type3963 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizeAction? Type3964 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoPermissions? Type3964 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequest? Type3965 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoSquashMergeCommitMessage? Type3965 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestLinks? Type3966 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoSquashMergeCommitTitle? Type3966 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestActiveLockReason? Type3967 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestBaseRepoVisibility? Type3967 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestAssignee? Type3968 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestBaseUser? Type3968 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3969 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestBaseUserType? Type3969 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestAuthorAssociation? Type3970 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestHead? Type3970 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestAutoMerge? Type3971 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepo? Type3971 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestBase? Type3972 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoLicense? Type3972 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestHead? Type3973 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoMergeCommitMessage? Type3973 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3974 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoMergeCommitTitle? Type3974 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestMergedBy? Type3975 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoOwner? Type3975 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestMilestone? Type3976 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoOwnerType? Type3976 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type3977 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoPermissions? Type3977 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type3978 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoSquashMergeCommitMessage? Type3978 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestState? Type3979 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoSquashMergeCommitTitle? Type3979 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestUser? Type3980 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestHeadRepoVisibility? Type3980 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksComments? Type3981 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestHeadUser? Type3981 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksCommits? Type3982 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestHeadUserType? Type3982 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksHtml? Type3983 { get; set; } + public global::System.Collections.Generic.IList? Type3983 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksIssue? Type3984 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestLabel? Type3984 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksReviewComment? Type3985 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestMergedBy? Type3985 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksReviewComments? Type3986 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestMergedByType? Type3986 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksSelf? Type3987 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestMilestone? Type3987 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksStatuses? Type3988 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestMilestoneCreator? Type3988 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType? Type3989 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestMilestoneCreatorType? Type3989 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestAutoMergeEnabledBy? Type3990 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestMilestoneState? Type3990 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestAutoMergeMergeMethod? Type3991 { get; set; } + public global::System.Collections.Generic.IList>? Type3991 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestAutoMergeEnabledByType? Type3992 { get; set; } + public global::System.OneOf? Type3992 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepo? Type3993 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1? Type3993 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseUser? Type3994 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant1Type? Type3994 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoLicense? Type3995 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2? Type3995 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoMergeCommitMessage? Type3996 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Parent? Type3996 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoMergeCommitTitle? Type3997 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2ParentPrivacy? Type3997 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoOwner? Type3998 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedReviewerVariant2Privacy? Type3998 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoPermissions? Type3999 { get; set; } + public global::System.Collections.Generic.IList? Type3999 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoSquashMergeCommitMessage? Type4000 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeam? Type4000 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoSquashMergeCommitTitle? Type4001 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParent? Type4001 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoVisibility? Type4002 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamParentPrivacy? Type4002 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoOwnerType? Type4003 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestRequestedTeamPrivacy? Type4003 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseUserType? Type4004 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestState? Type4004 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepo? Type4005 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestUser? Type4005 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadUser? Type4006 { get; set; } + public global::GitHub.WebhookPullRequestLabeledPullRequestUserType? Type4006 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoLicense? Type4007 { get; set; } + public global::GitHub.WebhookPullRequestLocked? Type4007 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoMergeCommitMessage? Type4008 { get; set; } + public global::GitHub.WebhookPullRequestLockedAction? Type4008 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoMergeCommitTitle? Type4009 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequest? Type4009 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoOwner? Type4010 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestLinks? Type4010 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoPermissions? Type4011 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestLinksComments? Type4011 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoSquashMergeCommitMessage? Type4012 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestLinksCommits? Type4012 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoSquashMergeCommitTitle? Type4013 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestLinksHtml? Type4013 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoVisibility? Type4014 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestLinksIssue? Type4014 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoOwnerType? Type4015 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestLinksReviewComment? Type4015 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadUserType? Type4016 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestLinksReviewComments? Type4016 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestMergedByType? Type4017 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestLinksSelf? Type4017 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestMilestoneCreator? Type4018 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestLinksStatuses? Type4018 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestMilestoneState? Type4019 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestActiveLockReason? Type4019 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestMilestoneCreatorType? Type4020 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestAssignee? Type4020 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestUserType? Type4021 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType? Type4021 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneesType? Type4022 { get; set; } + public global::System.Collections.Generic.IList? Type4022 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParent? Type4023 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestAssignee2? Type4023 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsPrivacy? Type4024 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestAssigneeType2? Type4024 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamsParentPrivacy? Type4025 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestAuthorAssociation? Type4025 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedAction? Type4026 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestAutoMerge? Type4026 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequest? Type4027 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestAutoMergeEnabledBy? Type4027 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestLinks? Type4028 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestAutoMergeEnabledByType? Type4028 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestActiveLockReason? Type4029 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestAutoMergeMergeMethod? Type4029 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestAssignee? Type4030 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestBase? Type4030 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4031 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepo? Type4031 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestAuthorAssociation? Type4032 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoLicense? Type4032 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestAutoMerge? Type4033 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoMergeCommitMessage? Type4033 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestBase? Type4034 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoMergeCommitTitle? Type4034 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestHead? Type4035 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoOwner? Type4035 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4036 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoOwnerType? Type4036 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestMergedBy? Type4037 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoPermissions? Type4037 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestMilestone? Type4038 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoSquashMergeCommitMessage? Type4038 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4039 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoSquashMergeCommitTitle? Type4039 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4040 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestBaseRepoVisibility? Type4040 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestState? Type4041 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestBaseUser? Type4041 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestUser? Type4042 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestBaseUserType? Type4042 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksComments? Type4043 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestHead? Type4043 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksCommits? Type4044 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepo? Type4044 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksHtml? Type4045 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoLicense? Type4045 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksIssue? Type4046 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoMergeCommitMessage? Type4046 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksReviewComment? Type4047 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoMergeCommitTitle? Type4047 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksReviewComments? Type4048 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoOwner? Type4048 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksSelf? Type4049 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoOwnerType? Type4049 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksStatuses? Type4050 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoPermissions? Type4050 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType? Type4051 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoSquashMergeCommitMessage? Type4051 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestAutoMergeEnabledBy? Type4052 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoSquashMergeCommitTitle? Type4052 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestAutoMergeMergeMethod? Type4053 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestHeadRepoVisibility? Type4053 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestAutoMergeEnabledByType? Type4054 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestHeadUser? Type4054 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepo? Type4055 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestHeadUserType? Type4055 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseUser? Type4056 { get; set; } + public global::System.Collections.Generic.IList? Type4056 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoLicense? Type4057 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestLabel? Type4057 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoMergeCommitMessage? Type4058 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestMergedBy? Type4058 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoMergeCommitTitle? Type4059 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestMergedByType? Type4059 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoOwner? Type4060 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestMilestone? Type4060 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoPermissions? Type4061 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestMilestoneCreator? Type4061 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoSquashMergeCommitMessage? Type4062 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestMilestoneCreatorType? Type4062 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoSquashMergeCommitTitle? Type4063 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestMilestoneState? Type4063 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoVisibility? Type4064 { get; set; } + public global::System.Collections.Generic.IList>? Type4064 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoOwnerType? Type4065 { get; set; } + public global::System.OneOf? Type4065 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseUserType? Type4066 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1? Type4066 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepo? Type4067 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant1Type? Type4067 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadUser? Type4068 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2? Type4068 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoLicense? Type4069 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Parent? Type4069 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoMergeCommitMessage? Type4070 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4070 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoMergeCommitTitle? Type4071 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedReviewerVariant2Privacy? Type4071 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoOwner? Type4072 { get; set; } + public global::System.Collections.Generic.IList? Type4072 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoPermissions? Type4073 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeam? Type4073 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoSquashMergeCommitMessage? Type4074 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParent? Type4074 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoSquashMergeCommitTitle? Type4075 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamParentPrivacy? Type4075 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoVisibility? Type4076 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestRequestedTeamPrivacy? Type4076 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoOwnerType? Type4077 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestState? Type4077 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadUserType? Type4078 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestUser? Type4078 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestMergedByType? Type4079 { get; set; } + public global::GitHub.WebhookPullRequestLockedPullRequestUserType? Type4079 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestMilestoneCreator? Type4080 { get; set; } + public global::GitHub.WebhookPullRequestMilestoned? Type4080 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestMilestoneState? Type4081 { get; set; } + public global::GitHub.WebhookPullRequestMilestonedAction? Type4081 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestMilestoneCreatorType? Type4082 { get; set; } + public global::GitHub.WebhookPullRequestOpened? Type4082 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestUserType? Type4083 { get; set; } + public global::GitHub.WebhookPullRequestOpenedAction? Type4083 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneesType? Type4084 { get; set; } + public global::GitHub.WebhookPullRequestReadyForReview? Type4084 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParent? Type4085 { get; set; } + public global::GitHub.WebhookPullRequestReadyForReviewAction? Type4085 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsPrivacy? Type4086 { get; set; } + public global::GitHub.WebhookPullRequestReopened? Type4086 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamsParentPrivacy? Type4087 { get; set; } + public global::GitHub.WebhookPullRequestReopenedAction? Type4087 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledAction? Type4088 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreated? Type4088 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequest? Type4089 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedAction? Type4089 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinks? Type4090 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedComment? Type4090 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestActiveLockReason? Type4091 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentLinks? Type4091 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestAssignee? Type4092 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentLinksHtml? Type4092 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4093 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentLinksPullRequest? Type4093 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestAuthorAssociation? Type4094 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentLinksSelf? Type4094 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestAutoMerge? Type4095 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentAuthorAssociation? Type4095 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestBase? Type4096 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentReactions? Type4096 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestHead? Type4097 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentSide? Type4097 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4098 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentStartSide? Type4098 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestMergedBy? Type4099 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentSubjectType? Type4099 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestMilestone? Type4100 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentUser? Type4100 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4101 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedCommentUserType? Type4101 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4102 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequest? Type4102 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestState? Type4103 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinks? Type4103 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestUser? Type4104 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksComments? Type4104 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksComments? Type4105 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksCommits? Type4105 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksCommits? Type4106 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksHtml? Type4106 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksHtml? Type4107 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksIssue? Type4107 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksIssue? Type4108 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksReviewComment? Type4108 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksReviewComment? Type4109 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksReviewComments? Type4109 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksReviewComments? Type4110 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksSelf? Type4110 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksSelf? Type4111 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLinksStatuses? Type4111 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksStatuses? Type4112 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestActiveLockReason? Type4112 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType? Type4113 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssignee? Type4113 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestAutoMergeEnabledBy? Type4114 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType? Type4114 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestAutoMergeMergeMethod? Type4115 { get; set; } + public global::System.Collections.Generic.IList? Type4115 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestAutoMergeEnabledByType? Type4116 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssignee2? Type4116 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepo? Type4117 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAssigneeType2? Type4117 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseUser? Type4118 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAuthorAssociation? Type4118 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoLicense? Type4119 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAutoMerge? Type4119 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoMergeCommitMessage? Type4120 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeEnabledBy? Type4120 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoMergeCommitTitle? Type4121 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeEnabledByType? Type4121 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoOwner? Type4122 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestAutoMergeMergeMethod? Type4122 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoPermissions? Type4123 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBase? Type4123 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoSquashMergeCommitMessage? Type4124 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepo? Type4124 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoSquashMergeCommitTitle? Type4125 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoLicense? Type4125 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoVisibility? Type4126 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoMergeCommitMessage? Type4126 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoOwnerType? Type4127 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoMergeCommitTitle? Type4127 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseUserType? Type4128 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoOwner? Type4128 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepo? Type4129 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoOwnerType? Type4129 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadUser? Type4130 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoPermissions? Type4130 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoLicense? Type4131 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoSquashMergeCommitMessage? Type4131 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoMergeCommitMessage? Type4132 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoSquashMergeCommitTitle? Type4132 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoMergeCommitTitle? Type4133 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseRepoVisibility? Type4133 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoOwner? Type4134 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseUser? Type4134 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoPermissions? Type4135 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestBaseUserType? Type4135 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoSquashMergeCommitMessage? Type4136 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHead? Type4136 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoSquashMergeCommitTitle? Type4137 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepo? Type4137 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoVisibility? Type4138 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoLicense? Type4138 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoOwnerType? Type4139 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoMergeCommitMessage? Type4139 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadUserType? Type4140 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoMergeCommitTitle? Type4140 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestMergedByType? Type4141 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoOwner? Type4141 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestMilestoneCreator? Type4142 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoOwnerType? Type4142 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestMilestoneState? Type4143 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoPermissions? Type4143 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestMilestoneCreatorType? Type4144 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoSquashMergeCommitMessage? Type4144 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestUserType? Type4145 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoSquashMergeCommitTitle? Type4145 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneesType? Type4146 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadRepoVisibility? Type4146 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParent? Type4147 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadUser? Type4147 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsPrivacy? Type4148 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestHeadUserType? Type4148 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamsParentPrivacy? Type4149 { get; set; } + public global::System.Collections.Generic.IList? Type4149 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedAction? Type4150 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestLabel? Type4150 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequest? Type4151 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestMilestone? Type4151 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestLinks? Type4152 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneCreator? Type4152 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestActiveLockReason? Type4153 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneCreatorType? Type4153 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestAssignee? Type4154 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestMilestoneState? Type4154 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4155 { get; set; } + public global::System.Collections.Generic.IList>? Type4155 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestAuthorAssociation? Type4156 { get; set; } + public global::System.OneOf? Type4156 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestAutoMerge? Type4157 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1? Type4157 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestBase? Type4158 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant1Type? Type4158 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestHead? Type4159 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2? Type4159 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4160 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Parent? Type4160 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestMergedBy? Type4161 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4161 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestMilestone? Type4162 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedReviewerVariant2Privacy? Type4162 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type4163 { get; set; } + public global::System.Collections.Generic.IList? Type4163 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4164 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeam? Type4164 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestState? Type4165 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParent? Type4165 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestUser? Type4166 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamParentPrivacy? Type4166 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksComments? Type4167 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestRequestedTeamPrivacy? Type4167 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksCommits? Type4168 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestState? Type4168 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksHtml? Type4169 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestUser? Type4169 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksIssue? Type4170 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentCreatedPullRequestUserType? Type4170 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksReviewComment? Type4171 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeleted? Type4171 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksReviewComments? Type4172 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedAction? Type4172 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksSelf? Type4173 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequest? Type4173 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksStatuses? Type4174 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinks? Type4174 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType? Type4175 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksComments? Type4175 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestAutoMergeEnabledBy? Type4176 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksCommits? Type4176 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestAutoMergeMergeMethod? Type4177 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksHtml? Type4177 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestAutoMergeEnabledByType? Type4178 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksIssue? Type4178 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepo? Type4179 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksReviewComment? Type4179 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseUser? Type4180 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksReviewComments? Type4180 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoLicense? Type4181 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksSelf? Type4181 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoMergeCommitMessage? Type4182 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLinksStatuses? Type4182 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoMergeCommitTitle? Type4183 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestActiveLockReason? Type4183 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoOwner? Type4184 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssignee? Type4184 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoPermissions? Type4185 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType? Type4185 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoSquashMergeCommitMessage? Type4186 { get; set; } + public global::System.Collections.Generic.IList? Type4186 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoSquashMergeCommitTitle? Type4187 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssignee2? Type4187 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoVisibility? Type4188 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAssigneeType2? Type4188 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoOwnerType? Type4189 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAuthorAssociation? Type4189 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseUserType? Type4190 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAutoMerge? Type4190 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepo? Type4191 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeEnabledBy? Type4191 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadUser? Type4192 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeEnabledByType? Type4192 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoLicense? Type4193 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestAutoMergeMergeMethod? Type4193 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoMergeCommitMessage? Type4194 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBase? Type4194 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoMergeCommitTitle? Type4195 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepo? Type4195 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoOwner? Type4196 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoLicense? Type4196 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoPermissions? Type4197 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoMergeCommitMessage? Type4197 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoSquashMergeCommitMessage? Type4198 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoMergeCommitTitle? Type4198 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoSquashMergeCommitTitle? Type4199 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoOwner? Type4199 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoVisibility? Type4200 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoOwnerType? Type4200 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoOwnerType? Type4201 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoPermissions? Type4201 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadUserType? Type4202 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoSquashMergeCommitMessage? Type4202 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestMergedByType? Type4203 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoSquashMergeCommitTitle? Type4203 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestMilestoneCreator? Type4204 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseRepoVisibility? Type4204 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestMilestoneState? Type4205 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseUser? Type4205 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestMilestoneCreatorType? Type4206 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestBaseUserType? Type4206 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestUserType? Type4207 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHead? Type4207 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneesType? Type4208 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepo? Type4208 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParent? Type4209 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoLicense? Type4209 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsPrivacy? Type4210 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoMergeCommitMessage? Type4210 { get; set; } /// /// /// - public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamsParentPrivacy? Type4211 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoMergeCommitTitle? Type4211 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4212 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoOwner? Type4212 { get; set; } /// /// /// - public global::GitHub.WebhookPushHeadCommit? Type4213 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoOwnerType? Type4213 { get; set; } /// /// /// - public global::GitHub.WebhookPushPusher? Type4214 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoPermissions? Type4214 { get; set; } /// /// /// - public global::GitHub.WebhookPushRepository? Type4215 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoSquashMergeCommitMessage? Type4215 { get; set; } /// /// /// - public global::GitHub.WebhookPushHeadCommitAuthor? Type4216 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoSquashMergeCommitTitle? Type4216 { get; set; } /// /// /// - public global::GitHub.WebhookPushHeadCommitCommitter? Type4217 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadRepoVisibility? Type4217 { get; set; } /// /// /// - public global::GitHub.WebhookPushRepositoryLicense? Type4218 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadUser? Type4218 { get; set; } /// /// /// - public global::GitHub.WebhookPushRepositoryOwner? Type4219 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestHeadUserType? Type4219 { get; set; } /// /// /// - public global::GitHub.WebhookPushRepositoryPermissions? Type4220 { get; set; } + public global::System.Collections.Generic.IList? Type4220 { get; set; } /// /// /// - public global::GitHub.WebhookPushRepositoryVisibility? Type4221 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestLabel? Type4221 { get; set; } /// /// /// - public global::GitHub.WebhookPushRepositoryOwnerType? Type4222 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestMilestone? Type4222 { get; set; } /// /// /// - public global::GitHub.WebhookPushCommitsAuthor? Type4223 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneCreator? Type4223 { get; set; } /// /// /// - public global::GitHub.WebhookPushCommitsCommitter? Type4224 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneCreatorType? Type4224 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackagePublishedAction? Type4225 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestMilestoneState? Type4225 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackagePublishedRegistryPackage? Type4226 { get; set; } + public global::System.Collections.Generic.IList>? Type4226 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackagePublishedRegistryPackageOwner? Type4227 { get; set; } + public global::System.OneOf? Type4227 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersion? Type4228 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1? Type4228 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackagePublishedRegistryPackageRegistry? Type4229 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant1Type? Type4229 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionAuthor? Type4230 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2? Type4230 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadata? Type4231 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Parent? Type4231 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4232 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4232 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadata? Type4233 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedReviewerVariant2Privacy? Type4233 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4234 { get; set; } + public global::System.Collections.Generic.IList? Type4234 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4235 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeam? Type4235 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionRelease? Type4236 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParent? Type4236 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataTag? Type4237 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamParentPrivacy? Type4237 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionReleaseAuthor? Type4238 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestRequestedTeamPrivacy? Type4238 { get; set; } /// /// /// - public global::System.OneOf? Type4239 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestState? Type4239 { get; set; } /// /// /// - public global::System.OneOf? Type4240 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestUser? Type4240 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackageUpdatedAction? Type4241 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentDeletedPullRequestUserType? Type4241 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackage? Type4242 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEdited? Type4242 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackageOwner? Type4243 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedAction? Type4243 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackagePackageVersion? Type4244 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequest? Type4244 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionAuthor? Type4245 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinks? Type4245 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4246 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksComments? Type4246 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4247 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksCommits? Type4247 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionRelease? Type4248 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksHtml? Type4248 { get; set; } /// /// /// - public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionReleaseAuthor? Type4249 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksIssue? Type4249 { get; set; } /// /// /// - public global::GitHub.WebhookReleaseCreatedAction? Type4250 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksReviewComment? Type4250 { get; set; } /// /// /// - public global::GitHub.WebhooksRelease? Type4251 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksReviewComments? Type4251 { get; set; } /// /// /// - public global::GitHub.WebhookReleaseDeletedAction? Type4252 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksSelf? Type4252 { get; set; } /// /// /// - public global::GitHub.WebhookReleaseEditedAction? Type4253 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLinksStatuses? Type4253 { get; set; } /// /// /// - public global::GitHub.WebhookReleaseEditedChanges? Type4254 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestActiveLockReason? Type4254 { get; set; } /// /// /// - public global::GitHub.WebhookReleaseEditedChangesBody? Type4255 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssignee? Type4255 { get; set; } /// /// /// - public global::GitHub.WebhookReleaseEditedChangesName? Type4256 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType? Type4256 { get; set; } /// /// /// - public global::GitHub.WebhookReleaseEditedChangesMakeLatest? Type4257 { get; set; } + public global::System.Collections.Generic.IList? Type4257 { get; set; } /// /// /// - public global::GitHub.WebhookReleasePrereleasedAction? Type4258 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssignee2? Type4258 { get; set; } /// /// /// - public global::GitHub.WebhookReleasePrereleasedRelease? Type4259 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAssigneeType2? Type4259 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4260 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAuthorAssociation? Type4260 { get; set; } /// /// /// - public global::GitHub.WebhookReleasePrereleasedReleaseAuthor? Type4261 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAutoMerge? Type4261 { get; set; } /// /// /// - public global::GitHub.WebhookReleasePrereleasedReleaseReactions? Type4262 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeEnabledBy? Type4262 { get; set; } /// /// /// - public global::GitHub.WebhookReleasePrereleasedReleaseAuthorType? Type4263 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeEnabledByType? Type4263 { get; set; } /// /// /// - public global::GitHub.WebhookReleasePrereleasedReleaseAssetsState? Type4264 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestAutoMergeMergeMethod? Type4264 { get; set; } /// /// /// - public global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploader? Type4265 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBase? Type4265 { get; set; } /// /// /// - public global::GitHub.WebhookReleasePrereleasedReleaseAssetsUploaderType? Type4266 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepo? Type4266 { get; set; } /// /// /// - public global::GitHub.WebhookReleasePublishedAction? Type4267 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoLicense? Type4267 { get; set; } /// /// /// - public global::GitHub.WebhooksRelease1? Type4268 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoMergeCommitMessage? Type4268 { get; set; } /// /// /// - public global::GitHub.WebhookReleaseReleasedAction? Type4269 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoMergeCommitTitle? Type4269 { get; set; } /// /// /// - public global::GitHub.WebhookReleaseUnpublishedAction? Type4270 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoOwner? Type4270 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryAdvisoryPublishedAction? Type4271 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoOwnerType? Type4271 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisory? Type4272 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoPermissions? Type4272 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryAdvisoryReportedAction? Type4273 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoSquashMergeCommitMessage? Type4273 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryArchivedAction? Type4274 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoSquashMergeCommitTitle? Type4274 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryCreatedAction? Type4275 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseRepoVisibility? Type4275 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryDeletedAction? Type4276 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseUser? Type4276 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryEditedAction? Type4277 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestBaseUserType? Type4277 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryEditedChanges? Type4278 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHead? Type4278 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryEditedChangesDefaultBranch? Type4279 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepo? Type4279 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryEditedChangesDescription? Type4280 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoLicense? Type4280 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryEditedChangesHomepage? Type4281 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoMergeCommitMessage? Type4281 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryEditedChangesTopics? Type4282 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoMergeCommitTitle? Type4282 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryImportStatus? Type4283 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoOwner? Type4283 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryPrivatizedAction? Type4284 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoOwnerType? Type4284 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryPublicizedAction? Type4285 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoPermissions? Type4285 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRenamedAction? Type4286 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoSquashMergeCommitMessage? Type4286 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRenamedChanges? Type4287 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoSquashMergeCommitTitle? Type4287 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRenamedChangesRepository? Type4288 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadRepoVisibility? Type4288 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRenamedChangesRepositoryName? Type4289 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadUser? Type4289 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetCreatedAction? Type4290 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestHeadUserType? Type4290 { get; set; } /// /// /// - public global::GitHub.RepositoryRuleset? Type4291 { get; set; } + public global::System.Collections.Generic.IList? Type4291 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetDeletedAction? Type4292 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestLabel? Type4292 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedAction? Type4293 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestMilestone? Type4293 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChanges? Type4294 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestMilestoneCreator? Type4294 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesName? Type4295 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestMilestoneCreatorType? Type4295 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesEnforcement? Type4296 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestMilestoneState? Type4296 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesConditions? Type4297 { get; set; } + public global::System.Collections.Generic.IList>? Type4297 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesRules? Type4298 { get; set; } + public global::System.OneOf? Type4298 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4299 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1? Type4299 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4300 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant1Type? Type4300 { get; set; } /// /// /// - public global::GitHub.RepositoryRulesetConditions? Type4301 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2? Type4301 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChanges? Type4302 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Parent? Type4302 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesConditionType? Type4303 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4303 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesTarget? Type4304 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedReviewerVariant2Privacy? Type4304 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesInclude? Type4305 { get; set; } + public global::System.Collections.Generic.IList? Type4305 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedChangesExclude? Type4306 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeam? Type4306 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4307 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParent? Type4307 { get; set; } /// /// /// - public global::GitHub.RepositoryRule? Type4308 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamParentPrivacy? Type4308 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedChanges? Type4309 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestRequestedTeamPrivacy? Type4309 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesConfiguration? Type4310 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestState? Type4310 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesRuleType? Type4311 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestUser? Type4311 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedChangesPattern? Type4312 { get; set; } + public global::GitHub.WebhookPullRequestReviewCommentEditedPullRequestUserType? Type4312 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleType? Type4313 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissed? Type4313 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedRuleParameters? Type4314 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedAction? Type4314 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryTransferredAction? Type4315 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequest? Type4315 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryTransferredChanges? Type4316 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinks? Type4316 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryTransferredChangesOwner? Type4317 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksComments? Type4317 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryTransferredChangesOwnerFrom? Type4318 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksCommits? Type4318 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryTransferredChangesOwnerFromOrganization? Type4319 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksHtml? Type4319 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryTransferredChangesOwnerFromUser? Type4320 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksIssue? Type4320 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryTransferredChangesOwnerFromUserType? Type4321 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksReviewComment? Type4321 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryUnarchivedAction? Type4322 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksReviewComments? Type4322 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryVulnerabilityAlertCreateAction? Type4323 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksSelf? Type4323 { get; set; } /// /// /// - public global::GitHub.WebhooksAlert? Type4324 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLinksStatuses? Type4324 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryVulnerabilityAlertDismissAction? Type4325 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestActiveLockReason? Type4325 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryVulnerabilityAlertDismissAlert? Type4326 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssignee? Type4326 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryVulnerabilityAlertDismissAlertDismisser? Type4327 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType? Type4327 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryVulnerabilityAlertDismissAlertState? Type4328 { get; set; } + public global::System.Collections.Generic.IList? Type4328 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryVulnerabilityAlertDismissAlertDismisserType? Type4329 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssignee2? Type4329 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryVulnerabilityAlertReopenAction? Type4330 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAssigneeType2? Type4330 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryVulnerabilityAlertResolveAction? Type4331 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAuthorAssociation? Type4331 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryVulnerabilityAlertResolveAlert? Type4332 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAutoMerge? Type4332 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryVulnerabilityAlertResolveAlertDismisser? Type4333 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAutoMergeEnabledBy? Type4333 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryVulnerabilityAlertResolveAlertState? Type4334 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAutoMergeEnabledByType? Type4334 { get; set; } /// /// /// - public global::GitHub.WebhookRepositoryVulnerabilityAlertResolveAlertDismisserType? Type4335 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestAutoMergeMergeMethod? Type4335 { get; set; } /// /// /// - public global::GitHub.WebhookSecretScanningAlertCreatedAction? Type4336 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBase? Type4336 { get; set; } /// /// /// - public global::GitHub.SecretScanningAlertWebhook? Type4337 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepo? Type4337 { get; set; } /// /// /// - public global::GitHub.WebhookSecretScanningAlertLocationCreatedAction? Type4338 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoLicense? Type4338 { get; set; } /// /// /// - public global::GitHub.SecretScanningLocation? Type4339 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoMergeCommitMessage? Type4339 { get; set; } /// /// /// - public global::GitHub.WebhookSecretScanningAlertReopenedAction? Type4340 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoMergeCommitTitle? Type4340 { get; set; } /// /// /// - public global::GitHub.WebhookSecretScanningAlertResolvedAction? Type4341 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoOwner? Type4341 { get; set; } /// /// /// - public global::GitHub.WebhookSecretScanningAlertValidatedAction? Type4342 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoOwnerType? Type4342 { get; set; } /// /// /// - public global::GitHub.WebhookSecurityAdvisoryPublishedAction? Type4343 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoPermissions? Type4343 { get; set; } /// /// /// - public global::GitHub.WebhooksSecurityAdvisory? Type4344 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoSquashMergeCommitMessage? Type4344 { get; set; } /// /// /// - public global::GitHub.WebhookSecurityAdvisoryUpdatedAction? Type4345 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoSquashMergeCommitTitle? Type4345 { get; set; } /// /// /// - public global::GitHub.WebhookSecurityAdvisoryWithdrawnAction? Type4346 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseRepoVisibility? Type4346 { get; set; } /// /// /// - public global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory? Type4347 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseUser? Type4347 { get; set; } /// /// /// - public global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCvss? Type4348 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestBaseUserType? Type4348 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4349 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHead? Type4349 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4350 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepo? Type4350 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4351 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoLicense? Type4351 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4352 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoMergeCommitMessage? Type4352 { get; set; } /// /// /// - public global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesFirstPatchedVersion? Type4353 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoMergeCommitTitle? Type4353 { get; set; } /// /// /// - public global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiesPackage? Type4354 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoOwner? Type4354 { get; set; } /// /// /// - public global::GitHub.WebhookSecurityAndAnalysisChanges? Type4355 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoOwnerType? Type4355 { get; set; } /// /// /// - public global::GitHub.WebhookSecurityAndAnalysisChangesFrom? Type4356 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoPermissions? Type4356 { get; set; } /// /// /// - public global::GitHub.WebhookSponsorshipCancelledAction? Type4357 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoSquashMergeCommitMessage? Type4357 { get; set; } /// /// /// - public global::GitHub.WebhooksSponsorship? Type4358 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoSquashMergeCommitTitle? Type4358 { get; set; } /// /// /// - public global::GitHub.WebhookSponsorshipCreatedAction? Type4359 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadRepoVisibility? Type4359 { get; set; } /// /// /// - public global::GitHub.WebhookSponsorshipEditedAction? Type4360 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadUser? Type4360 { get; set; } /// /// /// - public global::GitHub.WebhookSponsorshipEditedChanges? Type4361 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestHeadUserType? Type4361 { get; set; } /// /// /// - public global::GitHub.WebhookSponsorshipEditedChangesPrivacyLevel? Type4362 { get; set; } + public global::System.Collections.Generic.IList? Type4362 { get; set; } /// /// /// - public global::GitHub.WebhookSponsorshipPendingCancellationAction? Type4363 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestLabel? Type4363 { get; set; } /// /// /// - public global::GitHub.WebhookSponsorshipPendingTierChangeAction? Type4364 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestMilestone? Type4364 { get; set; } /// /// /// - public global::GitHub.WebhooksChanges8? Type4365 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestMilestoneCreator? Type4365 { get; set; } /// /// /// - public global::GitHub.WebhookSponsorshipTierChangedAction? Type4366 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestMilestoneCreatorType? Type4366 { get; set; } /// /// /// - public global::GitHub.WebhookStarCreatedAction? Type4367 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestMilestoneState? Type4367 { get; set; } /// /// /// - public global::GitHub.WebhookStarDeletedAction? Type4368 { get; set; } + public global::System.Collections.Generic.IList>? Type4368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4369 { get; set; } + public global::System.OneOf? Type4369 { get; set; } /// /// /// - public global::GitHub.WebhookStatusCommit? Type4370 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1? Type4370 { get; set; } /// /// /// - public global::GitHub.WebhookStatusState? Type4371 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant1Type? Type4371 { get; set; } /// /// /// - public global::GitHub.WebhookStatusCommitAuthor? Type4372 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2? Type4372 { get; set; } /// /// /// - public global::GitHub.WebhookStatusCommitCommit? Type4373 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Parent? Type4373 { get; set; } /// /// /// - public global::GitHub.WebhookStatusCommitCommitter? Type4374 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4375 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedReviewerVariant2Privacy? Type4375 { get; set; } /// /// /// - public global::GitHub.WebhookStatusCommitAuthorType? Type4376 { get; set; } + public global::System.Collections.Generic.IList? Type4376 { get; set; } /// /// /// - public global::System.AllOf? Type4377 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeam? Type4377 { get; set; } /// /// /// - public global::System.AllOf? Type4378 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParent? Type4378 { get; set; } /// /// /// - public global::GitHub.WebhookStatusCommitCommitTree? Type4379 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamParentPrivacy? Type4379 { get; set; } /// /// /// - public global::GitHub.WebhookStatusCommitCommitVerification? Type4380 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestRequestedTeamPrivacy? Type4380 { get; set; } /// /// /// - public global::GitHub.WebhookStatusCommitCommitVerificationReason? Type4381 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestState? Type4381 { get; set; } /// /// /// - public global::GitHub.WebhookStatusCommitCommitterType? Type4382 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestUser? Type4382 { get; set; } /// /// /// - public global::GitHub.WebhookStatusBranchesCommit? Type4383 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedPullRequestUserType? Type4383 { get; set; } /// /// /// - public global::GitHub.WebhooksTeam1? Type4384 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedReview? Type4384 { get; set; } /// /// /// - public global::GitHub.WebhookTeamAddedToRepositoryAction? Type4385 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedReviewLinks? Type4385 { get; set; } /// /// /// - public global::GitHub.WebhookTeamAddedToRepositoryRepository? Type4386 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedReviewLinksHtml? Type4386 { get; set; } /// /// /// - public global::GitHub.WebhookTeamAddedToRepositoryRepositoryLicense? Type4387 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedReviewLinksPullRequest? Type4387 { get; set; } /// /// /// - public global::GitHub.WebhookTeamAddedToRepositoryRepositoryOwner? Type4388 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedReviewAuthorAssociation? Type4388 { get; set; } /// /// /// - public global::GitHub.WebhookTeamAddedToRepositoryRepositoryPermissions? Type4389 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedReviewState? Type4389 { get; set; } /// /// /// - public global::GitHub.WebhookTeamAddedToRepositoryRepositoryVisibility? Type4390 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedReviewUser? Type4390 { get; set; } /// /// /// - public global::GitHub.WebhookTeamAddedToRepositoryRepositoryOwnerType? Type4391 { get; set; } + public global::GitHub.WebhookPullRequestReviewDismissedReviewUserType? Type4391 { get; set; } /// /// /// - public global::GitHub.WebhookTeamCreatedAction? Type4392 { get; set; } + public global::GitHub.WebhookPullRequestReviewEdited? Type4392 { get; set; } /// /// /// - public global::GitHub.WebhookTeamCreatedRepository? Type4393 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedAction? Type4393 { get; set; } /// /// /// - public global::GitHub.WebhookTeamCreatedRepositoryLicense? Type4394 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedChanges? Type4394 { get; set; } /// /// /// - public global::GitHub.WebhookTeamCreatedRepositoryOwner? Type4395 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedChangesBody? Type4395 { get; set; } /// /// /// - public global::GitHub.WebhookTeamCreatedRepositoryPermissions? Type4396 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequest? Type4396 { get; set; } /// /// /// - public global::GitHub.WebhookTeamCreatedRepositoryVisibility? Type4397 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinks? Type4397 { get; set; } /// /// /// - public global::GitHub.WebhookTeamCreatedRepositoryOwnerType? Type4398 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksComments? Type4398 { get; set; } /// /// /// - public global::GitHub.WebhookTeamDeletedAction? Type4399 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksCommits? Type4399 { get; set; } /// /// /// - public global::GitHub.WebhookTeamDeletedRepository? Type4400 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksHtml? Type4400 { get; set; } /// /// /// - public global::GitHub.WebhookTeamDeletedRepositoryLicense? Type4401 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksIssue? Type4401 { get; set; } /// /// /// - public global::GitHub.WebhookTeamDeletedRepositoryOwner? Type4402 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksReviewComment? Type4402 { get; set; } /// /// /// - public global::GitHub.WebhookTeamDeletedRepositoryPermissions? Type4403 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksReviewComments? Type4403 { get; set; } /// /// /// - public global::GitHub.WebhookTeamDeletedRepositoryVisibility? Type4404 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksSelf? Type4404 { get; set; } /// /// /// - public global::GitHub.WebhookTeamDeletedRepositoryOwnerType? Type4405 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestLinksStatuses? Type4405 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedAction? Type4406 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestActiveLockReason? Type4406 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedChanges? Type4407 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestAssignee? Type4407 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedRepository? Type4408 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType? Type4408 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedChangesDescription? Type4409 { get; set; } + public global::System.Collections.Generic.IList? Type4409 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedChangesName? Type4410 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestAssignee2? Type4410 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedChangesPrivacy? Type4411 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestAssigneeType2? Type4411 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedChangesNotificationSetting? Type4412 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestAuthorAssociation? Type4412 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedChangesRepository? Type4413 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestAutoMerge? Type4413 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedChangesRepositoryPermissions? Type4414 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestAutoMergeEnabledBy? Type4414 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedChangesRepositoryPermissionsFrom? Type4415 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestAutoMergeEnabledByType? Type4415 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedRepositoryLicense? Type4416 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestAutoMergeMergeMethod? Type4416 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedRepositoryOwner? Type4417 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestBase? Type4417 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedRepositoryPermissions? Type4418 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseRepo? Type4418 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedRepositoryVisibility? Type4419 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseRepoLicense? Type4419 { get; set; } /// /// /// - public global::GitHub.WebhookTeamEditedRepositoryOwnerType? Type4420 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseRepoOwner? Type4420 { get; set; } /// /// /// - public global::GitHub.WebhookTeamRemovedFromRepositoryAction? Type4421 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseRepoOwnerType? Type4421 { get; set; } /// /// /// - public global::GitHub.WebhookTeamRemovedFromRepositoryRepository? Type4422 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseRepoPermissions? Type4422 { get; set; } /// /// /// - public global::GitHub.WebhookTeamRemovedFromRepositoryRepositoryLicense? Type4423 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseRepoVisibility? Type4423 { get; set; } /// /// /// - public global::GitHub.WebhookTeamRemovedFromRepositoryRepositoryOwner? Type4424 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseUser? Type4424 { get; set; } /// /// /// - public global::GitHub.WebhookTeamRemovedFromRepositoryRepositoryPermissions? Type4425 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestBaseUserType? Type4425 { get; set; } /// /// /// - public global::GitHub.WebhookTeamRemovedFromRepositoryRepositoryVisibility? Type4426 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestHead? Type4426 { get; set; } /// /// /// - public global::GitHub.WebhookTeamRemovedFromRepositoryRepositoryOwnerType? Type4427 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadRepo? Type4427 { get; set; } /// /// /// - public global::GitHub.WebhookWatchStartedAction? Type4428 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadRepoLicense? Type4428 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobCompletedAction? Type4429 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadRepoOwner? Type4429 { get; set; } /// /// /// - public global::System.AllOf? Type4430 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadRepoOwnerType? Type4430 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobCompletedWorkflowJobConclusion? Type4431 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadRepoPermissions? Type4431 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStatus? Type4432 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadRepoVisibility? Type4432 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4433 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadUser? Type4433 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsConclusion? Type4434 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestHeadUserType? Type4434 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobCompletedWorkflowJobStepsStatus? Type4435 { get; set; } + public global::System.Collections.Generic.IList? Type4435 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobInProgressAction? Type4436 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestLabel? Type4436 { get; set; } /// /// /// - public global::System.AllOf? Type4437 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestMilestone? Type4437 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobConclusion? Type4438 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestMilestoneCreator? Type4438 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStatus? Type4439 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestMilestoneCreatorType? Type4439 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4440 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestMilestoneState? Type4440 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsConclusion? Type4441 { get; set; } + public global::System.Collections.Generic.IList>? Type4441 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobStepsStatus? Type4442 { get; set; } + public global::System.OneOf? Type4442 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobQueuedAction? Type4443 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1? Type4443 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobQueuedWorkflowJob? Type4444 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant1Type? Type4444 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStatus? Type4445 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2? Type4445 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4446 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Parent? Type4446 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsConclusion? Type4447 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4447 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepsStatus? Type4448 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedReviewerVariant2Privacy? Type4448 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobWaitingAction? Type4449 { get; set; } + public global::System.Collections.Generic.IList? Type4449 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobWaitingWorkflowJob? Type4450 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeam? Type4450 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStatus? Type4451 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParent? Type4451 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4452 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamParentPrivacy? Type4452 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsConclusion? Type4453 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestRequestedTeamPrivacy? Type4453 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepsStatus? Type4454 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestState? Type4454 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedAction? Type4455 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestUser? Type4455 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRun? Type4456 { get; set; } + public global::GitHub.WebhookPullRequestReviewEditedPullRequestUserType? Type4456 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunActor? Type4457 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemoved? Type4457 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunConclusion? Type4458 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1? Type4458 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunHeadCommit? Type4459 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1Action? Type4459 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunHeadRepository? Type4460 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequest? Type4460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4461 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinks? Type4461 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4462 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksComments? Type4462 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunRepository? Type4463 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksCommits? Type4463 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunStatus? Type4464 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksHtml? Type4464 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunTriggeringActor? Type4465 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksIssue? Type4465 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunActorType? Type4466 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksReviewComment? Type4466 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunHeadCommitAuthor? Type4467 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksReviewComments? Type4467 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunHeadCommitCommitter? Type4468 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksSelf? Type4468 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunHeadRepositoryOwner? Type4469 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLinksStatuses? Type4469 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunHeadRepositoryOwnerType? Type4470 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestActiveLockReason? Type4470 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunRepositoryOwner? Type4471 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignee? Type4471 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunRepositoryOwnerType? Type4472 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType? Type4472 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunTriggeringActorType? Type4473 { get; set; } + public global::System.Collections.Generic.IList? Type4473 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestsBase? Type4474 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssignee2? Type4474 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestsHead? Type4475 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAssigneeType2? Type4475 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestsBaseRepo? Type4476 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAuthorAssociation? Type4476 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestsHeadRepo? Type4477 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMerge? Type4477 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressAction? Type4478 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeEnabledBy? Type4478 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRun? Type4479 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeEnabledByType? Type4479 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunActor? Type4480 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestAutoMergeMergeMethod? Type4480 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunConclusion? Type4481 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBase? Type4481 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunHeadCommit? Type4482 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepo? Type4482 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunHeadRepository? Type4483 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoLicense? Type4483 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4484 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoMergeCommitMessage? Type4484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4485 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoMergeCommitTitle? Type4485 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunRepository? Type4486 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoOwner? Type4486 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunStatus? Type4487 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoOwnerType? Type4487 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunTriggeringActor? Type4488 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoPermissions? Type4488 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunActorType? Type4489 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoSquashMergeCommitMessage? Type4489 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunHeadCommitAuthor? Type4490 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoSquashMergeCommitTitle? Type4490 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunHeadCommitCommitter? Type4491 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseRepoVisibility? Type4491 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunHeadRepositoryOwner? Type4492 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUser? Type4492 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunHeadRepositoryOwnerType? Type4493 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestBaseUserType? Type4493 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunRepositoryOwner? Type4494 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHead? Type4494 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunRepositoryOwnerType? Type4495 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepo? Type4495 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunTriggeringActorType? Type4496 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoLicense? Type4496 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestsBase? Type4497 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoMergeCommitMessage? Type4497 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestsHead? Type4498 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoMergeCommitTitle? Type4498 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestsBaseRepo? Type4499 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoOwner? Type4499 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestsHeadRepo? Type4500 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoOwnerType? Type4500 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedAction? Type4501 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoPermissions? Type4501 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRun? Type4502 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoSquashMergeCommitMessage? Type4502 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunActor? Type4503 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoSquashMergeCommitTitle? Type4503 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunConclusion? Type4504 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadRepoVisibility? Type4504 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunHeadCommit? Type4505 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUser? Type4505 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunHeadRepository? Type4506 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestHeadUserType? Type4506 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4507 { get; set; } + public global::System.Collections.Generic.IList? Type4507 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4508 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestLabel? Type4508 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunRepository? Type4509 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMergedBy? Type4509 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunStatus? Type4510 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMergedByType? Type4510 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunTriggeringActor? Type4511 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestone? Type4511 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunActorType? Type4512 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneCreator? Type4512 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunHeadCommitAuthor? Type4513 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneCreatorType? Type4513 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunHeadCommitCommitter? Type4514 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestMilestoneState? Type4514 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunHeadRepositoryOwner? Type4515 { get; set; } + public global::System.Collections.Generic.IList>? Type4515 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunHeadRepositoryOwnerType? Type4516 { get; set; } + public global::System.OneOf? Type4516 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunRepositoryOwner? Type4517 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1? Type4517 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunRepositoryOwnerType? Type4518 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant1Type? Type4518 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunTriggeringActorType? Type4519 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2? Type4519 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestsBase? Type4520 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Parent? Type4520 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestsHead? Type4521 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy? Type4521 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestsBaseRepo? Type4522 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedReviewerVariant2Privacy? Type4522 { get; set; } /// /// /// - public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestsHeadRepo? Type4523 { get; set; } + public global::System.Collections.Generic.IList? Type4523 { get; set; } /// /// /// - public global::GitHub.Root? Type4524 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeam? Type4524 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4525 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParent? Type4525 { get; set; } /// /// /// - public global::GitHub.BasicError? Type4526 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamParentPrivacy? Type4526 { get; set; } /// /// /// - public global::GitHub.ValidationErrorSimple? Type4527 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestRequestedTeamPrivacy? Type4527 { get; set; } /// /// /// - public global::GitHub.GlobalAdvisory? Type4528 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestState? Type4528 { get; set; } /// /// /// - public global::System.AllOf? Type4529 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUser? Type4529 { get; set; } /// /// /// - public global::GitHub.AppsUpdateWebhookConfigForAppRequest? Type4530 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1PullRequestUserType? Type4530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4531 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewer? Type4531 { get; set; } /// /// /// - public global::GitHub.ScimError? Type4532 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant1RequestedReviewerType? Type4532 { get; set; } /// /// /// - public global::GitHub.ValidationError? Type4533 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2? Type4533 { get; set; } /// /// /// - public global::GitHub.HookDelivery? Type4534 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2Action? Type4534 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4535 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequest? Type4535 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4536 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinks? Type4536 { get; set; } /// /// /// - public global::GitHub.AppsCreateInstallationAccessTokenRequest? Type4537 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksComments? Type4537 { get; set; } /// /// /// - public global::GitHub.InstallationToken? Type4538 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksCommits? Type4538 { get; set; } /// /// /// - public global::GitHub.AppsDeleteAuthorizationRequest? Type4539 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksHtml? Type4539 { get; set; } /// /// /// - public global::GitHub.AppsCheckTokenRequest? Type4540 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksIssue? Type4540 { get; set; } /// /// /// - public global::GitHub.Authorization? Type4541 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksReviewComment? Type4541 { get; set; } /// /// /// - public global::GitHub.AppsResetTokenRequest? Type4542 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksReviewComments? Type4542 { get; set; } /// /// /// - public global::GitHub.AppsDeleteTokenRequest? Type4543 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksSelf? Type4543 { get; set; } /// /// /// - public global::GitHub.AppsScopeTokenRequest? Type4544 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLinksStatuses? Type4544 { get; set; } /// /// /// - public global::GitHub.ClassroomAssignment? Type4545 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestActiveLockReason? Type4545 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4546 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignee? Type4546 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4547 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType? Type4547 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4548 { get; set; } + public global::System.Collections.Generic.IList? Type4548 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4549 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssignee2? Type4549 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4550 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAssigneeType2? Type4550 { get; set; } /// /// /// - public global::GitHub.CopilotListCopilotSeatsForEnterpriseResponse? Type4551 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAuthorAssociation? Type4551 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4552 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMerge? Type4552 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4553 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeEnabledBy? Type4553 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4554 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeEnabledByType? Type4554 { get; set; } /// /// /// - public global::GitHub.SecretScanningListAlertsForEnterpriseResponse? Type4555 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestAutoMergeMergeMethod? Type4555 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4556 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBase? Type4556 { get; set; } /// /// /// - public global::GitHub.ActivityListPublicEventsResponse? Type4557 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepo? Type4557 { get; set; } /// /// /// - public global::GitHub.Feed? Type4558 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoLicense? Type4558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4559 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoMergeCommitMessage? Type4559 { get; set; } /// /// /// - public global::GitHub.GistsCreateRequest? Type4560 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoMergeCommitTitle? Type4560 { get; set; } /// /// /// - public global::GitHub.GistSimple? Type4561 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoOwner? Type4561 { get; set; } /// /// /// - public global::GitHub.GistsGetResponse? Type4562 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoOwnerType? Type4562 { get; set; } /// /// /// - public global::GitHub.GistsUpdateRequest? Type4563 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoPermissions? Type4563 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4564 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoSquashMergeCommitMessage? Type4564 { get; set; } /// /// /// - public global::GitHub.GistsCreateCommentRequest? Type4565 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoSquashMergeCommitTitle? Type4565 { get; set; } /// /// /// - public global::GitHub.GistComment? Type4566 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseRepoVisibility? Type4566 { get; set; } /// /// /// - public global::GitHub.GistsGetCommentResponse? Type4567 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUser? Type4567 { get; set; } /// /// /// - public global::GitHub.GistsUpdateCommentRequest? Type4568 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestBaseUserType? Type4568 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4569 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHead? Type4569 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4570 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepo? Type4570 { get; set; } /// /// /// - public global::GitHub.BaseGist? Type4571 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoLicense? Type4571 { get; set; } /// /// /// - public global::GitHub.GitignoreTemplate? Type4572 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoMergeCommitMessage? Type4572 { get; set; } /// /// /// - public global::GitHub.AppsListReposAccessibleToInstallationResponse? Type4573 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoMergeCommitTitle? Type4573 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4574 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoOwner? Type4574 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4575 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoOwnerType? Type4575 { get; set; } /// /// /// - public global::GitHub.License? Type4576 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoPermissions? Type4576 { get; set; } /// /// /// - public global::GitHub.MarkdownRenderRequest? Type4577 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoSquashMergeCommitMessage? Type4577 { get; set; } /// /// /// - public global::GitHub.MarketplacePurchase? Type4578 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoSquashMergeCommitTitle? Type4578 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4579 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadRepoVisibility? Type4579 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4580 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUser? Type4580 { get; set; } /// /// /// - public global::GitHub.ApiOverview? Type4581 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestHeadUserType? Type4581 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4582 { get; set; } + public global::System.Collections.Generic.IList? Type4582 { get; set; } /// /// /// - public global::GitHub.ActivityMarkNotificationsAsReadRequest? Type4583 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestLabel? Type4583 { get; set; } /// /// /// - public global::GitHub.ActivityMarkNotificationsAsReadResponse? Type4584 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMergedBy? Type4584 { get; set; } /// /// /// - public global::GitHub.Thread? Type4585 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMergedByType? Type4585 { get; set; } /// /// /// - public global::GitHub.ThreadSubscription? Type4586 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestone? Type4586 { get; set; } /// /// /// - public global::GitHub.ActivitySetThreadSubscriptionRequest? Type4587 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneCreator? Type4587 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4588 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneCreatorType? Type4588 { get; set; } /// /// /// - public global::GitHub.OrganizationFull? Type4589 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestMilestoneState? Type4589 { get; set; } /// /// /// - public global::GitHub.OrgsUpdateRequest? Type4590 { get; set; } + public global::System.Collections.Generic.IList>? Type4590 { get; set; } /// /// /// - public global::System.OneOf? Type4591 { get; set; } + public global::System.OneOf? Type4591 { get; set; } /// /// /// - public global::GitHub.ActionsCacheUsageOrgEnterprise? Type4592 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1? Type4592 { get; set; } /// /// /// - public global::GitHub.ActionsGetActionsCacheUsageByRepoForOrgResponse? Type4593 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant1Type? Type4593 { get; set; } /// /// /// - public global::GitHub.OidcCustomSub? Type4594 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2? Type4594 { get; set; } /// /// /// - public global::GitHub.EmptyObject? Type4595 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Parent? Type4595 { get; set; } /// /// /// - public global::GitHub.ActionsOrganizationPermissions? Type4596 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy? Type4596 { get; set; } /// /// /// - public global::GitHub.ActionsSetGithubActionsPermissionsOrganizationRequest? Type4597 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedReviewerVariant2Privacy? Type4597 { get; set; } /// /// /// - public global::GitHub.ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationResponse? Type4598 { get; set; } + public global::System.Collections.Generic.IList? Type4598 { get; set; } /// /// /// - public global::GitHub.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationRequest? Type4599 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeam? Type4599 { get; set; } /// /// /// - public global::GitHub.SelectedActions? Type4600 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParent? Type4600 { get; set; } /// /// /// - public global::GitHub.ActionsGetDefaultWorkflowPermissions? Type4601 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamParentPrivacy? Type4601 { get; set; } /// /// /// - public global::GitHub.ActionsSetDefaultWorkflowPermissions? Type4602 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestRequestedTeamPrivacy? Type4602 { get; set; } /// /// /// - public global::GitHub.ActionsListSelfHostedRunnersForOrgResponse? Type4603 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestState? Type4603 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4604 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUser? Type4604 { get; set; } /// /// /// - public global::GitHub.ActionsGenerateRunnerJitconfigForOrgRequest? Type4605 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2PullRequestUserType? Type4605 { get; set; } /// /// /// - public global::GitHub.ActionsGenerateRunnerJitconfigForOrgResponse? Type4606 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeam? Type4606 { get; set; } /// /// /// - public global::GitHub.AuthenticationToken? Type4607 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamParent? Type4607 { get; set; } /// /// /// - public global::GitHub.Runner? Type4608 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamParentPrivacy? Type4608 { get; set; } /// /// /// - public global::GitHub.ActionsListLabelsForSelfHostedRunnerForOrgResponse? Type4609 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestRemovedVariant2RequestedTeamPrivacy? Type4609 { get; set; } /// /// /// - public global::GitHub.ActionsAddCustomLabelsToSelfHostedRunnerForOrgRequest? Type4610 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequested? Type4610 { get; set; } /// /// /// - public global::GitHub.ActionsAddCustomLabelsToSelfHostedRunnerForOrgResponse? Type4611 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1? Type4611 { get; set; } /// /// /// - public global::GitHub.ActionsSetCustomLabelsForSelfHostedRunnerForOrgRequest? Type4612 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1Action? Type4612 { get; set; } /// /// /// - public global::GitHub.ActionsSetCustomLabelsForSelfHostedRunnerForOrgResponse? Type4613 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequest? Type4613 { get; set; } /// /// /// - public global::GitHub.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrgResponse? Type4614 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinks? Type4614 { get; set; } /// /// /// - public global::GitHub.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrgResponse? Type4615 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksComments? Type4615 { get; set; } /// /// /// - public global::GitHub.ActionsListOrgSecretsResponse? Type4616 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksCommits? Type4616 { get; set; } /// /// /// - public global::GitHub.ActionsPublicKey? Type4617 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksHtml? Type4617 { get; set; } /// /// /// - public global::GitHub.OrganizationActionsSecret? Type4618 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksIssue? Type4618 { get; set; } /// /// /// - public global::GitHub.ActionsCreateOrUpdateOrgSecretRequest? Type4619 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksReviewComment? Type4619 { get; set; } /// /// /// - public global::GitHub.ActionsListSelectedReposForOrgSecretResponse? Type4620 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksReviewComments? Type4620 { get; set; } /// /// /// - public global::GitHub.ActionsSetSelectedReposForOrgSecretRequest? Type4621 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksSelf? Type4621 { get; set; } /// /// /// - public global::GitHub.ActionsListOrgVariablesResponse? Type4622 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLinksStatuses? Type4622 { get; set; } /// /// /// - public global::GitHub.ActionsCreateOrgVariableRequest? Type4623 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestActiveLockReason? Type4623 { get; set; } /// /// /// - public global::GitHub.OrganizationActionsVariable? Type4624 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssignee? Type4624 { get; set; } /// /// /// - public global::GitHub.ActionsUpdateOrgVariableRequest? Type4625 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType? Type4625 { get; set; } /// /// /// - public global::GitHub.ActionsListSelectedReposForOrgVariableResponse? Type4626 { get; set; } + public global::System.Collections.Generic.IList? Type4626 { get; set; } /// /// /// - public global::GitHub.ActionsSetSelectedReposForOrgVariableRequest? Type4627 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssignee2? Type4627 { get; set; } /// /// /// - public global::GitHub.OrgsListAttestationsResponse? Type4628 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAssigneeType2? Type4628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4629 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAuthorAssociation? Type4629 { get; set; } /// /// /// - public global::GitHub.CodeScanningListAlertsForOrgResponse? Type4630 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMerge? Type4630 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4631 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeEnabledBy? Type4631 { get; set; } /// /// /// - public global::GitHub.CodeSecurityCreateConfigurationRequest? Type4632 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeEnabledByType? Type4632 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4633 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestAutoMergeMergeMethod? Type4633 { get; set; } /// /// /// - public global::GitHub.CodeSecurityDetachConfigurationRequest? Type4634 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBase? Type4634 { get; set; } /// /// /// - public global::GitHub.CodeSecurityUpdateConfigurationRequest? Type4635 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepo? Type4635 { get; set; } /// /// /// - public global::GitHub.CodeSecurityAttachConfigurationRequest? Type4636 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoLicense? Type4636 { get; set; } /// /// /// - public global::GitHub.CodeSecuritySetConfigurationAsDefaultRequest? Type4637 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoMergeCommitMessage? Type4637 { get; set; } /// /// /// - public global::GitHub.CodeSecuritySetConfigurationAsDefaultResponse? Type4638 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoMergeCommitTitle? Type4638 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4639 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoOwner? Type4639 { get; set; } /// /// /// - public global::GitHub.CodespacesListInOrganizationResponse? Type4640 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoOwnerType? Type4640 { get; set; } /// /// /// - public global::GitHub.CodespacesSetCodespacesAccessRequest? Type4641 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoPermissions? Type4641 { get; set; } /// /// /// - public global::GitHub.CodespacesSetCodespacesAccessUsersRequest? Type4642 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoSquashMergeCommitMessage? Type4642 { get; set; } /// /// /// - public global::GitHub.CodespacesDeleteCodespacesAccessUsersRequest? Type4643 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoSquashMergeCommitTitle? Type4643 { get; set; } /// /// /// - public global::GitHub.CodespacesListOrgSecretsResponse? Type4644 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseRepoVisibility? Type4644 { get; set; } /// /// /// - public global::GitHub.CodespacesPublicKey? Type4645 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUser? Type4645 { get; set; } /// /// /// - public global::GitHub.CodespacesOrgSecret? Type4646 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestBaseUserType? Type4646 { get; set; } /// /// /// - public global::GitHub.CodespacesCreateOrUpdateOrgSecretRequest? Type4647 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHead? Type4647 { get; set; } /// /// /// - public global::GitHub.CodespacesListSelectedReposForOrgSecretResponse? Type4648 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepo? Type4648 { get; set; } /// /// /// - public global::GitHub.CodespacesSetSelectedReposForOrgSecretRequest? Type4649 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoLicense? Type4649 { get; set; } /// /// /// - public global::GitHub.CopilotOrganizationDetails? Type4650 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoMergeCommitMessage? Type4650 { get; set; } /// /// /// - public global::GitHub.CopilotListCopilotSeatsResponse? Type4651 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoMergeCommitTitle? Type4651 { get; set; } /// /// /// - public global::GitHub.CopilotAddCopilotSeatsForTeamsRequest? Type4652 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoOwner? Type4652 { get; set; } /// /// /// - public global::GitHub.CopilotAddCopilotSeatsForTeamsResponse? Type4653 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoOwnerType? Type4653 { get; set; } /// /// /// - public global::GitHub.CopilotCancelCopilotSeatAssignmentForTeamsRequest? Type4654 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoPermissions? Type4654 { get; set; } /// /// /// - public global::GitHub.CopilotCancelCopilotSeatAssignmentForTeamsResponse? Type4655 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoSquashMergeCommitMessage? Type4655 { get; set; } /// /// /// - public global::GitHub.CopilotAddCopilotSeatsForUsersRequest? Type4656 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoSquashMergeCommitTitle? Type4656 { get; set; } /// /// /// - public global::GitHub.CopilotAddCopilotSeatsForUsersResponse? Type4657 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadRepoVisibility? Type4657 { get; set; } /// /// /// - public global::GitHub.CopilotCancelCopilotSeatAssignmentForUsersRequest? Type4658 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUser? Type4658 { get; set; } /// /// /// - public global::GitHub.CopilotCancelCopilotSeatAssignmentForUsersResponse? Type4659 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestHeadUserType? Type4659 { get; set; } /// /// /// - public global::GitHub.DependabotListOrgSecretsResponse? Type4660 { get; set; } + public global::System.Collections.Generic.IList? Type4660 { get; set; } /// /// /// - public global::GitHub.DependabotPublicKey? Type4661 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestLabel? Type4661 { get; set; } /// /// /// - public global::GitHub.OrganizationDependabotSecret? Type4662 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestMergedBy? Type4662 { get; set; } /// /// /// - public global::GitHub.DependabotCreateOrUpdateOrgSecretRequest? Type4663 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestMergedByType? Type4663 { get; set; } /// /// /// - public global::GitHub.DependabotListSelectedReposForOrgSecretResponse? Type4664 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestMilestone? Type4664 { get; set; } /// /// /// - public global::GitHub.DependabotSetSelectedReposForOrgSecretRequest? Type4665 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneCreator? Type4665 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4666 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneCreatorType? Type4666 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4667 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestMilestoneState? Type4667 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4668 { get; set; } + public global::System.Collections.Generic.IList>? Type4668 { get; set; } /// /// /// - public global::GitHub.OrgsCreateWebhookRequest? Type4669 { get; set; } + public global::System.OneOf? Type4669 { get; set; } /// /// /// - public global::GitHub.OrgHook? Type4670 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1? Type4670 { get; set; } /// /// /// - public global::GitHub.OrgsUpdateWebhookRequest? Type4671 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant1Type? Type4671 { get; set; } /// /// /// - public global::GitHub.OrgsUpdateWebhookConfigForOrgRequest? Type4672 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2? Type4672 { get; set; } /// /// /// - public global::GitHub.OrgsListAppInstallationsResponse? Type4673 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Parent? Type4673 { get; set; } /// /// /// - public global::System.AnyOf? Type4674 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2ParentPrivacy? Type4674 { get; set; } /// /// /// - public global::GitHub.InteractionLimit? Type4675 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedReviewerVariant2Privacy? Type4675 { get; set; } /// /// /// - public global::GitHub.InteractionLimitResponse? Type4676 { get; set; } + public global::System.Collections.Generic.IList? Type4676 { get; set; } /// /// /// - public global::GitHub.OrgsCreateInvitationRequest? Type4677 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeam? Type4677 { get; set; } /// /// /// - public global::GitHub.OrganizationInvitation? Type4678 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParent? Type4678 { get; set; } /// /// /// - public global::GitHub.CodespacesGetCodespacesForUserInOrgResponse? Type4679 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamParentPrivacy? Type4679 { get; set; } /// /// /// - public global::GitHub.Codespace? Type4680 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestRequestedTeamPrivacy? Type4680 { get; set; } /// /// /// - public global::GitHub.CopilotSeatDetails? Type4681 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestState? Type4681 { get; set; } /// /// /// - public global::GitHub.OrgMembership? Type4682 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestUser? Type4682 { get; set; } /// /// /// - public global::GitHub.OrgsSetMembershipForUserRequest? Type4683 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1PullRequestUserType? Type4683 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4684 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1RequestedReviewer? Type4684 { get; set; } /// /// /// - public global::GitHub.MigrationsStartForOrgRequest? Type4685 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant1RequestedReviewerType? Type4685 { get; set; } /// /// /// - public global::GitHub.Migration? Type4686 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2? Type4686 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4687 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2Action? Type4687 { get; set; } /// /// /// - public global::GitHub.OrgsListOrgRolesResponse? Type4688 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequest? Type4688 { get; set; } /// /// /// - public global::GitHub.OrganizationRole? Type4689 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinks? Type4689 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4690 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksComments? Type4690 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4691 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksCommits? Type4691 { get; set; } /// /// /// - public global::GitHub.OrgsConvertMemberToOutsideCollaboratorRequest? Type4692 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksHtml? Type4692 { get; set; } /// /// /// - public global::GitHub.OrgsRemoveOutsideCollaboratorResponse? Type4693 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksIssue? Type4693 { get; set; } /// /// /// - public global::GitHub.Package? Type4694 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksReviewComment? Type4694 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4695 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksReviewComments? Type4695 { get; set; } /// /// /// - public global::GitHub.PackageVersion? Type4696 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksSelf? Type4696 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4697 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLinksStatuses? Type4697 { get; set; } /// /// /// - public global::GitHub.OrgsReviewPatGrantRequestsInBulkRequest? Type4698 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestActiveLockReason? Type4698 { get; set; } /// /// /// - public global::GitHub.OrgsReviewPatGrantRequestRequest? Type4699 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssignee? Type4699 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4700 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType? Type4700 { get; set; } /// /// /// - public global::GitHub.OrgsUpdatePatAccessesRequest? Type4701 { get; set; } + public global::System.Collections.Generic.IList? Type4701 { get; set; } /// /// /// - public global::GitHub.OrgsUpdatePatAccessRequest? Type4702 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssignee2? Type4702 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4703 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAssigneeType2? Type4703 { get; set; } /// /// /// - public global::GitHub.ProjectsCreateForOrgRequest? Type4704 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAuthorAssociation? Type4704 { get; set; } /// /// /// - public global::GitHub.Project? Type4705 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMerge? Type4705 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4706 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeEnabledBy? Type4706 { get; set; } /// /// /// - public global::GitHub.OrgsCreateOrUpdateCustomPropertiesRequest? Type4707 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeEnabledByType? Type4707 { get; set; } /// /// /// - public global::GitHub.OrgsCreateOrUpdateCustomPropertyRequest? Type4708 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestAutoMergeMergeMethod? Type4708 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4709 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBase? Type4709 { get; set; } /// /// /// - public global::GitHub.OrgsCreateOrUpdateCustomPropertiesValuesForReposRequest? Type4710 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepo? Type4710 { get; set; } /// /// /// - public global::GitHub.ReposCreateInOrgRequest? Type4711 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoLicense? Type4711 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4712 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoMergeCommitMessage? Type4712 { get; set; } /// /// /// - public global::GitHub.ReposCreateOrgRulesetRequest? Type4713 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoMergeCommitTitle? Type4713 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4714 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoOwner? Type4714 { get; set; } /// /// /// - public global::GitHub.RuleSuite? Type4715 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoOwnerType? Type4715 { get; set; } /// /// /// - public global::GitHub.ReposUpdateOrgRulesetRequest? Type4716 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoPermissions? Type4716 { get; set; } /// /// /// - public global::GitHub.SecretScanningListAlertsForOrgResponse? Type4717 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoSquashMergeCommitMessage? Type4717 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4718 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoSquashMergeCommitTitle? Type4718 { get; set; } /// /// /// - public global::GitHub.ActionsBillingUsage? Type4719 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseRepoVisibility? Type4719 { get; set; } /// /// /// - public global::GitHub.PackagesBillingUsage? Type4720 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUser? Type4720 { get; set; } /// /// /// - public global::GitHub.CombinedBillingUsage? Type4721 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestBaseUserType? Type4721 { get; set; } /// /// /// - public global::GitHub.TeamsCreateRequest? Type4722 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHead? Type4722 { get; set; } /// /// /// - public global::GitHub.TeamFull? Type4723 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepo? Type4723 { get; set; } /// /// /// - public global::GitHub.TeamsUpdateInOrgRequest? Type4724 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoLicense? Type4724 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4725 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoMergeCommitMessage? Type4725 { get; set; } /// /// /// - public global::GitHub.TeamsCreateDiscussionInOrgRequest? Type4726 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoMergeCommitTitle? Type4726 { get; set; } /// /// /// - public global::GitHub.TeamDiscussion? Type4727 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoOwner? Type4727 { get; set; } /// /// /// - public global::GitHub.TeamsUpdateDiscussionInOrgRequest? Type4728 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoOwnerType? Type4728 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4729 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoPermissions? Type4729 { get; set; } /// /// /// - public global::GitHub.TeamsCreateDiscussionCommentInOrgRequest? Type4730 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoSquashMergeCommitMessage? Type4730 { get; set; } /// /// /// - public global::GitHub.TeamDiscussionComment? Type4731 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoSquashMergeCommitTitle? Type4731 { get; set; } /// /// /// - public global::GitHub.TeamsUpdateDiscussionCommentInOrgRequest? Type4732 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadRepoVisibility? Type4732 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4733 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUser? Type4733 { get; set; } /// /// /// - public global::GitHub.ReactionsCreateForTeamDiscussionCommentInOrgRequest? Type4734 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestHeadUserType? Type4734 { get; set; } /// /// /// - public global::GitHub.Reaction? Type4735 { get; set; } + public global::System.Collections.Generic.IList? Type4735 { get; set; } /// /// /// - public global::GitHub.ReactionsCreateForTeamDiscussionInOrgRequest? Type4736 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestLabel? Type4736 { get; set; } /// /// /// - public global::GitHub.TeamMembership? Type4737 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestMergedBy? Type4737 { get; set; } /// /// /// - public global::GitHub.TeamsAddOrUpdateMembershipForUserInOrgRequest? Type4738 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestMergedByType? Type4738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4739 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestMilestone? Type4739 { get; set; } /// /// /// - public global::GitHub.TeamProject? Type4740 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneCreator? Type4740 { get; set; } /// /// /// - public global::GitHub.TeamsAddOrUpdateProjectPermissionsInOrgRequest? Type4741 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneCreatorType? Type4741 { get; set; } /// /// /// - public global::GitHub.TeamsAddOrUpdateProjectPermissionsInOrgResponse? Type4742 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestMilestoneState? Type4742 { get; set; } /// /// /// - public global::GitHub.TeamRepository? Type4743 { get; set; } + public global::System.Collections.Generic.IList>? Type4743 { get; set; } /// /// /// - public global::GitHub.TeamsAddOrUpdateRepoPermissionsInOrgRequest? Type4744 { get; set; } + public global::System.OneOf? Type4744 { get; set; } /// /// /// - public global::GitHub.ProjectCard? Type4745 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1? Type4745 { get; set; } /// /// /// - public global::GitHub.ProjectsUpdateCardRequest? Type4746 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant1Type? Type4746 { get; set; } /// /// /// - public global::GitHub.ProjectsDeleteCardResponse? Type4747 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2? Type4747 { get; set; } /// /// /// - public global::GitHub.ProjectsMoveCardRequest? Type4748 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Parent? Type4748 { get; set; } /// /// /// - public global::GitHub.ProjectsMoveCardResponse? Type4749 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2ParentPrivacy? Type4749 { get; set; } /// /// /// - public global::GitHub.ProjectColumn? Type4750 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedReviewerVariant2Privacy? Type4750 { get; set; } /// /// /// - public global::GitHub.ProjectsUpdateColumnRequest? Type4751 { get; set; } + public global::System.Collections.Generic.IList? Type4751 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4752 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeam? Type4752 { get; set; } /// /// /// - public global::System.OneOf? Type4753 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParent? Type4753 { get; set; } /// /// /// - public global::GitHub.ProjectsCreateCardResponse? Type4754 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamParentPrivacy? Type4754 { get; set; } /// /// /// - public global::GitHub.ProjectsMoveColumnRequest? Type4755 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestRequestedTeamPrivacy? Type4755 { get; set; } /// /// /// - public global::GitHub.ProjectsUpdateRequest? Type4756 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestState? Type4756 { get; set; } /// /// /// - public global::GitHub.ProjectsUpdateResponse? Type4757 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestUser? Type4757 { get; set; } /// /// /// - public global::GitHub.ProjectsDeleteResponse? Type4758 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2PullRequestUserType? Type4758 { get; set; } /// /// /// - public global::GitHub.ProjectsAddCollaboratorRequest? Type4759 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2RequestedTeam? Type4759 { get; set; } /// /// /// - public global::GitHub.ProjectCollaboratorPermission? Type4760 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2RequestedTeamParent? Type4760 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4761 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2RequestedTeamParentPrivacy? Type4761 { get; set; } /// /// /// - public global::GitHub.ProjectsCreateColumnRequest? Type4762 { get; set; } + public global::GitHub.WebhookPullRequestReviewRequestedVariant2RequestedTeamPrivacy? Type4762 { get; set; } /// /// /// - public global::GitHub.RateLimitOverview? Type4763 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmitted? Type4763 { get; set; } /// /// /// - public global::GitHub.ReposUpdateRequest? Type4764 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedAction? Type4764 { get; set; } /// /// /// - public global::GitHub.ReposDeleteResponse? Type4765 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequest? Type4765 { get; set; } /// /// /// - public global::GitHub.ActionsListArtifactsForRepoResponse? Type4766 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinks? Type4766 { get; set; } /// /// /// - public global::GitHub.Artifact? Type4767 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksComments? Type4767 { get; set; } /// /// /// - public global::GitHub.ActionsCacheUsageByRepository? Type4768 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksCommits? Type4768 { get; set; } /// /// /// - public global::GitHub.ActionsCacheList? Type4769 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksHtml? Type4769 { get; set; } /// /// /// - public global::GitHub.Job? Type4770 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksIssue? Type4770 { get; set; } /// /// /// - public global::GitHub.ActionsReRunJobForWorkflowRunRequest? Type4771 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksReviewComment? Type4771 { get; set; } /// /// /// - public global::GitHub.OidcCustomSubRepo? Type4772 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksReviewComments? Type4772 { get; set; } /// /// /// - public global::GitHub.ActionsSetCustomOidcSubClaimForRepoRequest? Type4773 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksSelf? Type4773 { get; set; } /// /// /// - public global::GitHub.ActionsListRepoOrganizationSecretsResponse? Type4774 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLinksStatuses? Type4774 { get; set; } /// /// /// - public global::GitHub.ActionsListRepoOrganizationVariablesResponse? Type4775 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestActiveLockReason? Type4775 { get; set; } /// /// /// - public global::GitHub.ActionsRepositoryPermissions? Type4776 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssignee? Type4776 { get; set; } /// /// /// - public global::GitHub.ActionsSetGithubActionsPermissionsRepositoryRequest? Type4777 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType? Type4777 { get; set; } /// /// /// - public global::GitHub.ActionsWorkflowAccessToRepository? Type4778 { get; set; } + public global::System.Collections.Generic.IList? Type4778 { get; set; } /// /// /// - public global::GitHub.ActionsListSelfHostedRunnersForRepoResponse? Type4779 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssignee2? Type4779 { get; set; } /// /// /// - public global::GitHub.ActionsGenerateRunnerJitconfigForRepoRequest? Type4780 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAssigneeType2? Type4780 { get; set; } /// /// /// - public global::GitHub.ActionsGenerateRunnerJitconfigForRepoResponse? Type4781 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAuthorAssociation? Type4781 { get; set; } /// /// /// - public global::GitHub.ActionsListLabelsForSelfHostedRunnerForRepoResponse? Type4782 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAutoMerge? Type4782 { get; set; } /// /// /// - public global::GitHub.ActionsAddCustomLabelsToSelfHostedRunnerForRepoRequest? Type4783 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAutoMergeEnabledBy? Type4783 { get; set; } /// /// /// - public global::GitHub.ActionsAddCustomLabelsToSelfHostedRunnerForRepoResponse? Type4784 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAutoMergeEnabledByType? Type4784 { get; set; } /// /// /// - public global::GitHub.ActionsSetCustomLabelsForSelfHostedRunnerForRepoRequest? Type4785 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestAutoMergeMergeMethod? Type4785 { get; set; } /// /// /// - public global::GitHub.ActionsSetCustomLabelsForSelfHostedRunnerForRepoResponse? Type4786 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBase? Type4786 { get; set; } /// /// /// - public global::GitHub.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepoResponse? Type4787 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepo? Type4787 { get; set; } /// /// /// - public global::GitHub.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepoResponse? Type4788 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoLicense? Type4788 { get; set; } /// /// /// - public global::GitHub.ActionsListWorkflowRunsForRepoResponse? Type4789 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoMergeCommitMessage? Type4789 { get; set; } /// /// /// - public global::GitHub.WorkflowRun? Type4790 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoMergeCommitTitle? Type4790 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4791 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoOwner? Type4791 { get; set; } /// /// /// - public global::GitHub.ActionsListWorkflowRunArtifactsResponse? Type4792 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoOwnerType? Type4792 { get; set; } /// /// /// - public global::GitHub.ActionsListJobsForWorkflowRunAttemptResponse? Type4793 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoPermissions? Type4793 { get; set; } /// /// /// - public global::System.AnyOf? Type4794 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoSquashMergeCommitMessage? Type4794 { get; set; } /// /// /// - public global::GitHub.ActionsListJobsForWorkflowRunResponse? Type4795 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoSquashMergeCommitTitle? Type4795 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4796 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseRepoVisibility? Type4796 { get; set; } /// /// /// - public global::GitHub.ActionsReviewPendingDeploymentsForRunRequest? Type4797 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseUser? Type4797 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4798 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestBaseUserType? Type4798 { get; set; } /// /// /// - public global::GitHub.ActionsReRunWorkflowRequest? Type4799 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHead? Type4799 { get; set; } /// /// /// - public global::GitHub.ActionsReRunWorkflowFailedJobsRequest? Type4800 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepo? Type4800 { get; set; } /// /// /// - public global::GitHub.WorkflowRunUsage? Type4801 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoLicense? Type4801 { get; set; } /// /// /// - public global::GitHub.ActionsListRepoSecretsResponse? Type4802 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoMergeCommitMessage? Type4802 { get; set; } /// /// /// - public global::GitHub.ActionsSecret? Type4803 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoMergeCommitTitle? Type4803 { get; set; } /// /// /// - public global::GitHub.ActionsCreateOrUpdateRepoSecretRequest? Type4804 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoOwner? Type4804 { get; set; } /// /// /// - public global::GitHub.ActionsListRepoVariablesResponse? Type4805 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoOwnerType? Type4805 { get; set; } /// /// /// - public global::GitHub.ActionsCreateRepoVariableRequest? Type4806 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoPermissions? Type4806 { get; set; } /// /// /// - public global::GitHub.ActionsVariable? Type4807 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoSquashMergeCommitMessage? Type4807 { get; set; } /// /// /// - public global::GitHub.ActionsUpdateRepoVariableRequest? Type4808 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoSquashMergeCommitTitle? Type4808 { get; set; } /// /// /// - public global::GitHub.ActionsListRepoWorkflowsResponse? Type4809 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadRepoVisibility? Type4809 { get; set; } /// /// /// - public global::GitHub.Workflow? Type4810 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadUser? Type4810 { get; set; } /// /// /// - public global::GitHub.ActionsCreateWorkflowDispatchRequest? Type4811 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestHeadUserType? Type4811 { get; set; } /// /// /// - public global::GitHub.ActionsListWorkflowRunsResponse? Type4812 { get; set; } + public global::System.Collections.Generic.IList? Type4812 { get; set; } /// /// /// - public global::GitHub.WorkflowUsage? Type4813 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestLabel? Type4813 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4814 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestMilestone? Type4814 { get; set; } /// /// /// - public global::GitHub.ReposCreateAttestationRequest? Type4815 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestMilestoneCreator? Type4815 { get; set; } /// /// /// - public global::GitHub.ReposCreateAttestationResponse? Type4816 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestMilestoneCreatorType? Type4816 { get; set; } /// /// /// - public global::GitHub.ReposListAttestationsResponse? Type4817 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestMilestoneState? Type4817 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4818 { get; set; } + public global::System.Collections.Generic.IList>? Type4818 { get; set; } /// /// /// - public global::GitHub.ReposCreateAutolinkRequest? Type4819 { get; set; } + public global::System.OneOf? Type4819 { get; set; } /// /// /// - public global::GitHub.Autolink? Type4820 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1? Type4820 { get; set; } /// /// /// - public global::GitHub.CheckAutomatedSecurityFixes? Type4821 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant1Type? Type4821 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4822 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2? Type4822 { get; set; } /// /// /// - public global::GitHub.BranchWithProtection? Type4823 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Parent? Type4823 { get; set; } /// /// /// - public global::GitHub.ReposUpdateBranchProtectionRequest? Type4824 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4824 { get; set; } /// /// /// - public global::GitHub.ProtectedBranch? Type4825 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedReviewerVariant2Privacy? Type4825 { get; set; } /// /// /// - public global::GitHub.ReposUpdatePullRequestReviewProtectionRequest? Type4826 { get; set; } + public global::System.Collections.Generic.IList? Type4826 { get; set; } /// /// /// - public global::GitHub.ReposUpdateStatusCheckProtectionRequest? Type4827 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeam? Type4827 { get; set; } /// /// /// - public global::System.OneOf>? Type4828 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParent? Type4828 { get; set; } /// /// /// - public global::System.OneOf>? Type4829 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamParentPrivacy? Type4829 { get; set; } /// /// /// - public global::System.OneOf>? Type4830 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestRequestedTeamPrivacy? Type4830 { get; set; } /// /// /// - public global::System.OneOf>? Type4831 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestState? Type4831 { get; set; } /// /// /// - public global::System.OneOf>? Type4832 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestUser? Type4832 { get; set; } /// /// /// - public global::System.OneOf>? Type4833 { get; set; } + public global::GitHub.WebhookPullRequestReviewSubmittedPullRequestUserType? Type4833 { get; set; } /// /// /// - public global::System.OneOf>? Type4834 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolved? Type4834 { get; set; } /// /// /// - public global::System.OneOf>? Type4835 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedAction? Type4835 { get; set; } /// /// /// - public global::System.OneOf>? Type4836 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequest? Type4836 { get; set; } /// /// /// - public global::System.OneOf>? Type4837 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinks? Type4837 { get; set; } /// /// /// - public global::System.OneOf>? Type4838 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksComments? Type4838 { get; set; } /// /// /// - public global::System.OneOf>? Type4839 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksCommits? Type4839 { get; set; } /// /// /// - public global::GitHub.ReposRenameBranchRequest? Type4840 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksHtml? Type4840 { get; set; } /// /// /// - public global::GitHub.ChecksCreateRequest? Type4841 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksIssue? Type4841 { get; set; } /// /// /// - public global::GitHub.CheckRun? Type4842 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksReviewComment? Type4842 { get; set; } /// /// /// - public global::GitHub.ChecksUpdateRequest? Type4843 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksReviewComments? Type4843 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4844 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksSelf? Type4844 { get; set; } /// /// /// - public global::GitHub.ChecksCreateSuiteRequest? Type4845 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLinksStatuses? Type4845 { get; set; } /// /// /// - public global::GitHub.CheckSuite? Type4846 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestActiveLockReason? Type4846 { get; set; } /// /// /// - public global::GitHub.ChecksSetSuitesPreferencesRequest? Type4847 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssignee? Type4847 { get; set; } /// /// /// - public global::GitHub.CheckSuitePreference? Type4848 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType? Type4848 { get; set; } /// /// /// - public global::GitHub.ChecksListForSuiteResponse? Type4849 { get; set; } + public global::System.Collections.Generic.IList? Type4849 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4850 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssignee2? Type4850 { get; set; } /// /// /// - public global::GitHub.CodeScanningListAlertsForRepoResponse? Type4851 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAssigneeType2? Type4851 { get; set; } /// /// /// - public global::GitHub.CodeScanningAlert? Type4852 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAuthorAssociation? Type4852 { get; set; } /// /// /// - public global::GitHub.CodeScanningGetAlertResponse? Type4853 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAutoMerge? Type4853 { get; set; } /// /// /// - public global::GitHub.CodeScanningUpdateAlertRequest? Type4854 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeEnabledBy? Type4854 { get; set; } /// /// /// - public global::GitHub.CodeScanningUpdateAlertResponse? Type4855 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeEnabledByType? Type4855 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4856 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestAutoMergeMergeMethod? Type4856 { get; set; } /// /// /// - public global::GitHub.CodeScanningListAlertInstancesResponse? Type4857 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBase? Type4857 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4858 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepo? Type4858 { get; set; } /// /// /// - public global::GitHub.CodeScanningListRecentAnalysesResponse? Type4859 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoLicense? Type4859 { get; set; } /// /// /// - public global::GitHub.CodeScanningAnalysis? Type4860 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoOwner? Type4860 { get; set; } /// /// /// - public global::GitHub.CodeScanningGetAnalysisResponse? Type4861 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoOwnerType? Type4861 { get; set; } /// /// /// - public global::GitHub.CodeScanningAnalysisDeletion? Type4862 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoPermissions? Type4862 { get; set; } /// /// /// - public global::GitHub.CodeScanningDeleteAnalysisResponse? Type4863 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseRepoVisibility? Type4863 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4864 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseUser? Type4864 { get; set; } /// /// /// - public global::GitHub.CodeScanningListCodeqlDatabasesResponse? Type4865 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestBaseUserType? Type4865 { get; set; } /// /// /// - public global::GitHub.CodeScanningCodeqlDatabase? Type4866 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHead? Type4866 { get; set; } /// /// /// - public global::GitHub.CodeScanningGetCodeqlDatabaseResponse? Type4867 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepo? Type4867 { get; set; } /// /// /// - public global::GitHub.CodeScanningCreateVariantAnalysisRequest? Type4868 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoLicense? Type4868 { get; set; } /// /// /// - public global::GitHub.CodeScanningVariantAnalysis? Type4869 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoOwner? Type4869 { get; set; } /// /// /// - public global::GitHub.CodeScanningCreateVariantAnalysisResponse? Type4870 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoOwnerType? Type4870 { get; set; } /// /// /// - public global::GitHub.CodeScanningGetVariantAnalysisResponse? Type4871 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoPermissions? Type4871 { get; set; } /// /// /// - public global::GitHub.CodeScanningVariantAnalysisRepoTask? Type4872 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadRepoVisibility? Type4872 { get; set; } /// /// /// - public global::GitHub.CodeScanningGetVariantAnalysisRepoTaskResponse? Type4873 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadUser? Type4873 { get; set; } /// /// /// - public global::GitHub.CodeScanningDefaultSetup? Type4874 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestHeadUserType? Type4874 { get; set; } /// /// /// - public global::GitHub.CodeScanningGetDefaultSetupResponse? Type4875 { get; set; } + public global::System.Collections.Generic.IList? Type4875 { get; set; } /// /// /// - public global::GitHub.CodeScanningDefaultSetupUpdate? Type4876 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestLabel? Type4876 { get; set; } /// /// /// - public global::GitHub.CodeScanningDefaultSetupUpdateResponse? Type4877 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestMilestone? Type4877 { get; set; } /// /// /// - public global::GitHub.CodeScanningUpdateDefaultSetupResponse? Type4878 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneCreator? Type4878 { get; set; } /// /// /// - public global::GitHub.CodeScanningUploadSarifRequest? Type4879 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneCreatorType? Type4879 { get; set; } /// /// /// - public global::GitHub.CodeScanningSarifsReceipt? Type4880 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestMilestoneState? Type4880 { get; set; } /// /// /// - public global::GitHub.CodeScanningUploadSarifResponse? Type4881 { get; set; } + public global::System.Collections.Generic.IList>? Type4881 { get; set; } /// /// /// - public global::GitHub.CodeScanningSarifsStatus? Type4882 { get; set; } + public global::System.OneOf? Type4882 { get; set; } /// /// /// - public global::GitHub.CodeScanningGetSarifResponse? Type4883 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1? Type4883 { get; set; } /// /// /// - public global::GitHub.CodeownersErrors? Type4884 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant1Type? Type4884 { get; set; } /// /// /// - public global::GitHub.CodespacesListInRepositoryForAuthenticatedUserResponse? Type4885 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2? Type4885 { get; set; } /// /// /// - public global::GitHub.CodespacesCreateWithRepoForAuthenticatedUserRequest? Type4886 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Parent? Type4886 { get; set; } /// /// /// - public global::GitHub.CodespacesCreateWithRepoForAuthenticatedUserResponse? Type4887 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4887 { get; set; } /// /// /// - public global::GitHub.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponse? Type4888 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedReviewerVariant2Privacy? Type4888 { get; set; } /// /// /// - public global::GitHub.CodespacesRepoMachinesForAuthenticatedUserResponse? Type4889 { get; set; } + public global::System.Collections.Generic.IList? Type4889 { get; set; } /// /// /// - public global::GitHub.CodespacesPreFlightWithRepoForAuthenticatedUserResponse? Type4890 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeam? Type4890 { get; set; } /// /// /// - public global::GitHub.CodespacesPermissionsCheckForDevcontainer? Type4891 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParent? Type4891 { get; set; } /// /// /// - public global::GitHub.CodespacesCheckPermissionsForDevcontainerResponse? Type4892 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamParentPrivacy? Type4892 { get; set; } /// /// /// - public global::GitHub.CodespacesListRepoSecretsResponse? Type4893 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestRequestedTeamPrivacy? Type4893 { get; set; } /// /// /// - public global::GitHub.RepoCodespacesSecret? Type4894 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestState? Type4894 { get; set; } /// /// /// - public global::GitHub.CodespacesCreateOrUpdateRepoSecretRequest? Type4895 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestUser? Type4895 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4896 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedPullRequestUserType? Type4896 { get; set; } /// /// /// - public global::GitHub.ReposAddCollaboratorRequest? Type4897 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedThread? Type4897 { get; set; } /// /// /// - public global::GitHub.RepositoryInvitation? Type4898 { get; set; } + public global::System.Collections.Generic.IList? Type4898 { get; set; } /// /// /// - public global::GitHub.RepositoryCollaboratorPermission? Type4899 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadComment? Type4899 { get; set; } /// /// /// - public global::GitHub.CommitComment? Type4900 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentLinks? Type4900 { get; set; } /// /// /// - public global::GitHub.ReposUpdateCommitCommentRequest? Type4901 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentLinksHtml? Type4901 { get; set; } /// /// /// - public global::GitHub.ReactionsCreateForCommitCommentRequest? Type4902 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentLinksPullRequest? Type4902 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4903 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentLinksSelf? Type4903 { get; set; } /// /// /// - public global::GitHub.ReposCreateCommitCommentRequest? Type4904 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentAuthorAssociation? Type4904 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4905 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentReactions? Type4905 { get; set; } /// /// /// - public global::GitHub.ReposGetCommitResponse? Type4906 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSide? Type4906 { get; set; } /// /// /// - public global::GitHub.ChecksListForRefResponse? Type4907 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentStartSide? Type4907 { get; set; } /// /// /// - public global::GitHub.ChecksListSuitesForRefResponse? Type4908 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentSubjectType? Type4908 { get; set; } /// /// /// - public global::GitHub.CombinedCommitStatus? Type4909 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUser? Type4909 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4910 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadResolvedThreadCommentUserType? Type4910 { get; set; } /// /// /// - public global::GitHub.CommunityProfile? Type4911 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolved? Type4911 { get; set; } /// /// /// - public global::GitHub.CommitComparison? Type4912 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedAction? Type4912 { get; set; } /// /// /// - public global::GitHub.ReposCompareCommitsResponse? Type4913 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequest? Type4913 { get; set; } /// /// /// - public global::GitHub.ContentTree? Type4914 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinks? Type4914 { get; set; } /// /// /// - public global::System.OneOf, global::GitHub.ContentFile, global::GitHub.ContentSymlink, global::GitHub.ContentSubmodule>? Type4915 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksComments? Type4915 { get; set; } /// /// /// - public global::GitHub.ReposCreateOrUpdateFileContentsRequest? Type4916 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksCommits? Type4916 { get; set; } /// /// /// - public global::GitHub.FileCommit? Type4917 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksHtml? Type4917 { get; set; } /// /// /// - public global::GitHub.ReposDeleteFileRequest? Type4918 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksIssue? Type4918 { get; set; } /// /// /// - public global::GitHub.ReposDeleteFileResponse? Type4919 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksReviewComment? Type4919 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4920 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksReviewComments? Type4920 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4921 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksSelf? Type4921 { get; set; } /// /// /// - public global::GitHub.DependabotUpdateAlertRequest? Type4922 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLinksStatuses? Type4922 { get; set; } /// /// /// - public global::GitHub.DependabotListRepoSecretsResponse? Type4923 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestActiveLockReason? Type4923 { get; set; } /// /// /// - public global::GitHub.DependabotSecret? Type4924 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignee? Type4924 { get; set; } /// /// /// - public global::GitHub.DependabotCreateOrUpdateRepoSecretRequest? Type4925 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType? Type4925 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4926 { get; set; } + public global::System.Collections.Generic.IList? Type4926 { get; set; } /// /// /// - public global::GitHub.DependencyGraphSpdxSbom? Type4927 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssignee2? Type4927 { get; set; } /// /// /// - public global::GitHub.Snapshot? Type4928 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAssigneeType2? Type4928 { get; set; } /// /// /// - public global::GitHub.DependencyGraphCreateRepositorySnapshotResponse? Type4929 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAuthorAssociation? Type4929 { get; set; } /// /// /// - public global::GitHub.ReposCreateDeploymentRequest? Type4930 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMerge? Type4930 { get; set; } /// /// /// - public global::GitHub.ReposCreateDeploymentResponse? Type4931 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeEnabledBy? Type4931 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4932 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeEnabledByType? Type4932 { get; set; } /// /// /// - public global::GitHub.ReposCreateDeploymentStatusRequest? Type4933 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestAutoMergeMergeMethod? Type4933 { get; set; } /// /// /// - public global::GitHub.DeploymentStatus? Type4934 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBase? Type4934 { get; set; } /// /// /// - public global::GitHub.ReposCreateDispatchEventRequest? Type4935 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepo? Type4935 { get; set; } /// /// /// - public global::GitHub.ReposGetAllEnvironmentsResponse? Type4936 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoLicense? Type4936 { get; set; } /// /// /// - public global::GitHub.Environment? Type4937 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoOwner? Type4937 { get; set; } /// /// /// - public global::GitHub.ReposCreateOrUpdateEnvironmentRequest? Type4938 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoOwnerType? Type4938 { get; set; } /// /// /// - public global::GitHub.ReposListDeploymentBranchPoliciesResponse? Type4939 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoPermissions? Type4939 { get; set; } /// /// /// - public global::GitHub.DeploymentBranchPolicyNamePatternWithType? Type4940 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseRepoVisibility? Type4940 { get; set; } /// /// /// - public global::GitHub.DeploymentBranchPolicy? Type4941 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUser? Type4941 { get; set; } /// /// /// - public global::GitHub.DeploymentBranchPolicyNamePattern? Type4942 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestBaseUserType? Type4942 { get; set; } /// /// /// - public global::GitHub.ReposGetAllDeploymentProtectionRulesResponse? Type4943 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHead? Type4943 { get; set; } /// /// /// - public global::GitHub.ReposCreateDeploymentProtectionRuleRequest? Type4944 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepo? Type4944 { get; set; } /// /// /// - public global::GitHub.DeploymentProtectionRule? Type4945 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoLicense? Type4945 { get; set; } /// /// /// - public global::GitHub.ReposListCustomDeploymentRuleIntegrationsResponse? Type4946 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoOwner? Type4946 { get; set; } /// /// /// - public global::GitHub.ActionsListEnvironmentSecretsResponse? Type4947 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoOwnerType? Type4947 { get; set; } /// /// /// - public global::GitHub.ActionsCreateOrUpdateEnvironmentSecretRequest? Type4948 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoPermissions? Type4948 { get; set; } /// /// /// - public global::GitHub.ActionsListEnvironmentVariablesResponse? Type4949 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadRepoVisibility? Type4949 { get; set; } /// /// /// - public global::GitHub.ActionsCreateEnvironmentVariableRequest? Type4950 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUser? Type4950 { get; set; } /// /// /// - public global::GitHub.ActionsUpdateEnvironmentVariableRequest? Type4951 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestHeadUserType? Type4951 { get; set; } /// /// /// - public global::GitHub.ReposCreateForkRequest? Type4952 { get; set; } + public global::System.Collections.Generic.IList? Type4952 { get; set; } /// /// /// - public global::GitHub.GitCreateBlobRequest? Type4953 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestLabel? Type4953 { get; set; } /// /// /// - public global::GitHub.ShortBlob? Type4954 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestone? Type4954 { get; set; } /// /// /// - public global::GitHub.Blob? Type4955 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneCreator? Type4955 { get; set; } /// /// /// - public global::GitHub.GitCreateCommitRequest? Type4956 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneCreatorType? Type4956 { get; set; } /// /// /// - public global::GitHub.GitCommit? Type4957 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestMilestoneState? Type4957 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4958 { get; set; } + public global::System.Collections.Generic.IList>? Type4958 { get; set; } /// /// /// - public global::GitHub.GitRef? Type4959 { get; set; } + public global::System.OneOf? Type4959 { get; set; } /// /// /// - public global::GitHub.GitCreateRefRequest? Type4960 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1? Type4960 { get; set; } /// /// /// - public global::GitHub.GitUpdateRefRequest? Type4961 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant1Type? Type4961 { get; set; } /// /// /// - public global::GitHub.GitCreateTagRequest? Type4962 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2? Type4962 { get; set; } /// /// /// - public global::GitHub.GitTag? Type4963 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Parent? Type4963 { get; set; } /// /// /// - public global::GitHub.GitCreateTreeRequest? Type4964 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2ParentPrivacy? Type4964 { get; set; } /// /// /// - public global::GitHub.GitTree? Type4965 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedReviewerVariant2Privacy? Type4965 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4966 { get; set; } + public global::System.Collections.Generic.IList? Type4966 { get; set; } /// /// /// - public global::GitHub.ReposCreateWebhookRequest? Type4967 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeam? Type4967 { get; set; } /// /// /// - public global::GitHub.Hook? Type4968 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParent? Type4968 { get; set; } /// /// /// - public global::GitHub.ReposUpdateWebhookRequest? Type4969 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamParentPrivacy? Type4969 { get; set; } /// /// /// - public global::GitHub.ReposUpdateWebhookConfigForRepoRequest? Type4970 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestRequestedTeamPrivacy? Type4970 { get; set; } /// /// /// - public global::GitHub.Import? Type4971 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestState? Type4971 { get; set; } /// /// /// - public global::GitHub.MigrationsStartImportRequest? Type4972 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestUser? Type4972 { get; set; } /// /// /// - public global::GitHub.MigrationsUpdateImportRequest? Type4973 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedPullRequestUserType? Type4973 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4974 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThread? Type4974 { get; set; } /// /// /// - public global::GitHub.MigrationsMapCommitAuthorRequest? Type4975 { get; set; } + public global::System.Collections.Generic.IList? Type4975 { get; set; } /// /// /// - public global::GitHub.PorterAuthor? Type4976 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadComment? Type4976 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4977 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinks? Type4977 { get; set; } /// /// /// - public global::GitHub.MigrationsSetLfsPreferenceRequest? Type4978 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksHtml? Type4978 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4979 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksPullRequest? Type4979 { get; set; } /// /// /// - public global::GitHub.ReposUpdateInvitationRequest? Type4980 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentLinksSelf? Type4980 { get; set; } /// /// /// - public global::GitHub.IssuesCreateRequest? Type4981 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentAuthorAssociation? Type4981 { get; set; } /// /// /// - public global::GitHub.IssuesCreateResponse? Type4982 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentReactions? Type4982 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4983 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSide? Type4983 { get; set; } /// /// /// - public global::GitHub.IssuesUpdateCommentRequest? Type4984 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentStartSide? Type4984 { get; set; } /// /// /// - public global::GitHub.ReactionsCreateForIssueCommentRequest? Type4985 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentSubjectType? Type4985 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4986 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUser? Type4986 { get; set; } /// /// /// - public global::GitHub.IssueEvent? Type4987 { get; set; } + public global::GitHub.WebhookPullRequestReviewThreadUnresolvedThreadCommentUserType? Type4987 { get; set; } /// /// /// - public global::GitHub.IssuesUpdateRequest? Type4988 { get; set; } + public global::GitHub.WebhookPullRequestSynchronize? Type4988 { get; set; } /// /// /// - public global::GitHub.IssuesUpdateResponse? Type4989 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizeAction? Type4989 { get; set; } /// /// /// - public global::GitHub.IssuesAddAssigneesRequest? Type4990 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequest? Type4990 { get; set; } /// /// /// - public global::GitHub.IssuesRemoveAssigneesRequest? Type4991 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestLinks? Type4991 { get; set; } /// /// /// - public global::GitHub.IssuesCreateCommentRequest? Type4992 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksComments? Type4992 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4993 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksCommits? Type4993 { get; set; } /// /// /// - public global::System.OneOf, global::GitHub.IssuesAddLabelsRequest, global::System.Collections.Generic.IList, string>? Type4994 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksHtml? Type4994 { get; set; } /// /// /// - public global::System.OneOf, global::GitHub.IssuesSetLabelsRequest, global::System.Collections.Generic.IList, string>? Type4995 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksIssue? Type4995 { get; set; } /// /// /// - public global::GitHub.IssuesLockRequest? Type4996 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksReviewComment? Type4996 { get; set; } /// /// /// - public global::GitHub.ReactionsCreateForIssueRequest? Type4997 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksReviewComments? Type4997 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4998 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksSelf? Type4998 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type4999 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestLinksStatuses? Type4999 { get; set; } /// /// /// - public global::GitHub.ReposCreateDeployKeyRequest? Type5000 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestActiveLockReason? Type5000 { get; set; } /// /// /// - public global::GitHub.DeployKey? Type5001 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestAssignee? Type5001 { get; set; } /// /// /// - public global::GitHub.IssuesCreateLabelRequest? Type5002 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType? Type5002 { get; set; } /// /// /// - public global::GitHub.Label? Type5003 { get; set; } + public global::System.Collections.Generic.IList? Type5003 { get; set; } /// /// /// - public global::GitHub.IssuesUpdateLabelRequest? Type5004 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestAssignee2? Type5004 { get; set; } /// /// /// - public global::GitHub.Language? Type5005 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestAssigneeType2? Type5005 { get; set; } /// /// /// - public global::GitHub.LicenseContent? Type5006 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestAuthorAssociation? Type5006 { get; set; } /// /// /// - public global::GitHub.ReposMergeUpstreamRequest? Type5007 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestAutoMerge? Type5007 { get; set; } /// /// /// - public global::GitHub.MergedUpstream? Type5008 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestAutoMergeEnabledBy? Type5008 { get; set; } /// /// /// - public global::GitHub.ReposMergeRequest? Type5009 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestAutoMergeEnabledByType? Type5009 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5010 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestAutoMergeMergeMethod? Type5010 { get; set; } /// /// /// - public global::GitHub.IssuesCreateMilestoneRequest? Type5011 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestBase? Type5011 { get; set; } /// /// /// - public global::GitHub.IssuesUpdateMilestoneRequest? Type5012 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepo? Type5012 { get; set; } /// /// /// - public global::GitHub.ActivityMarkRepoNotificationsAsReadRequest? Type5013 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoLicense? Type5013 { get; set; } /// /// /// - public global::GitHub.ActivityMarkRepoNotificationsAsReadResponse? Type5014 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoMergeCommitMessage? Type5014 { get; set; } /// /// /// - public global::GitHub.Page? Type5015 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoMergeCommitTitle? Type5015 { get; set; } /// /// /// - public global::GitHub.ReposCreatePagesSiteRequest? Type5016 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoOwner? Type5016 { get; set; } /// /// /// - public global::GitHub.ReposUpdateInformationAboutPagesSiteRequest? Type5017 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoOwnerType? Type5017 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5018 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoPermissions? Type5018 { get; set; } /// /// /// - public global::GitHub.PageBuildStatus? Type5019 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoSquashMergeCommitMessage? Type5019 { get; set; } /// /// /// - public global::GitHub.PageBuild? Type5020 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoSquashMergeCommitTitle? Type5020 { get; set; } /// /// /// - public global::GitHub.ReposCreatePagesDeploymentRequest? Type5021 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseRepoVisibility? Type5021 { get; set; } /// /// /// - public global::GitHub.PageDeployment? Type5022 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseUser? Type5022 { get; set; } /// /// /// - public global::GitHub.PagesDeploymentStatus? Type5023 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestBaseUserType? Type5023 { get; set; } /// /// /// - public global::GitHub.PagesHealthCheck? Type5024 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestHead? Type5024 { get; set; } /// /// /// - public global::GitHub.ReposCheckPrivateVulnerabilityReportingResponse? Type5025 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepo? Type5025 { get; set; } /// /// /// - public global::GitHub.ProjectsCreateForRepoRequest? Type5026 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoLicense? Type5026 { get; set; } /// /// /// - public global::GitHub.ReposCreateOrUpdateCustomPropertiesValuesRequest? Type5027 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoMergeCommitMessage? Type5027 { get; set; } /// /// /// - public global::GitHub.PullsCreateRequest? Type5028 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoMergeCommitTitle? Type5028 { get; set; } /// /// /// - public global::GitHub.PullRequest? Type5029 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoOwner? Type5029 { get; set; } /// /// /// - public global::GitHub.PullRequestReviewComment? Type5030 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoOwnerType? Type5030 { get; set; } /// /// /// - public global::GitHub.PullsUpdateReviewCommentRequest? Type5031 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoPermissions? Type5031 { get; set; } /// /// /// - public global::GitHub.ReactionsCreateForPullRequestReviewCommentRequest? Type5032 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoSquashMergeCommitMessage? Type5032 { get; set; } /// /// /// - public global::GitHub.PullsGetResponse? Type5033 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoSquashMergeCommitTitle? Type5033 { get; set; } /// /// /// - public global::GitHub.PullsUpdateRequest? Type5034 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadRepoVisibility? Type5034 { get; set; } /// /// /// - public global::GitHub.CodespacesCreateWithPrForAuthenticatedUserRequest? Type5035 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadUser? Type5035 { get; set; } /// /// /// - public global::GitHub.CodespacesCreateWithPrForAuthenticatedUserResponse? Type5036 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestHeadUserType? Type5036 { get; set; } /// /// /// - public global::GitHub.PullsCreateReviewCommentRequest? Type5037 { get; set; } + public global::System.Collections.Generic.IList? Type5037 { get; set; } /// /// /// - public global::GitHub.PullsCreateReplyForReviewCommentRequest? Type5038 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestLabel? Type5038 { get; set; } /// /// /// - public global::GitHub.PullsListFilesResponse? Type5039 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestMergedBy? Type5039 { get; set; } /// /// /// - public global::GitHub.PullsMergeRequest? Type5040 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestMergedByType? Type5040 { get; set; } /// /// /// - public global::GitHub.PullRequestMergeResult? Type5041 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestMilestone? Type5041 { get; set; } /// /// /// - public global::GitHub.PullsMergeResponse? Type5042 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestMilestoneCreator? Type5042 { get; set; } /// /// /// - public global::GitHub.PullRequestReviewRequest? Type5043 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestMilestoneCreatorType? Type5043 { get; set; } /// /// /// - public global::GitHub.PullsRequestReviewersRequest? Type5044 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestMilestoneState? Type5044 { get; set; } /// /// /// - public global::GitHub.PullRequestSimple? Type5045 { get; set; } + public global::System.Collections.Generic.IList>? Type5045 { get; set; } /// /// /// - public global::GitHub.PullsRemoveRequestedReviewersRequest? Type5046 { get; set; } + public global::System.OneOf? Type5046 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5047 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1? Type5047 { get; set; } /// /// /// - public global::GitHub.PullsCreateReviewRequest? Type5048 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant1Type? Type5048 { get; set; } /// /// /// - public global::GitHub.PullRequestReview? Type5049 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2? Type5049 { get; set; } /// /// /// - public global::GitHub.PullsUpdateReviewRequest? Type5050 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Parent? Type5050 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5051 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2ParentPrivacy? Type5051 { get; set; } /// /// /// - public global::GitHub.PullsDismissReviewRequest? Type5052 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedReviewerVariant2Privacy? Type5052 { get; set; } /// /// /// - public global::GitHub.PullsSubmitReviewRequest? Type5053 { get; set; } + public global::System.Collections.Generic.IList? Type5053 { get; set; } /// /// /// - public global::GitHub.PullsUpdateBranchRequest? Type5054 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeam? Type5054 { get; set; } /// /// /// - public global::GitHub.PullsUpdateBranchResponse? Type5055 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParent? Type5055 { get; set; } /// /// /// - public global::GitHub.ContentFile? Type5056 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamParentPrivacy? Type5056 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5057 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestRequestedTeamPrivacy? Type5057 { get; set; } /// /// /// - public global::GitHub.ReposCreateReleaseRequest? Type5058 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestState? Type5058 { get; set; } /// /// /// - public global::GitHub.Release? Type5059 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestUser? Type5059 { get; set; } /// /// /// - public global::GitHub.ReleaseAsset? Type5060 { get; set; } + public global::GitHub.WebhookPullRequestSynchronizePullRequestUserType? Type5060 { get; set; } /// /// /// - public global::GitHub.ReposUpdateReleaseAssetRequest? Type5061 { get; set; } + public global::GitHub.WebhookPullRequestUnassigned? Type5061 { get; set; } /// /// /// - public global::GitHub.ReposGenerateReleaseNotesRequest? Type5062 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedAction? Type5062 { get; set; } /// /// /// - public global::GitHub.ReleaseNotesContent? Type5063 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequest? Type5063 { get; set; } /// /// /// - public global::GitHub.ReposUpdateReleaseRequest? Type5064 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestLinks? Type5064 { get; set; } /// /// /// - public byte[]? Type5065 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksComments? Type5065 { get; set; } /// /// /// - public global::GitHub.ReactionsCreateForReleaseRequest? Type5066 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksCommits? Type5066 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5067 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksHtml? Type5067 { get; set; } /// /// /// - public global::GitHub.ReposCreateRepoRulesetRequest? Type5068 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksIssue? Type5068 { get; set; } /// /// /// - public global::GitHub.ReposUpdateRepoRulesetRequest? Type5069 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksReviewComment? Type5069 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5070 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksReviewComments? Type5070 { get; set; } /// /// /// - public global::GitHub.SecretScanningListAlertsForRepoResponse? Type5071 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksSelf? Type5071 { get; set; } /// /// /// - public global::GitHub.SecretScanningAlert? Type5072 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestLinksStatuses? Type5072 { get; set; } /// /// /// - public global::GitHub.SecretScanningGetAlertResponse? Type5073 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestActiveLockReason? Type5073 { get; set; } /// /// /// - public global::GitHub.SecretScanningUpdateAlertRequest? Type5074 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestAssignee? Type5074 { get; set; } /// /// /// - public global::GitHub.SecretScanningUpdateAlertResponse? Type5075 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType? Type5075 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5076 { get; set; } + public global::System.Collections.Generic.IList? Type5076 { get; set; } /// /// /// - public global::GitHub.SecretScanningListLocationsForAlertResponse? Type5077 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestAssignee2? Type5077 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisoryCreate? Type5078 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestAssigneeType2? Type5078 { get; set; } /// /// /// - public global::GitHub.PrivateVulnerabilityReportCreate? Type5079 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestAuthorAssociation? Type5079 { get; set; } /// /// /// - public global::GitHub.RepositoryAdvisoryUpdate? Type5080 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestAutoMerge? Type5080 { get; set; } /// /// /// - public global::System.AnyOf, global::System.Collections.Generic.IList>? Type5081 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestAutoMergeEnabledBy? Type5081 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5082 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestAutoMergeEnabledByType? Type5082 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5083 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestAutoMergeMergeMethod? Type5083 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5084 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestBase? Type5084 { get; set; } /// /// /// - public global::GitHub.ParticipationStats? Type5085 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepo? Type5085 { get; set; } /// /// /// - public global::GitHub.ReposCreateCommitStatusRequest? Type5086 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoLicense? Type5086 { get; set; } /// /// /// - public global::GitHub.Status? Type5087 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoMergeCommitMessage? Type5087 { get; set; } /// /// /// - public global::GitHub.RepositorySubscription? Type5088 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoMergeCommitTitle? Type5088 { get; set; } /// /// /// - public global::GitHub.ActivitySetRepoSubscriptionRequest? Type5089 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoOwner? Type5089 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5090 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoOwnerType? Type5090 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5091 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoPermissions? Type5091 { get; set; } /// /// /// - public global::GitHub.ReposCreateTagProtectionRequest? Type5092 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoSquashMergeCommitMessage? Type5092 { get; set; } /// /// /// - public global::GitHub.TagProtection? Type5093 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoSquashMergeCommitTitle? Type5093 { get; set; } /// /// /// - public global::GitHub.Topic? Type5094 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseRepoVisibility? Type5094 { get; set; } /// /// /// - public global::GitHub.ReposReplaceAllTopicsRequest? Type5095 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseUser? Type5095 { get; set; } /// /// /// - public global::GitHub.CloneTraffic? Type5096 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestBaseUserType? Type5096 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5097 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestHead? Type5097 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5098 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepo? Type5098 { get; set; } /// /// /// - public global::GitHub.ViewTraffic? Type5099 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoLicense? Type5099 { get; set; } /// /// /// - public global::GitHub.ReposTransferRequest? Type5100 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoMergeCommitMessage? Type5100 { get; set; } /// /// /// - public global::GitHub.ReposCreateUsingTemplateRequest? Type5101 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoMergeCommitTitle? Type5101 { get; set; } /// /// /// - public global::GitHub.SearchCodeResponse? Type5102 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoOwner? Type5102 { get; set; } /// /// /// - public global::GitHub.SearchCommitsResponse? Type5103 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoOwnerType? Type5103 { get; set; } /// /// /// - public global::GitHub.SearchIssuesAndPullRequestsResponse? Type5104 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoPermissions? Type5104 { get; set; } /// /// /// - public global::GitHub.SearchLabelsResponse? Type5105 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoSquashMergeCommitMessage? Type5105 { get; set; } /// /// /// - public global::GitHub.SearchReposResponse? Type5106 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoSquashMergeCommitTitle? Type5106 { get; set; } /// /// /// - public global::GitHub.SearchTopicsResponse? Type5107 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadRepoVisibility? Type5107 { get; set; } /// /// /// - public global::GitHub.SearchUsersResponse? Type5108 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadUser? Type5108 { get; set; } /// /// /// - public global::GitHub.TeamsUpdateLegacyRequest? Type5109 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestHeadUserType? Type5109 { get; set; } /// /// /// - public global::GitHub.TeamsCreateDiscussionLegacyRequest? Type5110 { get; set; } + public global::System.Collections.Generic.IList? Type5110 { get; set; } /// /// /// - public global::GitHub.TeamsUpdateDiscussionLegacyRequest? Type5111 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestLabel? Type5111 { get; set; } /// /// /// - public global::GitHub.TeamsCreateDiscussionCommentLegacyRequest? Type5112 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestMergedBy? Type5112 { get; set; } /// /// /// - public global::GitHub.TeamsUpdateDiscussionCommentLegacyRequest? Type5113 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestMergedByType? Type5113 { get; set; } /// /// /// - public global::GitHub.ReactionsCreateForTeamDiscussionCommentLegacyRequest? Type5114 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestMilestone? Type5114 { get; set; } /// /// /// - public global::GitHub.ReactionsCreateForTeamDiscussionLegacyRequest? Type5115 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestMilestoneCreator? Type5115 { get; set; } /// /// /// - public global::GitHub.TeamsAddOrUpdateMembershipForUserLegacyRequest? Type5116 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestMilestoneCreatorType? Type5116 { get; set; } /// /// /// - public global::GitHub.TeamsAddOrUpdateProjectPermissionsLegacyRequest? Type5117 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestMilestoneState? Type5117 { get; set; } /// /// /// - public global::GitHub.TeamsAddOrUpdateProjectPermissionsLegacyResponse? Type5118 { get; set; } + public global::System.Collections.Generic.IList>? Type5118 { get; set; } /// /// /// - public global::GitHub.TeamsAddOrUpdateRepoPermissionsLegacyRequest? Type5119 { get; set; } + public global::System.OneOf? Type5119 { get; set; } /// /// /// - public global::System.OneOf? Type5120 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1? Type5120 { get; set; } /// /// /// - public global::GitHub.UsersUpdateAuthenticatedRequest? Type5121 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant1Type? Type5121 { get; set; } /// /// /// - public global::GitHub.PrivateUser? Type5122 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2? Type5122 { get; set; } /// /// /// - public global::GitHub.CodespacesListForAuthenticatedUserResponse? Type5123 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Parent? Type5123 { get; set; } /// /// /// - public global::System.OneOf? Type5124 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2ParentPrivacy? Type5124 { get; set; } /// /// /// - public global::GitHub.CodespacesCreateForAuthenticatedUserResponse? Type5125 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedReviewerVariant2Privacy? Type5125 { get; set; } /// /// /// - public global::GitHub.CodespacesListSecretsForAuthenticatedUserResponse? Type5126 { get; set; } + public global::System.Collections.Generic.IList? Type5126 { get; set; } /// /// /// - public global::GitHub.CodespacesUserPublicKey? Type5127 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeam? Type5127 { get; set; } /// /// /// - public global::GitHub.CodespacesSecret? Type5128 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParent? Type5128 { get; set; } /// /// /// - public global::GitHub.CodespacesCreateOrUpdateSecretForAuthenticatedUserRequest? Type5129 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamParentPrivacy? Type5129 { get; set; } /// /// /// - public global::GitHub.CodespacesListRepositoriesForSecretForAuthenticatedUserResponse? Type5130 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestRequestedTeamPrivacy? Type5130 { get; set; } /// /// /// - public global::GitHub.CodespacesSetRepositoriesForSecretForAuthenticatedUserRequest? Type5131 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestState? Type5131 { get; set; } /// /// /// - public global::GitHub.CodespacesUpdateForAuthenticatedUserRequest? Type5132 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestUser? Type5132 { get; set; } /// /// /// - public global::GitHub.CodespaceExportDetails? Type5133 { get; set; } + public global::GitHub.WebhookPullRequestUnassignedPullRequestUserType? Type5133 { get; set; } /// /// /// - public global::GitHub.CodespacesCodespaceMachinesForAuthenticatedUserResponse? Type5134 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeled? Type5134 { get; set; } /// /// /// - public global::GitHub.CodespacesPublishForAuthenticatedUserRequest? Type5135 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledAction? Type5135 { get; set; } /// /// /// - public global::GitHub.CodespaceWithFullRepository? Type5136 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequest? Type5136 { get; set; } /// /// /// - public global::GitHub.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequest? Type5137 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinks? Type5137 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5138 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksComments? Type5138 { get; set; } /// /// /// - public global::System.OneOf, string>? Type5139 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksCommits? Type5139 { get; set; } /// /// /// - public global::System.OneOf, string>? Type5140 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksHtml? Type5140 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5141 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksIssue? Type5141 { get; set; } /// /// /// - public global::GitHub.UsersCreateGpgKeyForAuthenticatedUserRequest? Type5142 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksReviewComment? Type5142 { get; set; } /// /// /// - public global::GitHub.GpgKey? Type5143 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksReviewComments? Type5143 { get; set; } /// /// /// - public global::GitHub.AppsListInstallationsForAuthenticatedUserResponse? Type5144 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksSelf? Type5144 { get; set; } /// /// /// - public global::GitHub.AppsListInstallationReposForAuthenticatedUserResponse? Type5145 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestLinksStatuses? Type5145 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5146 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestActiveLockReason? Type5146 { get; set; } /// /// /// - public global::GitHub.UsersCreatePublicSshKeyForAuthenticatedUserRequest? Type5147 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestAssignee? Type5147 { get; set; } /// /// /// - public global::GitHub.Key? Type5148 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType? Type5148 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5149 { get; set; } + public global::System.Collections.Generic.IList? Type5149 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5150 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestAssignee2? Type5150 { get; set; } /// /// /// - public global::GitHub.OrgsUpdateMembershipForAuthenticatedUserRequest? Type5151 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestAssigneeType2? Type5151 { get; set; } /// /// /// - public global::GitHub.MigrationsStartForAuthenticatedUserRequest? Type5152 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestAuthorAssociation? Type5152 { get; set; } /// /// /// - public global::GitHub.ProjectsCreateForAuthenticatedUserRequest? Type5153 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestAutoMerge? Type5153 { get; set; } /// /// /// - public global::GitHub.ReposCreateForAuthenticatedUserRequest? Type5154 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestAutoMergeEnabledBy? Type5154 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5155 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestAutoMergeEnabledByType? Type5155 { get; set; } /// /// /// - public global::GitHub.UsersAddSocialAccountForAuthenticatedUserRequest? Type5156 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestAutoMergeMergeMethod? Type5156 { get; set; } /// /// /// - public global::GitHub.UsersDeleteSocialAccountForAuthenticatedUserRequest? Type5157 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestBase? Type5157 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5158 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepo? Type5158 { get; set; } /// /// /// - public global::GitHub.UsersCreateSshSigningKeyForAuthenticatedUserRequest? Type5159 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoLicense? Type5159 { get; set; } /// /// /// - public global::GitHub.SshSigningKey? Type5160 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoMergeCommitMessage? Type5160 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5161 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoMergeCommitTitle? Type5161 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5162 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoOwner? Type5162 { get; set; } /// /// /// - public global::GitHub.UsersListAttestationsResponse? Type5163 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoOwnerType? Type5163 { get; set; } /// /// /// - public global::GitHub.Hovercard? Type5164 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoPermissions? Type5164 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5165 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoSquashMergeCommitMessage? Type5165 { get; set; } /// /// /// - public global::System.AnyOf, global::System.Collections.Generic.IList>? Type5166 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoSquashMergeCommitTitle? Type5166 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type5167 { get; set; } + public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseRepoVisibility? Type5167 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseUser? Type5168 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestBaseUserType? Type5169 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestHead? Type5170 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepo? Type5171 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoLicense? Type5172 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoMergeCommitMessage? Type5173 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoMergeCommitTitle? Type5174 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoOwner? Type5175 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoOwnerType? Type5176 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoPermissions? Type5177 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoSquashMergeCommitMessage? Type5178 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoSquashMergeCommitTitle? Type5179 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadRepoVisibility? Type5180 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadUser? Type5181 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestHeadUserType? Type5182 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5183 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestLabel? Type5184 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestMergedBy? Type5185 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestMergedByType? Type5186 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestMilestone? Type5187 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestMilestoneCreator? Type5188 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestMilestoneCreatorType? Type5189 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestMilestoneState? Type5190 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList>? Type5191 { get; set; } + /// + /// + /// + public global::System.OneOf? Type5192 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1? Type5193 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant1Type? Type5194 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2? Type5195 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Parent? Type5196 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2ParentPrivacy? Type5197 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedReviewerVariant2Privacy? Type5198 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5199 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeam? Type5200 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParent? Type5201 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamParentPrivacy? Type5202 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestRequestedTeamPrivacy? Type5203 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestState? Type5204 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestUser? Type5205 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlabeledPullRequestUserType? Type5206 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlocked? Type5207 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedAction? Type5208 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequest? Type5209 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestLinks? Type5210 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksComments? Type5211 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksCommits? Type5212 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksHtml? Type5213 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksIssue? Type5214 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksReviewComment? Type5215 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksReviewComments? Type5216 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksSelf? Type5217 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestLinksStatuses? Type5218 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestActiveLockReason? Type5219 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestAssignee? Type5220 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType? Type5221 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5222 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestAssignee2? Type5223 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestAssigneeType2? Type5224 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestAuthorAssociation? Type5225 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestAutoMerge? Type5226 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestAutoMergeEnabledBy? Type5227 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestAutoMergeEnabledByType? Type5228 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestAutoMergeMergeMethod? Type5229 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestBase? Type5230 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepo? Type5231 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoLicense? Type5232 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoMergeCommitMessage? Type5233 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoMergeCommitTitle? Type5234 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoOwner? Type5235 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoOwnerType? Type5236 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoPermissions? Type5237 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoSquashMergeCommitMessage? Type5238 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoSquashMergeCommitTitle? Type5239 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseRepoVisibility? Type5240 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseUser? Type5241 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestBaseUserType? Type5242 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestHead? Type5243 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepo? Type5244 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoLicense? Type5245 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoMergeCommitMessage? Type5246 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoMergeCommitTitle? Type5247 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoOwner? Type5248 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoOwnerType? Type5249 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoPermissions? Type5250 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoSquashMergeCommitMessage? Type5251 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoSquashMergeCommitTitle? Type5252 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadRepoVisibility? Type5253 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadUser? Type5254 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestHeadUserType? Type5255 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5256 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestLabel? Type5257 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestMergedBy? Type5258 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestMergedByType? Type5259 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestMilestone? Type5260 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestMilestoneCreator? Type5261 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestMilestoneCreatorType? Type5262 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestMilestoneState? Type5263 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList>? Type5264 { get; set; } + /// + /// + /// + public global::System.OneOf? Type5265 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1? Type5266 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant1Type? Type5267 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2? Type5268 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Parent? Type5269 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2ParentPrivacy? Type5270 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedReviewerVariant2Privacy? Type5271 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5272 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeam? Type5273 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParent? Type5274 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamParentPrivacy? Type5275 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestRequestedTeamPrivacy? Type5276 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestState? Type5277 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestUser? Type5278 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPullRequestUnlockedPullRequestUserType? Type5279 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPush? Type5280 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5281 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushCommit? Type5282 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushCommitAuthor? Type5283 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushCommitCommitter? Type5284 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushHeadCommit? Type5285 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushHeadCommitAuthor? Type5286 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushHeadCommitCommitter? Type5287 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushPusher? Type5288 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushRepository? Type5289 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushRepositoryCustomProperties? Type5290 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushRepositoryLicense? Type5291 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushRepositoryOwner? Type5292 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushRepositoryOwnerType? Type5293 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushRepositoryPermissions? Type5294 { get; set; } + /// + /// + /// + public global::GitHub.WebhookPushRepositoryVisibility? Type5295 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublished? Type5296 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedAction? Type5297 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackage? Type5298 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackageOwner? Type5299 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersion? Type5300 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionAuthor? Type5301 { get; set; } + /// + /// + /// + public global::System.OneOf? Type5302 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionBody? Type5303 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadata? Type5304 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataLabels? Type5305 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataManifest? Type5306 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionContainerMetadataTag? Type5307 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5308 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionDockerMetadataItem? Type5309 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5310 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionMetadataItem? Type5311 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadata? Type5312 { get; set; } + /// + /// + /// + public global::System.OneOf? Type5313 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataAuthor? Type5314 { get; set; } + /// + /// + /// + public global::System.OneOf? Type5315 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataBugs? Type5316 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDependencies? Type5317 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDevDependencies? Type5318 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataPeerDependencies? Type5319 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataOptionalDependencies? Type5320 { get; set; } + /// + /// + /// + public global::System.OneOf? Type5321 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDist? Type5322 { get; set; } + /// + /// + /// + public global::System.OneOf? Type5323 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataRepository? Type5324 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataScripts? Type5325 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataEngines? Type5326 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataBin? Type5327 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataMan? Type5328 { get; set; } + /// + /// + /// + public global::System.OneOf? Type5329 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNpmMetadataDirectories? Type5330 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5331 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItem? Type5332 { get; set; } + /// + /// + /// + public global::System.OneOf? Type5333 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemId? Type5334 { get; set; } + /// + /// + /// + public global::System.OneOf? Type5335 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionNugetMetadataItemValue? Type5336 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5337 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionPackageFile? Type5338 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionRelease? Type5339 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackagePackageVersionReleaseAuthor? Type5340 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackagePublishedRegistryPackageRegistry? Type5341 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackageUpdated? Type5342 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackageUpdatedAction? Type5343 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackage? Type5344 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackageDescription? Type5345 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackageOwner? Type5346 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackagePackageVersion? Type5347 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionAuthor? Type5348 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5349 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionDockerMetadataItem? Type5350 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5351 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionMetadataItem? Type5352 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5353 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionPackageFile? Type5354 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionRelease? Type5355 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackagePackageVersionReleaseAuthor? Type5356 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRegistryPackageUpdatedRegistryPackageRegistry? Type5357 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseCreated? Type5358 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseCreatedAction? Type5359 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseDeleted? Type5360 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseDeletedAction? Type5361 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseEdited? Type5362 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseEditedAction? Type5363 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseEditedChanges? Type5364 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseEditedChangesBody? Type5365 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseEditedChangesName? Type5366 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseEditedChangesMakeLatest? Type5367 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleasePrereleased? Type5368 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleasePrereleasedAction? Type5369 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleasePrereleasedRelease? Type5370 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5371 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleasePrereleasedReleaseAsset? Type5372 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleasePrereleasedReleaseAssetState? Type5373 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleasePrereleasedReleaseAssetUploader? Type5374 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleasePrereleasedReleaseAssetUploaderType? Type5375 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleasePrereleasedReleaseAuthor? Type5376 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleasePrereleasedReleaseAuthorType? Type5377 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleasePrereleasedReleaseReactions? Type5378 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleasePublished? Type5379 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleasePublishedAction? Type5380 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseReleased? Type5381 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseReleasedAction? Type5382 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseUnpublished? Type5383 { get; set; } + /// + /// + /// + public global::GitHub.WebhookReleaseUnpublishedAction? Type5384 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryAdvisoryPublished? Type5385 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryAdvisoryPublishedAction? Type5386 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryAdvisoryReported? Type5387 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryAdvisoryReportedAction? Type5388 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryArchived? Type5389 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryArchivedAction? Type5390 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryCreated? Type5391 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryCreatedAction? Type5392 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryDeleted? Type5393 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryDeletedAction? Type5394 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryDispatchSample? Type5395 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryDispatchSampleClientPayload? Type5396 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryEdited? Type5397 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryEditedAction? Type5398 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryEditedChanges? Type5399 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryEditedChangesDefaultBranch? Type5400 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryEditedChangesDescription? Type5401 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryEditedChangesHomepage? Type5402 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryEditedChangesTopics? Type5403 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryImport? Type5404 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryImportStatus? Type5405 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryPrivatized? Type5406 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryPrivatizedAction? Type5407 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryPublicized? Type5408 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryPublicizedAction? Type5409 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRenamed? Type5410 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRenamedAction? Type5411 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRenamedChanges? Type5412 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRenamedChangesRepository? Type5413 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRenamedChangesRepositoryName? Type5414 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetCreated? Type5415 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetCreatedAction? Type5416 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetDeleted? Type5417 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetDeletedAction? Type5418 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEdited? Type5419 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedAction? Type5420 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChanges? Type5421 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesName? Type5422 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesEnforcement? Type5423 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesConditions? Type5424 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5425 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5426 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItem? Type5427 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChanges? Type5428 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesConditionType? Type5429 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesTarget? Type5430 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesInclude? Type5431 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesConditionsUpdatedItemChangesExclude? Type5432 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesRules? Type5433 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5434 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedItem? Type5435 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChanges? Type5436 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesConfiguration? Type5437 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesRuleType? Type5438 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryRulesetEditedChangesRulesUpdatedItemChangesPattern? Type5439 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryTransferred? Type5440 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryTransferredAction? Type5441 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryTransferredChanges? Type5442 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryTransferredChangesOwner? Type5443 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryTransferredChangesOwnerFrom? Type5444 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryTransferredChangesOwnerFromOrganization? Type5445 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryTransferredChangesOwnerFromUser? Type5446 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryTransferredChangesOwnerFromUserType? Type5447 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryUnarchived? Type5448 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryUnarchivedAction? Type5449 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertCreate? Type5450 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertCreateAction? Type5451 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertDismiss? Type5452 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertDismissAction? Type5453 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertDismissAlert? Type5454 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertDismissAlertDismisser? Type5455 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertDismissAlertDismisserType? Type5456 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertDismissAlertState? Type5457 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertReopen? Type5458 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertReopenAction? Type5459 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertResolve? Type5460 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertResolveAction? Type5461 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertResolveAlert? Type5462 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertResolveAlertDismisser? Type5463 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertResolveAlertDismisserType? Type5464 { get; set; } + /// + /// + /// + public global::GitHub.WebhookRepositoryVulnerabilityAlertResolveAlertState? Type5465 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecretScanningAlertCreated? Type5466 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecretScanningAlertCreatedAction? Type5467 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecretScanningAlertLocationCreated? Type5468 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecretScanningAlertLocationCreatedAction? Type5469 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecretScanningAlertLocationCreatedFormEncoded? Type5470 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecretScanningAlertReopened? Type5471 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecretScanningAlertReopenedAction? Type5472 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecretScanningAlertResolved? Type5473 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecretScanningAlertResolvedAction? Type5474 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecretScanningAlertValidated? Type5475 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecretScanningAlertValidatedAction? Type5476 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryPublished? Type5477 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryPublishedAction? Type5478 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryUpdated? Type5479 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryUpdatedAction? Type5480 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryWithdrawn? Type5481 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryWithdrawnAction? Type5482 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisory? Type5483 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCvss? Type5484 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5485 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryCwe? Type5486 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5487 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryIdentifier? Type5488 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5489 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryReference? Type5490 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5491 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitie? Type5492 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitieFirstPatchedVersion? Type5493 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAdvisoryWithdrawnSecurityAdvisoryVulnerabilitiePackage? Type5494 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAndAnalysis? Type5495 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAndAnalysisChanges? Type5496 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSecurityAndAnalysisChangesFrom? Type5497 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipCancelled? Type5498 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipCancelledAction? Type5499 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipCreated? Type5500 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipCreatedAction? Type5501 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipEdited? Type5502 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipEditedAction? Type5503 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipEditedChanges? Type5504 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipEditedChangesPrivacyLevel? Type5505 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipPendingCancellation? Type5506 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipPendingCancellationAction? Type5507 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipPendingTierChange? Type5508 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipPendingTierChangeAction? Type5509 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipTierChanged? Type5510 { get; set; } + /// + /// + /// + public global::GitHub.WebhookSponsorshipTierChangedAction? Type5511 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStarCreated? Type5512 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStarCreatedAction? Type5513 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStarDeleted? Type5514 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStarDeletedAction? Type5515 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStarDeletedStarredAt? Type5516 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatus? Type5517 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5518 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusBranche? Type5519 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusBrancheCommit? Type5520 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommit? Type5521 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommitAuthor? Type5522 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommitAuthorType? Type5523 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommitCommit? Type5524 { get; set; } + /// + /// + /// + public global::System.AllOf? Type5525 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommitCommitAuthorVariant1? Type5526 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommitCommitAuthorVariant2? Type5527 { get; set; } + /// + /// + /// + public global::System.AllOf? Type5528 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommitCommitCommitterVariant1? Type5529 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommitCommitCommitterVariant2? Type5530 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommitCommitTree? Type5531 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommitCommitVerification? Type5532 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommitCommitVerificationReason? Type5533 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommitCommitter? Type5534 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommitCommitterType? Type5535 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5536 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusCommitParent? Type5537 { get; set; } + /// + /// + /// + public global::GitHub.WebhookStatusState? Type5538 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamAdd? Type5539 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamAddedToRepository? Type5540 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamAddedToRepositoryAction? Type5541 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamAddedToRepositoryRepository? Type5542 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamAddedToRepositoryRepositoryCustomProperties? Type5543 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamAddedToRepositoryRepositoryLicense? Type5544 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamAddedToRepositoryRepositoryOwner? Type5545 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamAddedToRepositoryRepositoryOwnerType? Type5546 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamAddedToRepositoryRepositoryPermissions? Type5547 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamAddedToRepositoryRepositoryVisibility? Type5548 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamCreated? Type5549 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamCreatedAction? Type5550 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamCreatedRepository? Type5551 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamCreatedRepositoryCustomProperties? Type5552 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamCreatedRepositoryLicense? Type5553 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamCreatedRepositoryOwner? Type5554 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamCreatedRepositoryOwnerType? Type5555 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamCreatedRepositoryPermissions? Type5556 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamCreatedRepositoryVisibility? Type5557 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamDeleted? Type5558 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamDeletedAction? Type5559 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamDeletedRepository? Type5560 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamDeletedRepositoryCustomProperties? Type5561 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamDeletedRepositoryLicense? Type5562 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamDeletedRepositoryOwner? Type5563 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamDeletedRepositoryOwnerType? Type5564 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamDeletedRepositoryPermissions? Type5565 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamDeletedRepositoryVisibility? Type5566 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEdited? Type5567 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedAction? Type5568 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedChanges? Type5569 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedChangesDescription? Type5570 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedChangesName? Type5571 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedChangesPrivacy? Type5572 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedChangesNotificationSetting? Type5573 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedChangesRepository? Type5574 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedChangesRepositoryPermissions? Type5575 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedChangesRepositoryPermissionsFrom? Type5576 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedRepository? Type5577 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedRepositoryCustomProperties? Type5578 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedRepositoryLicense? Type5579 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedRepositoryOwner? Type5580 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedRepositoryOwnerType? Type5581 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedRepositoryPermissions? Type5582 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamEditedRepositoryVisibility? Type5583 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamRemovedFromRepository? Type5584 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamRemovedFromRepositoryAction? Type5585 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamRemovedFromRepositoryRepository? Type5586 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamRemovedFromRepositoryRepositoryCustomProperties? Type5587 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamRemovedFromRepositoryRepositoryLicense? Type5588 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamRemovedFromRepositoryRepositoryOwner? Type5589 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamRemovedFromRepositoryRepositoryOwnerType? Type5590 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamRemovedFromRepositoryRepositoryPermissions? Type5591 { get; set; } + /// + /// + /// + public global::GitHub.WebhookTeamRemovedFromRepositoryRepositoryVisibility? Type5592 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWatchStarted? Type5593 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWatchStartedAction? Type5594 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowDispatch? Type5595 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowDispatchInputs? Type5596 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobCompleted? Type5597 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobCompletedAction? Type5598 { get; set; } + /// + /// + /// + public global::System.AllOf? Type5599 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1? Type5600 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Conclusion? Type5601 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Status? Type5602 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5603 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1Step? Type5604 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepConclusion? Type5605 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant1StepStatus? Type5606 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2? Type5607 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2Conclusion? Type5608 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5609 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobCompletedWorkflowJobVariant2Step? Type5610 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobInProgress? Type5611 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobInProgressAction? Type5612 { get; set; } + /// + /// + /// + public global::System.AllOf? Type5613 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1? Type5614 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Conclusion? Type5615 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Status? Type5616 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5617 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1Step? Type5618 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepConclusion? Type5619 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant1StepStatus? Type5620 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2? Type5621 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2Status? Type5622 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5623 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2Step? Type5624 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobInProgressWorkflowJobVariant2StepStatus? Type5625 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobQueued? Type5626 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobQueuedAction? Type5627 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobQueuedWorkflowJob? Type5628 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStatus? Type5629 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5630 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStep? Type5631 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepConclusion? Type5632 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobQueuedWorkflowJobStepStatus? Type5633 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobWaiting? Type5634 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobWaitingAction? Type5635 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobWaitingWorkflowJob? Type5636 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStatus? Type5637 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5638 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStep? Type5639 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepConclusion? Type5640 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowJobWaitingWorkflowJobStepStatus? Type5641 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompleted? Type5642 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedAction? Type5643 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRun? Type5644 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunActor? Type5645 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunActorType? Type5646 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunConclusion? Type5647 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunHeadCommit? Type5648 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunHeadCommitAuthor? Type5649 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunHeadCommitCommitter? Type5650 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunHeadRepository? Type5651 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunHeadRepositoryOwner? Type5652 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunHeadRepositoryOwnerType? Type5653 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5654 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequest? Type5655 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestBase? Type5656 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestBaseRepo? Type5657 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestHead? Type5658 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunPullRequestHeadRepo? Type5659 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5660 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunReferencedWorkflow? Type5661 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunRepository? Type5662 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunRepositoryOwner? Type5663 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunRepositoryOwnerType? Type5664 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunStatus? Type5665 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunTriggeringActor? Type5666 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunCompletedWorkflowRunTriggeringActorType? Type5667 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgress? Type5668 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressAction? Type5669 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRun? Type5670 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunActor? Type5671 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunActorType? Type5672 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunConclusion? Type5673 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunHeadCommit? Type5674 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunHeadCommitAuthor? Type5675 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunHeadCommitCommitter? Type5676 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunHeadRepository? Type5677 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunHeadRepositoryOwner? Type5678 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunHeadRepositoryOwnerType? Type5679 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5680 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequest? Type5681 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestBase? Type5682 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestBaseRepo? Type5683 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestHead? Type5684 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunPullRequestHeadRepo? Type5685 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5686 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunReferencedWorkflow? Type5687 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunRepository? Type5688 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunRepositoryOwner? Type5689 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunRepositoryOwnerType? Type5690 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunStatus? Type5691 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunTriggeringActor? Type5692 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunInProgressWorkflowRunTriggeringActorType? Type5693 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequested? Type5694 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedAction? Type5695 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRun? Type5696 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunActor? Type5697 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunActorType? Type5698 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunConclusion? Type5699 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunHeadCommit? Type5700 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunHeadCommitAuthor? Type5701 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunHeadCommitCommitter? Type5702 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunHeadRepository? Type5703 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunHeadRepositoryOwner? Type5704 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunHeadRepositoryOwnerType? Type5705 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5706 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequest? Type5707 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestBase? Type5708 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestBaseRepo? Type5709 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestHead? Type5710 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunPullRequestHeadRepo? Type5711 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5712 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunReferencedWorkflow? Type5713 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunRepository? Type5714 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunRepositoryOwner? Type5715 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunRepositoryOwnerType? Type5716 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunStatus? Type5717 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunTriggeringActor? Type5718 { get; set; } + /// + /// + /// + public global::GitHub.WebhookWorkflowRunRequestedWorkflowRunTriggeringActorType? Type5719 { get; set; } + /// + /// + /// + public global::GitHub.AppsUpdateWebhookConfigForAppRequest? Type5720 { get; set; } + /// + /// + /// + public global::GitHub.AppsCreateInstallationAccessTokenRequest? Type5721 { get; set; } + /// + /// + /// + public global::GitHub.AppsDeleteAuthorizationRequest? Type5722 { get; set; } + /// + /// + /// + public global::GitHub.AppsCheckTokenRequest? Type5723 { get; set; } + /// + /// + /// + public global::GitHub.AppsResetTokenRequest? Type5724 { get; set; } + /// + /// + /// + public global::GitHub.AppsDeleteTokenRequest? Type5725 { get; set; } + /// + /// + /// + public global::GitHub.AppsScopeTokenRequest? Type5726 { get; set; } + /// + /// + /// + public global::GitHub.GistsCreateRequest? Type5727 { get; set; } + /// + /// + /// + public global::GitHub.GistsCreateRequestFiles? Type5728 { get; set; } + /// + /// + /// + public global::System.OneOf? Type5729 { get; set; } + /// + /// + /// + public global::GitHub.GistsCreateRequestPublic? Type5730 { get; set; } + /// + /// + /// + public global::GitHub.GistsUpdateRequest? Type5731 { get; set; } + /// + /// + /// + public global::GitHub.GistsUpdateRequestFiles? Type5732 { get; set; } + /// + /// + /// + public global::GitHub.GistsCreateCommentRequest? Type5733 { get; set; } + /// + /// + /// + public global::GitHub.GistsUpdateCommentRequest? Type5734 { get; set; } + /// + /// + /// + public global::GitHub.MarkdownRenderRequest? Type5735 { get; set; } + /// + /// + /// + public global::GitHub.MarkdownRenderRequestMode? Type5736 { get; set; } + /// + /// + /// + public global::GitHub.ActivityMarkNotificationsAsReadRequest? Type5737 { get; set; } + /// + /// + /// + public global::GitHub.ActivitySetThreadSubscriptionRequest? Type5738 { get; set; } + /// + /// + /// + public global::GitHub.OrgsUpdateRequest? Type5739 { get; set; } + /// + /// + /// + public global::GitHub.OrgsUpdateRequestDefaultRepositoryPermission? Type5740 { get; set; } + /// + /// + /// + public global::GitHub.OrgsUpdateRequestMembersAllowedRepositoryCreationType? Type5741 { get; set; } + /// + /// + /// + public global::GitHub.ActionsSetGithubActionsPermissionsOrganizationRequest? Type5742 { get; set; } + /// + /// + /// + public global::GitHub.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationRequest? Type5743 { get; set; } + /// + /// + /// + public global::GitHub.ActionsGenerateRunnerJitconfigForOrgRequest? Type5744 { get; set; } + /// + /// + /// + public global::GitHub.ActionsAddCustomLabelsToSelfHostedRunnerForOrgRequest? Type5745 { get; set; } + /// + /// + /// + public global::GitHub.ActionsSetCustomLabelsForSelfHostedRunnerForOrgRequest? Type5746 { get; set; } + /// + /// + /// + public global::GitHub.ActionsCreateOrUpdateOrgSecretRequest? Type5747 { get; set; } + /// + /// + /// + public global::GitHub.ActionsCreateOrUpdateOrgSecretRequestVisibility? Type5748 { get; set; } + /// + /// + /// + public global::GitHub.ActionsSetSelectedReposForOrgSecretRequest? Type5749 { get; set; } + /// + /// + /// + public global::GitHub.ActionsCreateOrgVariableRequest? Type5750 { get; set; } + /// + /// + /// + public global::GitHub.ActionsCreateOrgVariableRequestVisibility? Type5751 { get; set; } + /// + /// + /// + public global::GitHub.ActionsUpdateOrgVariableRequest? Type5752 { get; set; } + /// + /// + /// + public global::GitHub.ActionsUpdateOrgVariableRequestVisibility? Type5753 { get; set; } + /// + /// + /// + public global::GitHub.ActionsSetSelectedReposForOrgVariableRequest? Type5754 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityCreateConfigurationRequest? Type5755 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityCreateConfigurationRequestAdvancedSecurity? Type5756 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityCreateConfigurationRequestDependencyGraph? Type5757 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityCreateConfigurationRequestDependabotAlerts? Type5758 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityCreateConfigurationRequestDependabotSecurityUpdates? Type5759 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityCreateConfigurationRequestCodeScanningDefaultSetup? Type5760 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityCreateConfigurationRequestSecretScanning? Type5761 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityCreateConfigurationRequestSecretScanningPushProtection? Type5762 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityCreateConfigurationRequestSecretScanningValidityChecks? Type5763 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityCreateConfigurationRequestPrivateVulnerabilityReporting? Type5764 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityCreateConfigurationRequestEnforcement? Type5765 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityDetachConfigurationRequest? Type5766 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityUpdateConfigurationRequest? Type5767 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityUpdateConfigurationRequestAdvancedSecurity? Type5768 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityUpdateConfigurationRequestDependencyGraph? Type5769 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityUpdateConfigurationRequestDependabotAlerts? Type5770 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityUpdateConfigurationRequestDependabotSecurityUpdates? Type5771 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityUpdateConfigurationRequestCodeScanningDefaultSetup? Type5772 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityUpdateConfigurationRequestSecretScanning? Type5773 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityUpdateConfigurationRequestSecretScanningPushProtection? Type5774 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityUpdateConfigurationRequestSecretScanningValidityChecks? Type5775 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityUpdateConfigurationRequestPrivateVulnerabilityReporting? Type5776 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityUpdateConfigurationRequestEnforcement? Type5777 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityAttachConfigurationRequest? Type5778 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityAttachConfigurationRequestScope? Type5779 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecuritySetConfigurationAsDefaultRequest? Type5780 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecuritySetConfigurationAsDefaultRequestDefaultForNewRepos? Type5781 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesSetCodespacesAccessRequest? Type5782 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesSetCodespacesAccessRequestVisibility? Type5783 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesSetCodespacesAccessUsersRequest? Type5784 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesDeleteCodespacesAccessUsersRequest? Type5785 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateOrUpdateOrgSecretRequest? Type5786 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateOrUpdateOrgSecretRequestVisibility? Type5787 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesSetSelectedReposForOrgSecretRequest? Type5788 { get; set; } + /// + /// + /// + public global::GitHub.CopilotAddCopilotSeatsForTeamsRequest? Type5789 { get; set; } + /// + /// + /// + public global::GitHub.CopilotCancelCopilotSeatAssignmentForTeamsRequest? Type5790 { get; set; } + /// + /// + /// + public global::GitHub.CopilotAddCopilotSeatsForUsersRequest? Type5791 { get; set; } + /// + /// + /// + public global::GitHub.CopilotCancelCopilotSeatAssignmentForUsersRequest? Type5792 { get; set; } + /// + /// + /// + public global::GitHub.DependabotCreateOrUpdateOrgSecretRequest? Type5793 { get; set; } + /// + /// + /// + public global::GitHub.DependabotCreateOrUpdateOrgSecretRequestVisibility? Type5794 { get; set; } + /// + /// + /// + public global::GitHub.DependabotSetSelectedReposForOrgSecretRequest? Type5795 { get; set; } + /// + /// + /// + public global::GitHub.OrgsCreateWebhookRequest? Type5796 { get; set; } + /// + /// + /// + public global::GitHub.OrgsCreateWebhookRequestConfig? Type5797 { get; set; } + /// + /// + /// + public global::GitHub.OrgsUpdateWebhookRequest? Type5798 { get; set; } + /// + /// + /// + public global::GitHub.OrgsUpdateWebhookRequestConfig? Type5799 { get; set; } + /// + /// + /// + public global::GitHub.OrgsUpdateWebhookConfigForOrgRequest? Type5800 { get; set; } + /// + /// + /// + public global::GitHub.OrgsCreateInvitationRequest? Type5801 { get; set; } + /// + /// + /// + public global::GitHub.OrgsCreateInvitationRequestRole? Type5802 { get; set; } + /// + /// + /// + public global::GitHub.OrgsSetMembershipForUserRequest? Type5803 { get; set; } + /// + /// + /// + public global::GitHub.OrgsSetMembershipForUserRequestRole? Type5804 { get; set; } + /// + /// + /// + public global::GitHub.MigrationsStartForOrgRequest? Type5805 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5806 { get; set; } + /// + /// + /// + public global::GitHub.MigrationsStartForOrgRequestExcludeItem? Type5807 { get; set; } + /// + /// + /// + public global::GitHub.OrgsConvertMemberToOutsideCollaboratorRequest? Type5808 { get; set; } + /// + /// + /// + public global::GitHub.OrgsReviewPatGrantRequestsInBulkRequest? Type5809 { get; set; } + /// + /// + /// + public global::GitHub.OrgsReviewPatGrantRequestsInBulkRequestAction? Type5810 { get; set; } + /// + /// + /// + public global::GitHub.OrgsReviewPatGrantRequestRequest? Type5811 { get; set; } + /// + /// + /// + public global::GitHub.OrgsReviewPatGrantRequestRequestAction? Type5812 { get; set; } + /// + /// + /// + public global::GitHub.OrgsUpdatePatAccessesRequest? Type5813 { get; set; } + /// + /// + /// + public global::GitHub.OrgsUpdatePatAccessesRequestAction? Type5814 { get; set; } + /// + /// + /// + public global::GitHub.OrgsUpdatePatAccessRequest? Type5815 { get; set; } + /// + /// + /// + public global::GitHub.OrgsUpdatePatAccessRequestAction? Type5816 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsCreateForOrgRequest? Type5817 { get; set; } + /// + /// + /// + public global::GitHub.OrgsCreateOrUpdateCustomPropertiesRequest? Type5818 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5819 { get; set; } + /// + /// + /// + public global::GitHub.OrgsCreateOrUpdateCustomPropertyRequest? Type5820 { get; set; } + /// + /// + /// + public global::GitHub.OrgsCreateOrUpdateCustomPropertyRequestValueType? Type5821 { get; set; } + /// + /// + /// + public global::GitHub.OrgsCreateOrUpdateCustomPropertiesValuesForReposRequest? Type5822 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateInOrgRequest? Type5823 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateInOrgRequestVisibility? Type5824 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateInOrgRequestSquashMergeCommitTitle? Type5825 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateInOrgRequestSquashMergeCommitMessage? Type5826 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateInOrgRequestMergeCommitTitle? Type5827 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateInOrgRequestMergeCommitMessage? Type5828 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateInOrgRequestCustomProperties? Type5829 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateOrgRulesetRequest? Type5830 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateOrgRulesetRequestTarget? Type5831 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateOrgRulesetRequest? Type5832 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateOrgRulesetRequestTarget? Type5833 { get; set; } + /// + /// + /// + public global::GitHub.TeamsCreateRequest? Type5834 { get; set; } + /// + /// + /// + public global::GitHub.TeamsCreateRequestPrivacy? Type5835 { get; set; } + /// + /// + /// + public global::GitHub.TeamsCreateRequestNotificationSetting? Type5836 { get; set; } + /// + /// + /// + public global::GitHub.TeamsCreateRequestPermission? Type5837 { get; set; } + /// + /// + /// + public global::GitHub.TeamsUpdateInOrgRequest? Type5838 { get; set; } + /// + /// + /// + public global::GitHub.TeamsUpdateInOrgRequestPrivacy? Type5839 { get; set; } + /// + /// + /// + public global::GitHub.TeamsUpdateInOrgRequestNotificationSetting? Type5840 { get; set; } + /// + /// + /// + public global::GitHub.TeamsUpdateInOrgRequestPermission? Type5841 { get; set; } + /// + /// + /// + public global::GitHub.TeamsCreateDiscussionInOrgRequest? Type5842 { get; set; } + /// + /// + /// + public global::GitHub.TeamsUpdateDiscussionInOrgRequest? Type5843 { get; set; } + /// + /// + /// + public global::GitHub.TeamsCreateDiscussionCommentInOrgRequest? Type5844 { get; set; } + /// + /// + /// + public global::GitHub.TeamsUpdateDiscussionCommentInOrgRequest? Type5845 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForTeamDiscussionCommentInOrgRequest? Type5846 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForTeamDiscussionCommentInOrgRequestContent? Type5847 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForTeamDiscussionInOrgRequest? Type5848 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForTeamDiscussionInOrgRequestContent? Type5849 { get; set; } + /// + /// + /// + public global::GitHub.TeamsAddOrUpdateMembershipForUserInOrgRequest? Type5850 { get; set; } + /// + /// + /// + public global::GitHub.TeamsAddOrUpdateMembershipForUserInOrgRequestRole? Type5851 { get; set; } + /// + /// + /// + public global::GitHub.TeamsAddOrUpdateProjectPermissionsInOrgRequest? Type5852 { get; set; } + /// + /// + /// + public global::GitHub.TeamsAddOrUpdateProjectPermissionsInOrgRequestPermission? Type5853 { get; set; } + /// + /// + /// + public global::GitHub.TeamsAddOrUpdateRepoPermissionsInOrgRequest? Type5854 { get; set; } + /// + /// + /// + public global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest? Type5855 { get; set; } + /// + /// + /// + public global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite? Type5856 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsUpdateCardRequest? Type5857 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsMoveCardRequest? Type5858 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsUpdateColumnRequest? Type5859 { get; set; } + /// + /// + /// + public global::System.OneOf? Type5860 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsCreateCardRequestVariant1? Type5861 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsCreateCardRequestVariant2? Type5862 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsMoveColumnRequest? Type5863 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsUpdateRequest? Type5864 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsUpdateRequestOrganizationPermission? Type5865 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsAddCollaboratorRequest? Type5866 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsAddCollaboratorRequestPermission? Type5867 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsCreateColumnRequest? Type5868 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateRequest? Type5869 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateRequestVisibility? Type5870 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateRequestSecurityAndAnalysis? Type5871 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateRequestSecurityAndAnalysisAdvancedSecurity? Type5872 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateRequestSecurityAndAnalysisSecretScanning? Type5873 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateRequestSecurityAndAnalysisSecretScanningPushProtection? Type5874 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateRequestSecurityAndAnalysisSecretScanningNonProviderPatterns? Type5875 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateRequestSquashMergeCommitTitle? Type5876 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateRequestSquashMergeCommitMessage? Type5877 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateRequestMergeCommitTitle? Type5878 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateRequestMergeCommitMessage? Type5879 { get; set; } + /// + /// + /// + public global::GitHub.ActionsReRunJobForWorkflowRunRequest? Type5880 { get; set; } + /// + /// + /// + public global::GitHub.ActionsSetCustomOidcSubClaimForRepoRequest? Type5881 { get; set; } + /// + /// + /// + public global::GitHub.ActionsSetGithubActionsPermissionsRepositoryRequest? Type5882 { get; set; } + /// + /// + /// + public global::GitHub.ActionsGenerateRunnerJitconfigForRepoRequest? Type5883 { get; set; } + /// + /// + /// + public global::GitHub.ActionsAddCustomLabelsToSelfHostedRunnerForRepoRequest? Type5884 { get; set; } + /// + /// + /// + public global::GitHub.ActionsSetCustomLabelsForSelfHostedRunnerForRepoRequest? Type5885 { get; set; } + /// + /// + /// + public global::System.AnyOf? Type5886 { get; set; } + /// + /// + /// + public global::GitHub.ActionsReviewPendingDeploymentsForRunRequest? Type5887 { get; set; } + /// + /// + /// + public global::GitHub.ActionsReviewPendingDeploymentsForRunRequestState? Type5888 { get; set; } + /// + /// + /// + public global::GitHub.ActionsReRunWorkflowRequest? Type5889 { get; set; } + /// + /// + /// + public global::GitHub.ActionsReRunWorkflowFailedJobsRequest? Type5890 { get; set; } + /// + /// + /// + public global::GitHub.ActionsCreateOrUpdateRepoSecretRequest? Type5891 { get; set; } + /// + /// + /// + public global::GitHub.ActionsCreateRepoVariableRequest? Type5892 { get; set; } + /// + /// + /// + public global::GitHub.ActionsUpdateRepoVariableRequest? Type5893 { get; set; } + /// + /// + /// + public global::GitHub.ActionsCreateWorkflowDispatchRequest? Type5894 { get; set; } + /// + /// + /// + public global::GitHub.ActionsCreateWorkflowDispatchRequestInputs? Type5895 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateAttestationRequest? Type5896 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateAttestationRequestBundle? Type5897 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateAttestationRequestBundleVerificationMaterial? Type5898 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateAttestationRequestBundleDsseEnvelope? Type5899 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateAutolinkRequest? Type5900 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateBranchProtectionRequest? Type5901 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateBranchProtectionRequestRequiredStatusChecks? Type5902 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5903 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateBranchProtectionRequestRequiredStatusChecksCheck? Type5904 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateBranchProtectionRequestRequiredPullRequestReviews? Type5905 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsDismissalRestrictions? Type5906 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateBranchProtectionRequestRequiredPullRequestReviewsBypassPullRequestAllowances? Type5907 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateBranchProtectionRequestRestrictions? Type5908 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdatePullRequestReviewProtectionRequest? Type5909 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdatePullRequestReviewProtectionRequestDismissalRestrictions? Type5910 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdatePullRequestReviewProtectionRequestBypassPullRequestAllowances? Type5911 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateStatusCheckProtectionRequest? Type5912 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5913 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateStatusCheckProtectionRequestCheck? Type5914 { get; set; } + /// + /// + /// + public global::System.OneOf?>? Type5915 { get; set; } + /// + /// + /// + public global::GitHub.ReposAddStatusCheckContextsRequest2? Type5916 { get; set; } + /// + /// + /// + public global::System.OneOf?>? Type5917 { get; set; } + /// + /// + /// + public global::GitHub.ReposSetStatusCheckContextsRequest2? Type5918 { get; set; } + /// + /// + /// + public global::System.OneOf?>? Type5919 { get; set; } + /// + /// + /// + public global::GitHub.ReposRemoveStatusCheckContextsRequest2? Type5920 { get; set; } + /// + /// + /// + public global::System.OneOf?>? Type5921 { get; set; } + /// + /// + /// + public global::GitHub.ReposAddAppAccessRestrictionsRequest2? Type5922 { get; set; } + /// + /// + /// + public global::System.OneOf?>? Type5923 { get; set; } + /// + /// + /// + public global::GitHub.ReposSetAppAccessRestrictionsRequest2? Type5924 { get; set; } + /// + /// + /// + public global::System.OneOf?>? Type5925 { get; set; } + /// + /// + /// + public global::GitHub.ReposRemoveAppAccessRestrictionsRequest2? Type5926 { get; set; } + /// + /// + /// + public global::System.OneOf?>? Type5927 { get; set; } + /// + /// + /// + public global::GitHub.ReposAddTeamAccessRestrictionsRequest2? Type5928 { get; set; } + /// + /// + /// + public global::System.OneOf?>? Type5929 { get; set; } + /// + /// + /// + public global::GitHub.ReposSetTeamAccessRestrictionsRequest2? Type5930 { get; set; } + /// + /// + /// + public global::System.OneOf?>? Type5931 { get; set; } + /// + /// + /// + public global::GitHub.ReposRemoveTeamAccessRestrictionsRequest2? Type5932 { get; set; } + /// + /// + /// + public global::System.OneOf?>? Type5933 { get; set; } + /// + /// + /// + public global::GitHub.ReposAddUserAccessRestrictionsRequest2? Type5934 { get; set; } + /// + /// + /// + public global::System.OneOf?>? Type5935 { get; set; } + /// + /// + /// + public global::GitHub.ReposSetUserAccessRestrictionsRequest2? Type5936 { get; set; } + /// + /// + /// + public global::System.OneOf?>? Type5937 { get; set; } + /// + /// + /// + public global::GitHub.ReposRemoveUserAccessRestrictionsRequest2? Type5938 { get; set; } + /// + /// + /// + public global::GitHub.ReposRenameBranchRequest? Type5939 { get; set; } + /// + /// + /// + public global::GitHub.ChecksCreateRequest? Type5940 { get; set; } + /// + /// + /// + public global::GitHub.ChecksCreateRequestStatus? Type5941 { get; set; } + /// + /// + /// + public global::GitHub.ChecksCreateRequestConclusion? Type5942 { get; set; } + /// + /// + /// + public global::GitHub.ChecksCreateRequestOutput? Type5943 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5944 { get; set; } + /// + /// + /// + public global::GitHub.ChecksCreateRequestOutputAnnotation? Type5945 { get; set; } + /// + /// + /// + public global::GitHub.ChecksCreateRequestOutputAnnotationAnnotationLevel? Type5946 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5947 { get; set; } + /// + /// + /// + public global::GitHub.ChecksCreateRequestOutputImage? Type5948 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5949 { get; set; } + /// + /// + /// + public global::GitHub.ChecksCreateRequestAction? Type5950 { get; set; } + /// + /// + /// + public global::GitHub.ChecksCreateRequestVariant1? Type5951 { get; set; } + /// + /// + /// + public global::GitHub.ChecksCreateRequestVariant1Status? Type5952 { get; set; } + /// + /// + /// + public global::GitHub.ChecksCreateRequestVariant2? Type5953 { get; set; } + /// + /// + /// + public global::GitHub.ChecksCreateRequestVariant2Status? Type5954 { get; set; } + /// + /// + /// + public global::GitHub.ChecksUpdateRequest? Type5955 { get; set; } + /// + /// + /// + public global::GitHub.ChecksUpdateRequestStatus? Type5956 { get; set; } + /// + /// + /// + public global::GitHub.ChecksUpdateRequestConclusion? Type5957 { get; set; } + /// + /// + /// + public global::GitHub.ChecksUpdateRequestOutput? Type5958 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5959 { get; set; } + /// + /// + /// + public global::GitHub.ChecksUpdateRequestOutputAnnotation? Type5960 { get; set; } + /// + /// + /// + public global::GitHub.ChecksUpdateRequestOutputAnnotationAnnotationLevel? Type5961 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5962 { get; set; } + /// + /// + /// + public global::GitHub.ChecksUpdateRequestOutputImage? Type5963 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5964 { get; set; } + /// + /// + /// + public global::GitHub.ChecksUpdateRequestAction? Type5965 { get; set; } + /// + /// + /// + public global::GitHub.ChecksUpdateRequestVariant1? Type5966 { get; set; } + /// + /// + /// + public global::GitHub.ChecksUpdateRequestVariant1Status? Type5967 { get; set; } + /// + /// + /// + public global::GitHub.ChecksUpdateRequestVariant2? Type5968 { get; set; } + /// + /// + /// + public global::GitHub.ChecksUpdateRequestVariant2Status? Type5969 { get; set; } + /// + /// + /// + public global::GitHub.ChecksCreateSuiteRequest? Type5970 { get; set; } + /// + /// + /// + public global::GitHub.ChecksSetSuitesPreferencesRequest? Type5971 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type5972 { get; set; } + /// + /// + /// + public global::GitHub.ChecksSetSuitesPreferencesRequestAutoTriggerCheck? Type5973 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningUpdateAlertRequest? Type5974 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningCreateVariantAnalysisRequest? Type5975 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningCreateVariantAnalysisRequestVariant1? Type5976 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningCreateVariantAnalysisRequestVariant2? Type5977 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningCreateVariantAnalysisRequestVariant3? Type5978 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningUploadSarifRequest? Type5979 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateWithRepoForAuthenticatedUserRequest? Type5980 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateWithRepoForAuthenticatedUserRequestGeo? Type5981 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateOrUpdateRepoSecretRequest? Type5982 { get; set; } + /// + /// + /// + public global::GitHub.ReposAddCollaboratorRequest? Type5983 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateCommitCommentRequest? Type5984 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForCommitCommentRequest? Type5985 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForCommitCommentRequestContent? Type5986 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateCommitCommentRequest? Type5987 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateOrUpdateFileContentsRequest? Type5988 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateOrUpdateFileContentsRequestCommitter? Type5989 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateOrUpdateFileContentsRequestAuthor? Type5990 { get; set; } + /// + /// + /// + public global::GitHub.ReposDeleteFileRequest? Type5991 { get; set; } + /// + /// + /// + public global::GitHub.ReposDeleteFileRequestCommitter? Type5992 { get; set; } + /// + /// + /// + public global::GitHub.ReposDeleteFileRequestAuthor? Type5993 { get; set; } + /// + /// + /// + public global::GitHub.DependabotUpdateAlertRequest? Type5994 { get; set; } + /// + /// + /// + public global::GitHub.DependabotUpdateAlertRequestState? Type5995 { get; set; } + /// + /// + /// + public global::GitHub.DependabotUpdateAlertRequestDismissedReason? Type5996 { get; set; } + /// + /// + /// + public global::GitHub.DependabotCreateOrUpdateRepoSecretRequest? Type5997 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateDeploymentRequest? Type5998 { get; set; } + /// + /// + /// + public global::System.OneOf? Type5999 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateDeploymentRequestPayload? Type6000 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateDeploymentStatusRequest? Type6001 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateDeploymentStatusRequestState? Type6002 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateDispatchEventRequest? Type6003 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateDispatchEventRequestClientPayload? Type6004 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateOrUpdateEnvironmentRequest? Type6005 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6006 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateOrUpdateEnvironmentRequestReviewer? Type6007 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateDeploymentProtectionRuleRequest? Type6008 { get; set; } + /// + /// + /// + public global::GitHub.ActionsCreateOrUpdateEnvironmentSecretRequest? Type6009 { get; set; } + /// + /// + /// + public global::GitHub.ActionsCreateEnvironmentVariableRequest? Type6010 { get; set; } + /// + /// + /// + public global::GitHub.ActionsUpdateEnvironmentVariableRequest? Type6011 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateForkRequest? Type6012 { get; set; } + /// + /// + /// + public global::GitHub.GitCreateBlobRequest? Type6013 { get; set; } + /// + /// + /// + public global::GitHub.GitCreateCommitRequest? Type6014 { get; set; } + /// + /// + /// + public global::GitHub.GitCreateCommitRequestAuthor? Type6015 { get; set; } + /// + /// + /// + public global::GitHub.GitCreateCommitRequestCommitter? Type6016 { get; set; } + /// + /// + /// + public global::GitHub.GitCreateRefRequest? Type6017 { get; set; } + /// + /// + /// + public global::GitHub.GitUpdateRefRequest? Type6018 { get; set; } + /// + /// + /// + public global::GitHub.GitCreateTagRequest? Type6019 { get; set; } + /// + /// + /// + public global::GitHub.GitCreateTagRequestType? Type6020 { get; set; } + /// + /// + /// + public global::GitHub.GitCreateTagRequestTagger? Type6021 { get; set; } + /// + /// + /// + public global::GitHub.GitCreateTreeRequest? Type6022 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6023 { get; set; } + /// + /// + /// + public global::GitHub.GitCreateTreeRequestTreeItem? Type6024 { get; set; } + /// + /// + /// + public global::GitHub.GitCreateTreeRequestTreeItemMode? Type6025 { get; set; } + /// + /// + /// + public global::GitHub.GitCreateTreeRequestTreeItemType? Type6026 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateWebhookRequest? Type6027 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateWebhookRequestConfig? Type6028 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateWebhookRequest? Type6029 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateWebhookConfigForRepoRequest? Type6030 { get; set; } + /// + /// + /// + public global::GitHub.MigrationsStartImportRequest? Type6031 { get; set; } + /// + /// + /// + public global::GitHub.MigrationsStartImportRequestVcs? Type6032 { get; set; } + /// + /// + /// + public global::GitHub.MigrationsUpdateImportRequest? Type6033 { get; set; } + /// + /// + /// + public global::GitHub.MigrationsUpdateImportRequestVcs? Type6034 { get; set; } + /// + /// + /// + public global::GitHub.MigrationsMapCommitAuthorRequest? Type6035 { get; set; } + /// + /// + /// + public global::GitHub.MigrationsSetLfsPreferenceRequest? Type6036 { get; set; } + /// + /// + /// + public global::GitHub.MigrationsSetLfsPreferenceRequestUseLfs? Type6037 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateInvitationRequest? Type6038 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateInvitationRequestPermissions? Type6039 { get; set; } + /// + /// + /// + public global::GitHub.IssuesCreateRequest? Type6040 { get; set; } + /// + /// + /// + public global::System.OneOf? Type6041 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList>? Type6042 { get; set; } + /// + /// + /// + public global::System.OneOf? Type6043 { get; set; } + /// + /// + /// + public global::GitHub.IssuesCreateRequestLabel? Type6044 { get; set; } + /// + /// + /// + public global::GitHub.IssuesUpdateCommentRequest? Type6045 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForIssueCommentRequest? Type6046 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForIssueCommentRequestContent? Type6047 { get; set; } + /// + /// + /// + public global::GitHub.IssuesUpdateRequest? Type6048 { get; set; } + /// + /// + /// + public global::GitHub.IssuesUpdateRequestState? Type6049 { get; set; } + /// + /// + /// + public global::GitHub.IssuesUpdateRequestStateReason? Type6050 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList>? Type6051 { get; set; } + /// + /// + /// + public global::System.OneOf? Type6052 { get; set; } + /// + /// + /// + public global::GitHub.IssuesUpdateRequestLabel? Type6053 { get; set; } + /// + /// + /// + public global::GitHub.IssuesAddAssigneesRequest? Type6054 { get; set; } + /// + /// + /// + public global::GitHub.IssuesRemoveAssigneesRequest? Type6055 { get; set; } + /// + /// + /// + public global::GitHub.IssuesCreateCommentRequest? Type6056 { get; set; } + /// + /// + /// + public global::System.OneOf?, global::GitHub.IssuesAddLabelsRequestVariant3?, global::System.Collections.Generic.IList?, string?>? Type6057 { get; set; } + /// + /// + /// + public global::GitHub.IssuesAddLabelsRequestVariant1? Type6058 { get; set; } + /// + /// + /// + public global::GitHub.IssuesAddLabelsRequestVariant3? Type6059 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6060 { get; set; } + /// + /// + /// + public global::GitHub.IssuesAddLabelsRequestVariant3Label? Type6061 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6062 { get; set; } + /// + /// + /// + public global::GitHub.IssuesAddLabelsRequestVariant4Item? Type6063 { get; set; } + /// + /// + /// + public global::System.OneOf?, global::GitHub.IssuesSetLabelsRequestVariant3?, global::System.Collections.Generic.IList?, string?>? Type6064 { get; set; } + /// + /// + /// + public global::GitHub.IssuesSetLabelsRequestVariant1? Type6065 { get; set; } + /// + /// + /// + public global::GitHub.IssuesSetLabelsRequestVariant3? Type6066 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6067 { get; set; } + /// + /// + /// + public global::GitHub.IssuesSetLabelsRequestVariant3Label? Type6068 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6069 { get; set; } + /// + /// + /// + public global::GitHub.IssuesSetLabelsRequestVariant4Item? Type6070 { get; set; } + /// + /// + /// + public global::GitHub.IssuesLockRequest? Type6071 { get; set; } + /// + /// + /// + public global::GitHub.IssuesLockRequestLockReason? Type6072 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForIssueRequest? Type6073 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForIssueRequestContent? Type6074 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateDeployKeyRequest? Type6075 { get; set; } + /// + /// + /// + public global::GitHub.IssuesCreateLabelRequest? Type6076 { get; set; } + /// + /// + /// + public global::GitHub.IssuesUpdateLabelRequest? Type6077 { get; set; } + /// + /// + /// + public global::GitHub.ReposMergeUpstreamRequest? Type6078 { get; set; } + /// + /// + /// + public global::GitHub.ReposMergeRequest? Type6079 { get; set; } + /// + /// + /// + public global::GitHub.IssuesCreateMilestoneRequest? Type6080 { get; set; } + /// + /// + /// + public global::GitHub.IssuesCreateMilestoneRequestState? Type6081 { get; set; } + /// + /// + /// + public global::GitHub.IssuesUpdateMilestoneRequest? Type6082 { get; set; } + /// + /// + /// + public global::GitHub.IssuesUpdateMilestoneRequestState? Type6083 { get; set; } + /// + /// + /// + public global::GitHub.ActivityMarkRepoNotificationsAsReadRequest? Type6084 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreatePagesSiteRequest? Type6085 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreatePagesSiteRequestBuildType? Type6086 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreatePagesSiteRequestSource? Type6087 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreatePagesSiteRequestSourcePath? Type6088 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreatePagesSiteRequestVariant1? Type6089 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreatePagesSiteRequestVariant2? Type6090 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateInformationAboutPagesSiteRequest? Type6091 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateInformationAboutPagesSiteRequestBuildType? Type6092 { get; set; } + /// + /// + /// + public global::System.AnyOf? Type6093 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant1? Type6094 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2? Type6095 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateInformationAboutPagesSiteRequestSourceVariant2Path? Type6096 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateInformationAboutPagesSiteRequestVariant1? Type6097 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateInformationAboutPagesSiteRequestVariant2? Type6098 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateInformationAboutPagesSiteRequestVariant3? Type6099 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateInformationAboutPagesSiteRequestVariant4? Type6100 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateInformationAboutPagesSiteRequestVariant5? Type6101 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreatePagesDeploymentRequest? Type6102 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsCreateForRepoRequest? Type6103 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateOrUpdateCustomPropertiesValuesRequest? Type6104 { get; set; } + /// + /// + /// + public global::GitHub.PullsCreateRequest? Type6105 { get; set; } + /// + /// + /// + public global::GitHub.PullsUpdateReviewCommentRequest? Type6106 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForPullRequestReviewCommentRequest? Type6107 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForPullRequestReviewCommentRequestContent? Type6108 { get; set; } + /// + /// + /// + public global::GitHub.PullsUpdateRequest? Type6109 { get; set; } + /// + /// + /// + public global::GitHub.PullsUpdateRequestState? Type6110 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateWithPrForAuthenticatedUserRequest? Type6111 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateWithPrForAuthenticatedUserRequestGeo? Type6112 { get; set; } + /// + /// + /// + public global::GitHub.PullsCreateReviewCommentRequest? Type6113 { get; set; } + /// + /// + /// + public global::GitHub.PullsCreateReviewCommentRequestSide? Type6114 { get; set; } + /// + /// + /// + public global::GitHub.PullsCreateReviewCommentRequestStartSide? Type6115 { get; set; } + /// + /// + /// + public global::GitHub.PullsCreateReviewCommentRequestSubjectType? Type6116 { get; set; } + /// + /// + /// + public global::GitHub.PullsCreateReplyForReviewCommentRequest? Type6117 { get; set; } + /// + /// + /// + public global::GitHub.PullsMergeRequest? Type6118 { get; set; } + /// + /// + /// + public global::GitHub.PullsMergeRequestMergeMethod? Type6119 { get; set; } + /// + /// + /// + public global::GitHub.PullsRequestReviewersRequest? Type6120 { get; set; } + /// + /// + /// + public global::GitHub.PullsRequestReviewersRequestVariant1? Type6121 { get; set; } + /// + /// + /// + public global::GitHub.PullsRequestReviewersRequestVariant2? Type6122 { get; set; } + /// + /// + /// + public global::GitHub.PullsRemoveRequestedReviewersRequest? Type6123 { get; set; } + /// + /// + /// + public global::GitHub.PullsCreateReviewRequest? Type6124 { get; set; } + /// + /// + /// + public global::GitHub.PullsCreateReviewRequestEvent? Type6125 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6126 { get; set; } + /// + /// + /// + public global::GitHub.PullsCreateReviewRequestComment? Type6127 { get; set; } + /// + /// + /// + public global::GitHub.PullsUpdateReviewRequest? Type6128 { get; set; } + /// + /// + /// + public global::GitHub.PullsDismissReviewRequest? Type6129 { get; set; } + /// + /// + /// + public global::GitHub.PullsDismissReviewRequestEvent? Type6130 { get; set; } + /// + /// + /// + public global::GitHub.PullsSubmitReviewRequest? Type6131 { get; set; } + /// + /// + /// + public global::GitHub.PullsSubmitReviewRequestEvent? Type6132 { get; set; } + /// + /// + /// + public global::GitHub.PullsUpdateBranchRequest? Type6133 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateReleaseRequest? Type6134 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateReleaseRequestMakeLatest? Type6135 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateReleaseAssetRequest? Type6136 { get; set; } + /// + /// + /// + public global::GitHub.ReposGenerateReleaseNotesRequest? Type6137 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateReleaseRequest? Type6138 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateReleaseRequestMakeLatest? Type6139 { get; set; } + /// + /// + /// + public byte[]? Type6140 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForReleaseRequest? Type6141 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForReleaseRequestContent? Type6142 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateRepoRulesetRequest? Type6143 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateRepoRulesetRequestTarget? Type6144 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateRepoRulesetRequest? Type6145 { get; set; } + /// + /// + /// + public global::GitHub.ReposUpdateRepoRulesetRequestTarget? Type6146 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningUpdateAlertRequest? Type6147 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateCommitStatusRequest? Type6148 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateCommitStatusRequestState? Type6149 { get; set; } + /// + /// + /// + public global::GitHub.ActivitySetRepoSubscriptionRequest? Type6150 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateTagProtectionRequest? Type6151 { get; set; } + /// + /// + /// + public global::GitHub.ReposReplaceAllTopicsRequest? Type6152 { get; set; } + /// + /// + /// + public global::GitHub.ReposTransferRequest? Type6153 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateUsingTemplateRequest? Type6154 { get; set; } + /// + /// + /// + public global::GitHub.TeamsUpdateLegacyRequest? Type6155 { get; set; } + /// + /// + /// + public global::GitHub.TeamsUpdateLegacyRequestPrivacy? Type6156 { get; set; } + /// + /// + /// + public global::GitHub.TeamsUpdateLegacyRequestNotificationSetting? Type6157 { get; set; } + /// + /// + /// + public global::GitHub.TeamsUpdateLegacyRequestPermission? Type6158 { get; set; } + /// + /// + /// + public global::GitHub.TeamsCreateDiscussionLegacyRequest? Type6159 { get; set; } + /// + /// + /// + public global::GitHub.TeamsUpdateDiscussionLegacyRequest? Type6160 { get; set; } + /// + /// + /// + public global::GitHub.TeamsCreateDiscussionCommentLegacyRequest? Type6161 { get; set; } + /// + /// + /// + public global::GitHub.TeamsUpdateDiscussionCommentLegacyRequest? Type6162 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForTeamDiscussionCommentLegacyRequest? Type6163 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForTeamDiscussionCommentLegacyRequestContent? Type6164 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForTeamDiscussionLegacyRequest? Type6165 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsCreateForTeamDiscussionLegacyRequestContent? Type6166 { get; set; } + /// + /// + /// + public global::GitHub.TeamsAddOrUpdateMembershipForUserLegacyRequest? Type6167 { get; set; } + /// + /// + /// + public global::GitHub.TeamsAddOrUpdateMembershipForUserLegacyRequestRole? Type6168 { get; set; } + /// + /// + /// + public global::GitHub.TeamsAddOrUpdateProjectPermissionsLegacyRequest? Type6169 { get; set; } + /// + /// + /// + public global::GitHub.TeamsAddOrUpdateProjectPermissionsLegacyRequestPermission? Type6170 { get; set; } + /// + /// + /// + public global::GitHub.TeamsAddOrUpdateRepoPermissionsLegacyRequest? Type6171 { get; set; } + /// + /// + /// + public global::GitHub.TeamsAddOrUpdateRepoPermissionsLegacyRequestPermission? Type6172 { get; set; } + /// + /// + /// + public global::GitHub.UsersUpdateAuthenticatedRequest? Type6173 { get; set; } + /// + /// + /// + public global::System.OneOf? Type6174 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateForAuthenticatedUserRequestVariant1? Type6175 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateForAuthenticatedUserRequestVariant1Geo? Type6176 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateForAuthenticatedUserRequestVariant2? Type6177 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateForAuthenticatedUserRequestVariant2PullRequest? Type6178 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateForAuthenticatedUserRequestVariant2Geo? Type6179 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateOrUpdateSecretForAuthenticatedUserRequest? Type6180 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList>? Type6181 { get; set; } + /// + /// + /// + public global::System.AnyOf? Type6182 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesSetRepositoriesForSecretForAuthenticatedUserRequest? Type6183 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesUpdateForAuthenticatedUserRequest? Type6184 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesPublishForAuthenticatedUserRequest? Type6185 { get; set; } + /// + /// + /// + public global::GitHub.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequest? Type6186 { get; set; } + /// + /// + /// + public global::GitHub.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequestVisibility? Type6187 { get; set; } + /// + /// + /// + public global::System.OneOf?, string?>? Type6188 { get; set; } + /// + /// + /// + public global::GitHub.UsersAddEmailForAuthenticatedUserRequest2? Type6189 { get; set; } + /// + /// + /// + public global::System.OneOf?, string?>? Type6190 { get; set; } + /// + /// + /// + public global::GitHub.UsersDeleteEmailForAuthenticatedUserRequest2? Type6191 { get; set; } + /// + /// + /// + public global::GitHub.UsersCreateGpgKeyForAuthenticatedUserRequest? Type6192 { get; set; } + /// + /// + /// + public global::GitHub.UsersCreatePublicSshKeyForAuthenticatedUserRequest? Type6193 { get; set; } + /// + /// + /// + public global::GitHub.OrgsUpdateMembershipForAuthenticatedUserRequest? Type6194 { get; set; } + /// + /// + /// + public global::GitHub.OrgsUpdateMembershipForAuthenticatedUserRequestState? Type6195 { get; set; } + /// + /// + /// + public global::GitHub.MigrationsStartForAuthenticatedUserRequest? Type6196 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6197 { get; set; } + /// + /// + /// + public global::GitHub.MigrationsStartForAuthenticatedUserRequestExcludeItem? Type6198 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsCreateForAuthenticatedUserRequest? Type6199 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateForAuthenticatedUserRequest? Type6200 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitle? Type6201 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateForAuthenticatedUserRequestSquashMergeCommitMessage? Type6202 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateForAuthenticatedUserRequestMergeCommitTitle? Type6203 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateForAuthenticatedUserRequestMergeCommitMessage? Type6204 { get; set; } + /// + /// + /// + public global::GitHub.UsersAddSocialAccountForAuthenticatedUserRequest? Type6205 { get; set; } + /// + /// + /// + public global::GitHub.UsersDeleteSocialAccountForAuthenticatedUserRequest? Type6206 { get; set; } + /// + /// + /// + public global::GitHub.UsersCreateSshSigningKeyForAuthenticatedUserRequest? Type6207 { get; set; } + /// + /// + /// + public global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesType? Type6208 { get; set; } + /// + /// + /// + public global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSeverity? Type6209 { get; set; } + /// + /// + /// + public global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesDirection? Type6210 { get; set; } + /// + /// + /// + public global::GitHub.SecurityAdvisoriesListGlobalAdvisoriesSort? Type6211 { get; set; } + /// + /// + /// + public global::GitHub.DependabotListAlertsForEnterpriseScope? Type6212 { get; set; } + /// + /// + /// + public global::GitHub.DependabotListAlertsForEnterpriseSort? Type6213 { get; set; } + /// + /// + /// + public global::GitHub.DependabotListAlertsForEnterpriseDirection? Type6214 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningListAlertsForEnterpriseState? Type6215 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningListAlertsForEnterpriseSort? Type6216 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningListAlertsForEnterpriseDirection? Type6217 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListFilter? Type6218 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListState? Type6219 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListSort? Type6220 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListDirection? Type6221 { get; set; } + /// + /// + /// + public global::GitHub.AppsListAccountsForPlanSort? Type6222 { get; set; } + /// + /// + /// + public global::GitHub.AppsListAccountsForPlanDirection? Type6223 { get; set; } + /// + /// + /// + public global::GitHub.AppsListAccountsForPlanStubbedSort? Type6224 { get; set; } + /// + /// + /// + public global::GitHub.AppsListAccountsForPlanStubbedDirection? Type6225 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningListAlertsForOrgDirection? Type6226 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningListAlertsForOrgSort? Type6227 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityGetConfigurationsForOrgTargetType? Type6228 { get; set; } + /// + /// + /// + public global::GitHub.DependabotListAlertsForOrgScope? Type6229 { get; set; } + /// + /// + /// + public global::GitHub.DependabotListAlertsForOrgSort? Type6230 { get; set; } + /// + /// + /// + public global::GitHub.DependabotListAlertsForOrgDirection? Type6231 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListPendingInvitationsRole? Type6232 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListPendingInvitationsInvitationSource? Type6233 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListForOrgFilter? Type6234 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListForOrgState? Type6235 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListForOrgSort? Type6236 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListForOrgDirection? Type6237 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListMembersFilter? Type6238 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListMembersRole? Type6239 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6240 { get; set; } + /// + /// + /// + public global::GitHub.MigrationsListForOrgExcludeItem? Type6241 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6242 { get; set; } + /// + /// + /// + public global::GitHub.MigrationsGetStatusForOrgExcludeItem? Type6243 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListOutsideCollaboratorsFilter? Type6244 { get; set; } + /// + /// + /// + public global::GitHub.PackagesListPackagesForOrganizationPackageType? Type6245 { get; set; } + /// + /// + /// + public global::GitHub.PackagesListPackagesForOrganizationVisibility? Type6246 { get; set; } + /// + /// + /// + public global::GitHub.PackagesGetPackageForOrganizationPackageType? Type6247 { get; set; } + /// + /// + /// + public global::GitHub.PackagesDeletePackageForOrgPackageType? Type6248 { get; set; } + /// + /// + /// + public global::GitHub.PackagesRestorePackageForOrgPackageType? Type6249 { get; set; } + /// + /// + /// + public global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByOrgPackageType? Type6250 { get; set; } + /// + /// + /// + public global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByOrgState? Type6251 { get; set; } + /// + /// + /// + public global::GitHub.PackagesGetPackageVersionForOrganizationPackageType? Type6252 { get; set; } + /// + /// + /// + public global::GitHub.PackagesDeletePackageVersionForOrgPackageType? Type6253 { get; set; } + /// + /// + /// + public global::GitHub.PackagesRestorePackageVersionForOrgPackageType? Type6254 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListPatGrantRequestsSort? Type6255 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListPatGrantRequestsDirection? Type6256 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListPatGrantsSort? Type6257 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListPatGrantsDirection? Type6258 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsListForOrgState? Type6259 { get; set; } + /// + /// + /// + public global::GitHub.ReposListForOrgType? Type6260 { get; set; } + /// + /// + /// + public global::GitHub.ReposListForOrgSort? Type6261 { get; set; } + /// + /// + /// + public global::GitHub.ReposListForOrgDirection? Type6262 { get; set; } + /// + /// + /// + public global::GitHub.ReposGetOrgRuleSuitesTimePeriod? Type6263 { get; set; } + /// + /// + /// + public global::GitHub.ReposGetOrgRuleSuitesRuleSuiteResult? Type6264 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningListAlertsForOrgState? Type6265 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningListAlertsForOrgSort? Type6266 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningListAlertsForOrgDirection? Type6267 { get; set; } + /// + /// + /// + public global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesDirection? Type6268 { get; set; } + /// + /// + /// + public global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesSort? Type6269 { get; set; } + /// + /// + /// + public global::GitHub.SecurityAdvisoriesListOrgRepositoryAdvisoriesState? Type6270 { get; set; } + /// + /// + /// + public global::GitHub.TeamsListDiscussionsInOrgDirection? Type6271 { get; set; } + /// + /// + /// + public global::GitHub.TeamsListDiscussionCommentsInOrgDirection? Type6272 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsListForTeamDiscussionCommentInOrgContent? Type6273 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsListForTeamDiscussionInOrgContent? Type6274 { get; set; } + /// + /// + /// + public global::GitHub.TeamsListMembersInOrgRole? Type6275 { get; set; } + /// + /// + /// + public global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct? Type6276 { get; set; } + /// + /// + /// + public global::GitHub.OrgsEnableOrDisableSecurityProductOnAllOrgReposEnablement? Type6277 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsListCardsArchivedState? Type6278 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsListCollaboratorsAffiliation? Type6279 { get; set; } + /// + /// + /// + public global::GitHub.ActionsGetActionsCacheListSort? Type6280 { get; set; } + /// + /// + /// + public global::GitHub.ActionsGetActionsCacheListDirection? Type6281 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListWorkflowRunsForRepoStatus? Type6282 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListJobsForWorkflowRunFilter? Type6283 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListWorkflowRunsStatus? Type6284 { get; set; } + /// + /// + /// + public global::GitHub.ReposListActivitiesDirection? Type6285 { get; set; } + /// + /// + /// + public global::GitHub.ReposListActivitiesTimePeriod? Type6286 { get; set; } + /// + /// + /// + public global::GitHub.ReposListActivitiesActivityType? Type6287 { get; set; } + /// + /// + /// + public global::GitHub.ChecksListForSuiteStatus? Type6288 { get; set; } + /// + /// + /// + public global::GitHub.ChecksListForSuiteFilter? Type6289 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningListAlertsForRepoDirection? Type6290 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningListAlertsForRepoSort? Type6291 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningListRecentAnalysesDirection? Type6292 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningListRecentAnalysesSort? Type6293 { get; set; } + /// + /// + /// + public global::GitHub.ReposListCollaboratorsAffiliation? Type6294 { get; set; } + /// + /// + /// + public global::GitHub.ReposListCollaboratorsPermission? Type6295 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsListForCommitCommentContent? Type6296 { get; set; } + /// + /// + /// + public global::GitHub.ChecksListForRefStatus? Type6297 { get; set; } + /// + /// + /// + public global::GitHub.ChecksListForRefFilter? Type6298 { get; set; } + /// + /// + /// + public global::GitHub.DependabotListAlertsForRepoScope? Type6299 { get; set; } + /// + /// + /// + public global::GitHub.DependabotListAlertsForRepoSort? Type6300 { get; set; } + /// + /// + /// + public global::GitHub.DependabotListAlertsForRepoDirection? Type6301 { get; set; } + /// + /// + /// + public global::GitHub.ReposListForksSort? Type6302 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListForRepoState? Type6303 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListForRepoSort? Type6304 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListForRepoDirection? Type6305 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListCommentsForRepoSort? Type6306 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListCommentsForRepoDirection? Type6307 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsListForIssueCommentContent? Type6308 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsListForIssueContent? Type6309 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListMilestonesState? Type6310 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListMilestonesSort? Type6311 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListMilestonesDirection? Type6312 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsListForRepoState? Type6313 { get; set; } + /// + /// + /// + public global::GitHub.PullsListState? Type6314 { get; set; } + /// + /// + /// + public global::GitHub.PullsListSort? Type6315 { get; set; } + /// + /// + /// + public global::GitHub.PullsListDirection? Type6316 { get; set; } + /// + /// + /// + public global::GitHub.PullsListReviewCommentsForRepoSort? Type6317 { get; set; } + /// + /// + /// + public global::GitHub.PullsListReviewCommentsForRepoDirection? Type6318 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsListForPullRequestReviewCommentContent? Type6319 { get; set; } + /// + /// + /// + public global::GitHub.PullsListReviewCommentsSort? Type6320 { get; set; } + /// + /// + /// + public global::GitHub.PullsListReviewCommentsDirection? Type6321 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsListForReleaseContent? Type6322 { get; set; } + /// + /// + /// + public global::GitHub.ReposGetRepoRuleSuitesTimePeriod? Type6323 { get; set; } + /// + /// + /// + public global::GitHub.ReposGetRepoRuleSuitesRuleSuiteResult? Type6324 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningListAlertsForRepoState? Type6325 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningListAlertsForRepoSort? Type6326 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningListAlertsForRepoDirection? Type6327 { get; set; } + /// + /// + /// + public global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesDirection? Type6328 { get; set; } + /// + /// + /// + public global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesSort? Type6329 { get; set; } + /// + /// + /// + public global::GitHub.SecurityAdvisoriesListRepositoryAdvisoriesState? Type6330 { get; set; } + /// + /// + /// + public global::GitHub.ReposGetClonesPer? Type6331 { get; set; } + /// + /// + /// + public global::GitHub.ReposGetViewsPer? Type6332 { get; set; } + /// + /// + /// + public global::GitHub.SearchCodeSort? Type6333 { get; set; } + /// + /// + /// + public global::GitHub.SearchCodeOrder? Type6334 { get; set; } + /// + /// + /// + public global::GitHub.SearchCommitsSort? Type6335 { get; set; } + /// + /// + /// + public global::GitHub.SearchCommitsOrder? Type6336 { get; set; } + /// + /// + /// + public global::GitHub.SearchIssuesAndPullRequestsSort? Type6337 { get; set; } + /// + /// + /// + public global::GitHub.SearchIssuesAndPullRequestsOrder? Type6338 { get; set; } + /// + /// + /// + public global::GitHub.SearchLabelsSort? Type6339 { get; set; } + /// + /// + /// + public global::GitHub.SearchLabelsOrder? Type6340 { get; set; } + /// + /// + /// + public global::GitHub.SearchReposSort? Type6341 { get; set; } + /// + /// + /// + public global::GitHub.SearchReposOrder? Type6342 { get; set; } + /// + /// + /// + public global::GitHub.SearchUsersSort? Type6343 { get; set; } + /// + /// + /// + public global::GitHub.SearchUsersOrder? Type6344 { get; set; } + /// + /// + /// + public global::GitHub.TeamsListDiscussionsLegacyDirection? Type6345 { get; set; } + /// + /// + /// + public global::GitHub.TeamsListDiscussionCommentsLegacyDirection? Type6346 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsListForTeamDiscussionCommentLegacyContent? Type6347 { get; set; } + /// + /// + /// + public global::GitHub.ReactionsListForTeamDiscussionLegacyContent? Type6348 { get; set; } + /// + /// + /// + public global::GitHub.TeamsListMembersLegacyRole? Type6349 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListForAuthenticatedUserFilter? Type6350 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListForAuthenticatedUserState? Type6351 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListForAuthenticatedUserSort? Type6352 { get; set; } + /// + /// + /// + public global::GitHub.IssuesListForAuthenticatedUserDirection? Type6353 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListMembershipsForAuthenticatedUserState? Type6354 { get; set; } + /// + /// + /// + public global::GitHub.PackagesListPackagesForAuthenticatedUserPackageType? Type6355 { get; set; } + /// + /// + /// + public global::GitHub.PackagesListPackagesForAuthenticatedUserVisibility? Type6356 { get; set; } + /// + /// + /// + public global::GitHub.PackagesGetPackageForAuthenticatedUserPackageType? Type6357 { get; set; } + /// + /// + /// + public global::GitHub.PackagesDeletePackageForAuthenticatedUserPackageType? Type6358 { get; set; } + /// + /// + /// + public global::GitHub.PackagesRestorePackageForAuthenticatedUserPackageType? Type6359 { get; set; } + /// + /// + /// + public global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserPackageType? Type6360 { get; set; } + /// + /// + /// + public global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState? Type6361 { get; set; } + /// + /// + /// + public global::GitHub.PackagesGetPackageVersionForAuthenticatedUserPackageType? Type6362 { get; set; } + /// + /// + /// + public global::GitHub.PackagesDeletePackageVersionForAuthenticatedUserPackageType? Type6363 { get; set; } + /// + /// + /// + public global::GitHub.PackagesRestorePackageVersionForAuthenticatedUserPackageType? Type6364 { get; set; } + /// + /// + /// + public global::GitHub.ReposListForAuthenticatedUserVisibility? Type6365 { get; set; } + /// + /// + /// + public global::GitHub.ReposListForAuthenticatedUserType? Type6366 { get; set; } + /// + /// + /// + public global::GitHub.ReposListForAuthenticatedUserSort? Type6367 { get; set; } + /// + /// + /// + public global::GitHub.ReposListForAuthenticatedUserDirection? Type6368 { get; set; } + /// + /// + /// + public global::GitHub.ActivityListReposStarredByAuthenticatedUserSort? Type6369 { get; set; } + /// + /// + /// + public global::GitHub.ActivityListReposStarredByAuthenticatedUserDirection? Type6370 { get; set; } + /// + /// + /// + public global::GitHub.UsersGetContextForUserSubjectType? Type6371 { get; set; } + /// + /// + /// + public global::GitHub.PackagesListPackagesForUserPackageType? Type6372 { get; set; } + /// + /// + /// + public global::GitHub.PackagesListPackagesForUserVisibility? Type6373 { get; set; } + /// + /// + /// + public global::GitHub.PackagesGetPackageForUserPackageType? Type6374 { get; set; } + /// + /// + /// + public global::GitHub.PackagesDeletePackageForUserPackageType? Type6375 { get; set; } + /// + /// + /// + public global::GitHub.PackagesRestorePackageForUserPackageType? Type6376 { get; set; } + /// + /// + /// + public global::GitHub.PackagesGetAllPackageVersionsForPackageOwnedByUserPackageType? Type6377 { get; set; } + /// + /// + /// + public global::GitHub.PackagesGetPackageVersionForUserPackageType? Type6378 { get; set; } + /// + /// + /// + public global::GitHub.PackagesDeletePackageVersionForUserPackageType? Type6379 { get; set; } + /// + /// + /// + public global::GitHub.PackagesRestorePackageVersionForUserPackageType? Type6380 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsListForUserState? Type6381 { get; set; } + /// + /// + /// + public global::GitHub.ReposListForUserType? Type6382 { get; set; } + /// + /// + /// + public global::GitHub.ReposListForUserSort? Type6383 { get; set; } + /// + /// + /// + public global::GitHub.ReposListForUserDirection? Type6384 { get; set; } + /// + /// + /// + public global::GitHub.ActivityListReposStarredByUserSort? Type6385 { get; set; } + /// + /// + /// + public global::GitHub.ActivityListReposStarredByUserDirection? Type6386 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6387 { get; set; } + /// + /// + /// + public global::System.AllOf? Type6388 { get; set; } + /// + /// + /// + public global::GitHub.AppsCreateFromManifestResponse2? Type6389 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6390 { get; set; } + /// + /// + /// + public global::GitHub.AppsRedeliverWebhookDeliveryResponse? Type6391 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6392 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6393 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6394 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6395 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6396 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6397 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6398 { get; set; } + /// + /// + /// + public global::GitHub.EmojisGetResponse? Type6399 { get; set; } + /// + /// + /// + public global::GitHub.CopilotListCopilotSeatsForEnterpriseResponse? Type6400 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6401 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6402 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6403 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6404 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningListAlertsForEnterpriseResponse? Type6405 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6406 { get; set; } + /// + /// + /// + public global::GitHub.ActivityListPublicEventsResponse? Type6407 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6408 { get; set; } + /// + /// + /// + public global::GitHub.GistsGetResponse? Type6409 { get; set; } + /// + /// + /// + public global::GitHub.GistsGetResponseBlock? Type6410 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6411 { get; set; } + /// + /// + /// + public global::GitHub.GistsGetCommentResponse? Type6412 { get; set; } + /// + /// + /// + public global::GitHub.GistsGetCommentResponseBlock? Type6413 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6414 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6415 { get; set; } + /// + /// + /// + public global::GitHub.GistsCheckIsStarredResponse? Type6416 { get; set; } + /// + /// + /// + public global::GitHub.AppsListReposAccessibleToInstallationResponse? Type6417 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6418 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6419 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6420 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6421 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6422 { get; set; } + /// + /// + /// + public global::GitHub.ActivityMarkNotificationsAsReadResponse? Type6423 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6424 { get; set; } + /// + /// + /// + public global::System.OneOf? Type6425 { get; set; } + /// + /// + /// + public global::GitHub.OrgsDeleteResponse? Type6426 { get; set; } + /// + /// + /// + public global::GitHub.ActionsGetActionsCacheUsageByRepoForOrgResponse? Type6427 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6428 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationResponse? Type6429 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListSelfHostedRunnersForOrgResponse? Type6430 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6431 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6432 { get; set; } + /// + /// + /// + public global::GitHub.ActionsGenerateRunnerJitconfigForOrgResponse? Type6433 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListLabelsForSelfHostedRunnerForOrgResponse? Type6434 { get; set; } + /// + /// + /// + public global::GitHub.ActionsAddCustomLabelsToSelfHostedRunnerForOrgResponse? Type6435 { get; set; } + /// + /// + /// + public global::GitHub.ActionsSetCustomLabelsForSelfHostedRunnerForOrgResponse? Type6436 { get; set; } + /// + /// + /// + public global::GitHub.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrgResponse? Type6437 { get; set; } + /// + /// + /// + public global::GitHub.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrgResponse? Type6438 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListOrgSecretsResponse? Type6439 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6440 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListSelectedReposForOrgSecretResponse? Type6441 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6442 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListOrgVariablesResponse? Type6443 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6444 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListSelectedReposForOrgVariableResponse? Type6445 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListAttestationsResponse? Type6446 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6447 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListAttestationsResponseAttestation? Type6448 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListAttestationsResponseAttestationBundle? Type6449 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListAttestationsResponseAttestationBundleVerificationMaterial? Type6450 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListAttestationsResponseAttestationBundleDsseEnvelope? Type6451 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6452 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningListAlertsForOrgResponse? Type6453 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6454 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecurityAttachConfigurationResponse? Type6455 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecuritySetConfigurationAsDefaultResponse? Type6456 { get; set; } + /// + /// + /// + public global::GitHub.CodeSecuritySetConfigurationAsDefaultResponseDefaultForNewRepos? Type6457 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6458 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesListInOrganizationResponse? Type6459 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6460 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesListOrgSecretsResponse? Type6461 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6462 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesListSelectedReposForOrgSecretResponse? Type6463 { get; set; } + /// + /// + /// + public global::GitHub.CopilotListCopilotSeatsResponse? Type6464 { get; set; } + /// + /// + /// + public global::GitHub.CopilotAddCopilotSeatsForTeamsResponse? Type6465 { get; set; } + /// + /// + /// + public global::GitHub.CopilotCancelCopilotSeatAssignmentForTeamsResponse? Type6466 { get; set; } + /// + /// + /// + public global::GitHub.CopilotAddCopilotSeatsForUsersResponse? Type6467 { get; set; } + /// + /// + /// + public global::GitHub.CopilotCancelCopilotSeatAssignmentForUsersResponse? Type6468 { get; set; } + /// + /// + /// + public global::GitHub.DependabotListOrgSecretsResponse? Type6469 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6470 { get; set; } + /// + /// + /// + public global::GitHub.DependabotListSelectedReposForOrgSecretResponse? Type6471 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6472 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6473 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6474 { get; set; } + /// + /// + /// + public global::GitHub.OrgsRedeliverWebhookDeliveryResponse? Type6475 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListAppInstallationsResponse? Type6476 { get; set; } + /// + /// + /// + public global::System.AnyOf? Type6477 { get; set; } + /// + /// + /// + public global::GitHub.InteractionsGetRestrictionsForOrgResponse2? Type6478 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesGetCodespacesForUserInOrgResponse? Type6479 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesDeleteFromOrganizationResponse? Type6480 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6481 { get; set; } + /// + /// + /// + public global::GitHub.OrgsListOrgRolesResponse? Type6482 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6483 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6484 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6485 { get; set; } + /// + /// + /// + public global::GitHub.OrgsConvertMemberToOutsideCollaboratorResponse? Type6486 { get; set; } + /// + /// + /// + public global::GitHub.OrgsRemoveOutsideCollaboratorResponse? Type6487 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6488 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6489 { get; set; } + /// + /// + /// + public global::GitHub.OrgsReviewPatGrantRequestsInBulkResponse? Type6490 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6491 { get; set; } + /// + /// + /// + public global::GitHub.OrgsUpdatePatAccessesResponse? Type6492 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6493 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6494 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6495 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningListAlertsForOrgResponse? Type6496 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6497 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6498 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6499 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6500 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6501 { get; set; } + /// + /// + /// + public global::GitHub.TeamsAddOrUpdateProjectPermissionsInOrgResponse? Type6502 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsDeleteCardResponse? Type6503 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsMoveCardResponse? Type6504 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsMoveCardResponse2? Type6505 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6506 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsMoveCardResponseError? Type6507 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsMoveCardResponse3? Type6508 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6509 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsMoveCardResponseError2? Type6510 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6511 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsCreateCardResponse2? Type6512 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6513 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsCreateCardResponseError? Type6514 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsMoveColumnResponse? Type6515 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsUpdateResponse? Type6516 { get; set; } + /// + /// + /// + public global::GitHub.ProjectsDeleteResponse? Type6517 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6518 { get; set; } + /// + /// + /// + public global::GitHub.ReposDeleteResponse? Type6519 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListArtifactsForRepoResponse? Type6520 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6521 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListRepoOrganizationSecretsResponse? Type6522 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6523 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListRepoOrganizationVariablesResponse? Type6524 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6525 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListSelfHostedRunnersForRepoResponse? Type6526 { get; set; } + /// + /// + /// + public global::GitHub.ActionsGenerateRunnerJitconfigForRepoResponse? Type6527 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListLabelsForSelfHostedRunnerForRepoResponse? Type6528 { get; set; } + /// + /// + /// + public global::GitHub.ActionsAddCustomLabelsToSelfHostedRunnerForRepoResponse? Type6529 { get; set; } + /// + /// + /// + public global::GitHub.ActionsSetCustomLabelsForSelfHostedRunnerForRepoResponse? Type6530 { get; set; } + /// + /// + /// + public global::GitHub.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepoResponse? Type6531 { get; set; } + /// + /// + /// + public global::GitHub.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepoResponse? Type6532 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListWorkflowRunsForRepoResponse? Type6533 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6534 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6535 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListWorkflowRunArtifactsResponse? Type6536 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListJobsForWorkflowRunAttemptResponse? Type6537 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6538 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListJobsForWorkflowRunResponse? Type6539 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6540 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6541 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListRepoSecretsResponse? Type6542 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListRepoVariablesResponse? Type6543 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListRepoWorkflowsResponse? Type6544 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6545 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListWorkflowRunsResponse? Type6546 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6547 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateAttestationResponse? Type6548 { get; set; } + /// + /// + /// + public global::GitHub.ReposListAttestationsResponse? Type6549 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6550 { get; set; } + /// + /// + /// + public global::GitHub.ReposListAttestationsResponseAttestation? Type6551 { get; set; } + /// + /// + /// + public global::GitHub.ReposListAttestationsResponseAttestationBundle? Type6552 { get; set; } + /// + /// + /// + public global::GitHub.ReposListAttestationsResponseAttestationBundleVerificationMaterial? Type6553 { get; set; } + /// + /// + /// + public global::GitHub.ReposListAttestationsResponseAttestationBundleDsseEnvelope? Type6554 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6555 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6556 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6557 { get; set; } + /// + /// + /// + public global::GitHub.ChecksListForSuiteResponse? Type6558 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6559 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6560 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningListAlertsForRepoResponse? Type6561 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningGetAlertResponse? Type6562 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningUpdateAlertResponse? Type6563 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6564 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningListAlertInstancesResponse? Type6565 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6566 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningListRecentAnalysesResponse? Type6567 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningGetAnalysisResponse? Type6568 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningGetAnalysisResponse2? Type6569 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningDeleteAnalysisResponse? Type6570 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6571 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningListCodeqlDatabasesResponse? Type6572 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningGetCodeqlDatabaseResponse? Type6573 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningCreateVariantAnalysisResponse? Type6574 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningGetVariantAnalysisResponse? Type6575 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningGetVariantAnalysisRepoTaskResponse? Type6576 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningGetDefaultSetupResponse? Type6577 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningUpdateDefaultSetupResponse? Type6578 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningUploadSarifResponse? Type6579 { get; set; } + /// + /// + /// + public global::GitHub.CodeScanningGetSarifResponse? Type6580 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesListInRepositoryForAuthenticatedUserResponse? Type6581 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateWithRepoForAuthenticatedUserResponse? Type6582 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponse? Type6583 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6584 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesListDevcontainersInRepositoryForAuthenticatedUserResponseDevcontainer? Type6585 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesRepoMachinesForAuthenticatedUserResponse? Type6586 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6587 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesPreFlightWithRepoForAuthenticatedUserResponse? Type6588 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesPreFlightWithRepoForAuthenticatedUserResponseDefaults? Type6589 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCheckPermissionsForDevcontainerResponse? Type6590 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesListRepoSecretsResponse? Type6591 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6592 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6593 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6594 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6595 { get; set; } + /// + /// + /// + public global::GitHub.ReposGetCommitResponse? Type6596 { get; set; } + /// + /// + /// + public global::GitHub.ChecksListForRefResponse? Type6597 { get; set; } + /// + /// + /// + public global::GitHub.ChecksListSuitesForRefResponse? Type6598 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6599 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6600 { get; set; } + /// + /// + /// + public global::GitHub.ReposCompareCommitsResponse? Type6601 { get; set; } + /// + /// + /// + public global::System.OneOf?, global::GitHub.ContentFile?, global::GitHub.ContentSymlink?, global::GitHub.ContentSubmodule?>? Type6602 { get; set; } + /// + /// + /// + public global::GitHub.ReposDeleteFileResponse? Type6603 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6604 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6605 { get; set; } + /// + /// + /// + public global::GitHub.DependabotListRepoSecretsResponse? Type6606 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6607 { get; set; } + /// + /// + /// + public global::GitHub.DependencyGraphCreateRepositorySnapshotResponse? Type6608 { get; set; } + /// + /// + /// + public global::GitHub.ReposCreateDeploymentResponse? Type6609 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6610 { get; set; } + /// + /// + /// + public global::GitHub.ReposGetAllEnvironmentsResponse? Type6611 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6612 { get; set; } + /// + /// + /// + public global::GitHub.ReposListDeploymentBranchPoliciesResponse? Type6613 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6614 { get; set; } + /// + /// + /// + public global::GitHub.ReposGetAllDeploymentProtectionRulesResponse? Type6615 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6616 { get; set; } + /// + /// + /// + public global::GitHub.ReposListCustomDeploymentRuleIntegrationsResponse? Type6617 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6618 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListEnvironmentSecretsResponse? Type6619 { get; set; } + /// + /// + /// + public global::GitHub.ActionsListEnvironmentVariablesResponse? Type6620 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6621 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6622 { get; set; } + /// + /// + /// + public global::GitHub.ReposRedeliverWebhookDeliveryResponse? Type6623 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6624 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6625 { get; set; } + /// + /// + /// + public global::System.AnyOf? Type6626 { get; set; } + /// + /// + /// + public global::GitHub.InteractionsGetRestrictionsForRepoResponse2? Type6627 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6628 { get; set; } + /// + /// + /// + public global::GitHub.IssuesCreateResponse? Type6629 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6630 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6631 { get; set; } + /// + /// + /// + public global::GitHub.IssuesUpdateResponse? Type6632 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6633 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6634 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6635 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6636 { get; set; } + /// + /// + /// + public global::GitHub.ActivityMarkRepoNotificationsAsReadResponse? Type6637 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6638 { get; set; } + /// + /// + /// + public global::GitHub.ReposCheckPrivateVulnerabilityReportingResponse? Type6639 { get; set; } + /// + /// + /// + public global::GitHub.PullsGetResponse? Type6640 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateWithPrForAuthenticatedUserResponse? Type6641 { get; set; } + /// + /// + /// + public global::GitHub.PullsListFilesResponse? Type6642 { get; set; } + /// + /// + /// + public global::GitHub.PullsMergeResponse? Type6643 { get; set; } + /// + /// + /// + public global::GitHub.PullsMergeResponse2? Type6644 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6645 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6646 { get; set; } + /// + /// + /// + public global::GitHub.PullsUpdateBranchResponse? Type6647 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6648 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6649 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6650 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningListAlertsForRepoResponse? Type6651 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningGetAlertResponse? Type6652 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningUpdateAlertResponse? Type6653 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6654 { get; set; } + /// + /// + /// + public global::GitHub.SecretScanningListLocationsForAlertResponse? Type6655 { get; set; } + /// + /// + /// + public global::GitHub.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequestResponse? Type6656 { get; set; } + /// + /// + /// + public global::System.AnyOf?, global::System.Collections.Generic.IList?>? Type6657 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6658 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList>? Type6659 { get; set; } + /// + /// + /// + public global::GitHub.ReposGetCodeFrequencyStatsResponse? Type6660 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6661 { get; set; } + /// + /// + /// + public global::GitHub.ReposGetCommitActivityStatsResponse? Type6662 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6663 { get; set; } + /// + /// + /// + public global::GitHub.ReposGetContributorsStatsResponse? Type6664 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6665 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6666 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6667 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6668 { get; set; } + /// + /// + /// + public global::GitHub.SearchCodeResponse? Type6669 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6670 { get; set; } + /// + /// + /// + public global::GitHub.SearchCodeResponse2? Type6671 { get; set; } + /// + /// + /// + public global::GitHub.SearchCommitsResponse? Type6672 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6673 { get; set; } + /// + /// + /// + public global::GitHub.SearchIssuesAndPullRequestsResponse? Type6674 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6675 { get; set; } + /// + /// + /// + public global::GitHub.SearchIssuesAndPullRequestsResponse2? Type6676 { get; set; } + /// + /// + /// + public global::GitHub.SearchLabelsResponse? Type6677 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6678 { get; set; } + /// + /// + /// + public global::GitHub.SearchReposResponse? Type6679 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6680 { get; set; } + /// + /// + /// + public global::GitHub.SearchReposResponse2? Type6681 { get; set; } + /// + /// + /// + public global::GitHub.SearchTopicsResponse? Type6682 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6683 { get; set; } + /// + /// + /// + public global::GitHub.SearchUsersResponse? Type6684 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6685 { get; set; } + /// + /// + /// + public global::GitHub.SearchUsersResponse2? Type6686 { get; set; } + /// + /// + /// + public global::GitHub.TeamsAddOrUpdateProjectPermissionsLegacyResponse? Type6687 { get; set; } + /// + /// + /// + public global::System.OneOf? Type6688 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesListForAuthenticatedUserResponse? Type6689 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCreateForAuthenticatedUserResponse? Type6690 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesListSecretsForAuthenticatedUserResponse? Type6691 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6692 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesListRepositoriesForSecretForAuthenticatedUserResponse? Type6693 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesDeleteForAuthenticatedUserResponse? Type6694 { get; set; } + /// + /// + /// + public global::GitHub.CodespacesCodespaceMachinesForAuthenticatedUserResponse? Type6695 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6696 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6697 { get; set; } + /// + /// + /// + public global::GitHub.AppsListInstallationsForAuthenticatedUserResponse? Type6698 { get; set; } + /// + /// + /// + public global::GitHub.AppsListInstallationReposForAuthenticatedUserResponse? Type6699 { get; set; } + /// + /// + /// + public global::System.AnyOf? Type6700 { get; set; } + /// + /// + /// + public global::GitHub.InteractionsGetRestrictionsForAuthenticatedUserResponse2? Type6701 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6702 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6703 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6704 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6705 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6706 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6707 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6708 { get; set; } + /// + /// + /// + public global::GitHub.UsersListAttestationsResponse? Type6709 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6710 { get; set; } + /// + /// + /// + public global::GitHub.UsersListAttestationsResponseAttestation? Type6711 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6712 { get; set; } + /// + /// + /// + public global::System.AnyOf?, global::System.Collections.Generic.IList?>? Type6713 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type6714 { get; set; } } } \ No newline at end of file diff --git a/src/libs/GitHub/Generated/OneOf.21.g.cs b/src/libs/GitHub/Generated/OneOf.21.g.cs deleted file mode 100644 index b0def4a4..00000000 --- a/src/libs/GitHub/Generated/OneOf.21.g.cs +++ /dev/null @@ -1,944 +0,0 @@ -using System.Linq; - -#nullable enable - -namespace System -{ - /// - /// - /// - public readonly partial struct OneOf : global::System.IEquatable> - { - /// - /// - /// -#if NET6_0_OR_GREATER - public T1? Value1 { get; init; } -#else - public T1? Value1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] -#endif - public bool IsValue1 => Value1 != null; - - /// - /// - /// - public static implicit operator OneOf(T1 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T1?(OneOf @this) => @this.Value1; - - /// - /// - /// - public OneOf(T1? value) - { - Value1 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T2? Value2 { get; init; } -#else - public T2? Value2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] -#endif - public bool IsValue2 => Value2 != null; - - /// - /// - /// - public static implicit operator OneOf(T2 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T2?(OneOf @this) => @this.Value2; - - /// - /// - /// - public OneOf(T2? value) - { - Value2 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T3? Value3 { get; init; } -#else - public T3? Value3 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value3))] -#endif - public bool IsValue3 => Value3 != null; - - /// - /// - /// - public static implicit operator OneOf(T3 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T3?(OneOf @this) => @this.Value3; - - /// - /// - /// - public OneOf(T3? value) - { - Value3 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T4? Value4 { get; init; } -#else - public T4? Value4 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value4))] -#endif - public bool IsValue4 => Value4 != null; - - /// - /// - /// - public static implicit operator OneOf(T4 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T4?(OneOf @this) => @this.Value4; - - /// - /// - /// - public OneOf(T4? value) - { - Value4 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T5? Value5 { get; init; } -#else - public T5? Value5 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value5))] -#endif - public bool IsValue5 => Value5 != null; - - /// - /// - /// - public static implicit operator OneOf(T5 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T5?(OneOf @this) => @this.Value5; - - /// - /// - /// - public OneOf(T5? value) - { - Value5 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T6? Value6 { get; init; } -#else - public T6? Value6 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value6))] -#endif - public bool IsValue6 => Value6 != null; - - /// - /// - /// - public static implicit operator OneOf(T6 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T6?(OneOf @this) => @this.Value6; - - /// - /// - /// - public OneOf(T6? value) - { - Value6 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T7? Value7 { get; init; } -#else - public T7? Value7 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value7))] -#endif - public bool IsValue7 => Value7 != null; - - /// - /// - /// - public static implicit operator OneOf(T7 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T7?(OneOf @this) => @this.Value7; - - /// - /// - /// - public OneOf(T7? value) - { - Value7 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T8? Value8 { get; init; } -#else - public T8? Value8 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value8))] -#endif - public bool IsValue8 => Value8 != null; - - /// - /// - /// - public static implicit operator OneOf(T8 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T8?(OneOf @this) => @this.Value8; - - /// - /// - /// - public OneOf(T8? value) - { - Value8 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T9? Value9 { get; init; } -#else - public T9? Value9 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value9))] -#endif - public bool IsValue9 => Value9 != null; - - /// - /// - /// - public static implicit operator OneOf(T9 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T9?(OneOf @this) => @this.Value9; - - /// - /// - /// - public OneOf(T9? value) - { - Value9 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T10? Value10 { get; init; } -#else - public T10? Value10 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value10))] -#endif - public bool IsValue10 => Value10 != null; - - /// - /// - /// - public static implicit operator OneOf(T10 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T10?(OneOf @this) => @this.Value10; - - /// - /// - /// - public OneOf(T10? value) - { - Value10 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T11? Value11 { get; init; } -#else - public T11? Value11 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value11))] -#endif - public bool IsValue11 => Value11 != null; - - /// - /// - /// - public static implicit operator OneOf(T11 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T11?(OneOf @this) => @this.Value11; - - /// - /// - /// - public OneOf(T11? value) - { - Value11 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T12? Value12 { get; init; } -#else - public T12? Value12 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value12))] -#endif - public bool IsValue12 => Value12 != null; - - /// - /// - /// - public static implicit operator OneOf(T12 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T12?(OneOf @this) => @this.Value12; - - /// - /// - /// - public OneOf(T12? value) - { - Value12 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T13? Value13 { get; init; } -#else - public T13? Value13 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value13))] -#endif - public bool IsValue13 => Value13 != null; - - /// - /// - /// - public static implicit operator OneOf(T13 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T13?(OneOf @this) => @this.Value13; - - /// - /// - /// - public OneOf(T13? value) - { - Value13 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T14? Value14 { get; init; } -#else - public T14? Value14 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value14))] -#endif - public bool IsValue14 => Value14 != null; - - /// - /// - /// - public static implicit operator OneOf(T14 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T14?(OneOf @this) => @this.Value14; - - /// - /// - /// - public OneOf(T14? value) - { - Value14 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T15? Value15 { get; init; } -#else - public T15? Value15 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value15))] -#endif - public bool IsValue15 => Value15 != null; - - /// - /// - /// - public static implicit operator OneOf(T15 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T15?(OneOf @this) => @this.Value15; - - /// - /// - /// - public OneOf(T15? value) - { - Value15 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T16? Value16 { get; init; } -#else - public T16? Value16 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value16))] -#endif - public bool IsValue16 => Value16 != null; - - /// - /// - /// - public static implicit operator OneOf(T16 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T16?(OneOf @this) => @this.Value16; - - /// - /// - /// - public OneOf(T16? value) - { - Value16 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T17? Value17 { get; init; } -#else - public T17? Value17 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value17))] -#endif - public bool IsValue17 => Value17 != null; - - /// - /// - /// - public static implicit operator OneOf(T17 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T17?(OneOf @this) => @this.Value17; - - /// - /// - /// - public OneOf(T17? value) - { - Value17 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T18? Value18 { get; init; } -#else - public T18? Value18 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value18))] -#endif - public bool IsValue18 => Value18 != null; - - /// - /// - /// - public static implicit operator OneOf(T18 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T18?(OneOf @this) => @this.Value18; - - /// - /// - /// - public OneOf(T18? value) - { - Value18 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T19? Value19 { get; init; } -#else - public T19? Value19 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value19))] -#endif - public bool IsValue19 => Value19 != null; - - /// - /// - /// - public static implicit operator OneOf(T19 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T19?(OneOf @this) => @this.Value19; - - /// - /// - /// - public OneOf(T19? value) - { - Value19 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T20? Value20 { get; init; } -#else - public T20? Value20 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value20))] -#endif - public bool IsValue20 => Value20 != null; - - /// - /// - /// - public static implicit operator OneOf(T20 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T20?(OneOf @this) => @this.Value20; - - /// - /// - /// - public OneOf(T20? value) - { - Value20 = value; - } - - /// - /// - /// -#if NET6_0_OR_GREATER - public T21? Value21 { get; init; } -#else - public T21? Value21 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value21))] -#endif - public bool IsValue21 => Value21 != null; - - /// - /// - /// - public static implicit operator OneOf(T21 value) => new OneOf(value); - - /// - /// - /// - public static implicit operator T21?(OneOf @this) => @this.Value21; - - /// - /// - /// - public OneOf(T21? value) - { - Value21 = value; - } - - /// - /// - /// - public OneOf( - T1? value1, - T2? value2, - T3? value3, - T4? value4, - T5? value5, - T6? value6, - T7? value7, - T8? value8, - T9? value9, - T10? value10, - T11? value11, - T12? value12, - T13? value13, - T14? value14, - T15? value15, - T16? value16, - T17? value17, - T18? value18, - T19? value19, - T20? value20, - T21? value21 - ) - { - Value1 = value1; - Value2 = value2; - Value3 = value3; - Value4 = value4; - Value5 = value5; - Value6 = value6; - Value7 = value7; - Value8 = value8; - Value9 = value9; - Value10 = value10; - Value11 = value11; - Value12 = value12; - Value13 = value13; - Value14 = value14; - Value15 = value15; - Value16 = value16; - Value17 = value17; - Value18 = value18; - Value19 = value19; - Value20 = value20; - Value21 = value21; - } - - /// - /// - /// - public object? Object => - Value21 as object ?? - Value20 as object ?? - Value19 as object ?? - Value18 as object ?? - Value17 as object ?? - Value16 as object ?? - Value15 as object ?? - Value14 as object ?? - Value13 as object ?? - Value12 as object ?? - Value11 as object ?? - Value10 as object ?? - Value9 as object ?? - Value8 as object ?? - Value7 as object ?? - Value6 as object ?? - Value5 as object ?? - Value4 as object ?? - Value3 as object ?? - Value2 as object ?? - Value1 as object - ; - - /// - /// - /// - public bool Validate() - { - return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && IsValue18 && !IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && IsValue19 && !IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && IsValue20 && !IsValue21 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 && !IsValue6 && !IsValue7 && !IsValue8 && !IsValue9 && !IsValue10 && !IsValue11 && !IsValue12 && !IsValue13 && !IsValue14 && !IsValue15 && !IsValue16 && !IsValue17 && !IsValue18 && !IsValue19 && !IsValue20 && IsValue21; - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - Value1, - typeof(T1), - Value2, - typeof(T2), - Value3, - typeof(T3), - Value4, - typeof(T4), - Value5, - typeof(T5), - Value6, - typeof(T6), - Value7, - typeof(T7), - Value8, - typeof(T8), - Value9, - typeof(T9), - Value10, - typeof(T10), - Value11, - typeof(T11), - Value12, - typeof(T12), - Value13, - typeof(T13), - Value14, - typeof(T14), - Value15, - typeof(T15), - Value16, - typeof(T16), - Value17, - typeof(T17), - Value18, - typeof(T18), - Value19, - typeof(T19), - Value20, - typeof(T20), - Value21, - typeof(T21), - }; - const int offset = unchecked((int)2166136261); - const int prime = 16777619; - static int HashCodeAggregator(int hashCode, object? value) => value == null - ? (hashCode ^ 0) * prime - : (hashCode ^ value.GetHashCode()) * prime; - return fields.Aggregate(offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(OneOf other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value3, other.Value3) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value4, other.Value4) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value5, other.Value5) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value6, other.Value6) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value7, other.Value7) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value8, other.Value8) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value9, other.Value9) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value10, other.Value10) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value11, other.Value11) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value12, other.Value12) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value13, other.Value13) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value14, other.Value14) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value15, other.Value15) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value16, other.Value16) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value17, other.Value17) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value18, other.Value18) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value19, other.Value19) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value20, other.Value20) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value21, other.Value21) - ; - } - - /// - /// - /// - public static bool operator ==(OneOf obj1, OneOf obj2) - { - return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(OneOf obj1, OneOf obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is OneOf o && Equals(o); - } - } -} diff --git a/src/libs/GitHub/Generated/OneOf.5.g.cs b/src/libs/GitHub/Generated/OneOf.5.g.cs new file mode 100644 index 00000000..a3ff871a --- /dev/null +++ b/src/libs/GitHub/Generated/OneOf.5.g.cs @@ -0,0 +1,288 @@ +using System.Linq; + +#nullable enable + +namespace System +{ + /// + /// + /// + public readonly partial struct OneOf : global::System.IEquatable> + { + /// + /// + /// +#if NET6_0_OR_GREATER + public T1? Value1 { get; init; } +#else + public T1? Value1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] +#endif + public bool IsValue1 => Value1 != null; + + /// + /// + /// + public static implicit operator OneOf(T1 value) => new OneOf(value); + + /// + /// + /// + public static implicit operator T1?(OneOf @this) => @this.Value1; + + /// + /// + /// + public OneOf(T1? value) + { + Value1 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public T2? Value2 { get; init; } +#else + public T2? Value2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] +#endif + public bool IsValue2 => Value2 != null; + + /// + /// + /// + public static implicit operator OneOf(T2 value) => new OneOf(value); + + /// + /// + /// + public static implicit operator T2?(OneOf @this) => @this.Value2; + + /// + /// + /// + public OneOf(T2? value) + { + Value2 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public T3? Value3 { get; init; } +#else + public T3? Value3 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value3))] +#endif + public bool IsValue3 => Value3 != null; + + /// + /// + /// + public static implicit operator OneOf(T3 value) => new OneOf(value); + + /// + /// + /// + public static implicit operator T3?(OneOf @this) => @this.Value3; + + /// + /// + /// + public OneOf(T3? value) + { + Value3 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public T4? Value4 { get; init; } +#else + public T4? Value4 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value4))] +#endif + public bool IsValue4 => Value4 != null; + + /// + /// + /// + public static implicit operator OneOf(T4 value) => new OneOf(value); + + /// + /// + /// + public static implicit operator T4?(OneOf @this) => @this.Value4; + + /// + /// + /// + public OneOf(T4? value) + { + Value4 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public T5? Value5 { get; init; } +#else + public T5? Value5 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value5))] +#endif + public bool IsValue5 => Value5 != null; + + /// + /// + /// + public static implicit operator OneOf(T5 value) => new OneOf(value); + + /// + /// + /// + public static implicit operator T5?(OneOf @this) => @this.Value5; + + /// + /// + /// + public OneOf(T5? value) + { + Value5 = value; + } + + /// + /// + /// + public OneOf( + T1? value1, + T2? value2, + T3? value3, + T4? value4, + T5? value5 + ) + { + Value1 = value1; + Value2 = value2; + Value3 = value3; + Value4 = value4; + Value5 = value5; + } + + /// + /// + /// + public object? Object => + Value5 as object ?? + Value4 as object ?? + Value3 as object ?? + Value2 as object ?? + Value1 as object + ; + + /// + /// + /// + public bool Validate() + { + return IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 || !IsValue1 && IsValue2 && !IsValue3 && !IsValue4 && !IsValue5 || !IsValue1 && !IsValue2 && IsValue3 && !IsValue4 && !IsValue5 || !IsValue1 && !IsValue2 && !IsValue3 && IsValue4 && !IsValue5 || !IsValue1 && !IsValue2 && !IsValue3 && !IsValue4 && IsValue5; + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Value1, + typeof(T1), + Value2, + typeof(T2), + Value3, + typeof(T3), + Value4, + typeof(T4), + Value5, + typeof(T5), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + return fields.Aggregate(offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(OneOf other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value3, other.Value3) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value4, other.Value4) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Value5, other.Value5) + ; + } + + /// + /// + /// + public static bool operator ==(OneOf obj1, OneOf obj2) + { + return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(OneOf obj1, OneOf obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is OneOf o && Equals(o); + } + } +}